source: trunk/src/unit_tests/inconsistent_2_0.xtm

Last change on this file was 328, checked in by lgiessmann, 14 years ago

fixed ticket #75 --> changed license terms from LGPL to LLGPL in the trunk tree

File size: 10.0 KB
Line 
1<?xml version="1.0"?>
2<!-- ======================================================================= -->
3<!--  Isidorus                                                               -->
4<!--  (c) 2008-2010 Marc Kuester, Christoph Ludwig, Lukas Georgieff          -->
5<!--                                                                         -->
6<!--  Isidorus is freely distributable under the LLGPL license.              -->
7<!--  This ajax module uses the frameworks PrototypeJs and Scriptaculous,    -->
8<!--  both are distributed under the MIT license.                            -->
9<!--  You can find a detailed description in trunk/docs/LLGPL-LICENSE.txt,   -->
10<!--  trunk/docs/LGPL-LICENSE.txt and in                                     -->
11<!--  trunk/src/ajax/javascripts/external/MIT-LICENSE.txt.                   -->
12<!-- ======================================================================= -->
13
14<topicMap xmlns="http://www.topicmaps.org/xtm/" version="2.0">
15
16  <!-- === test object 1 =================================================== -->
17  <topic id="t1">
18    <subjectIdentifier href="http://www.networkedplanet.com/psi/npcl/meta-types/topic-type"/>
19    <name><value>Topic Type</value></name>
20  </topic>
21
22
23  <!-- === test object 2 =================================================== -->
24  <topic id="t8">
25    <subjectIdentifier href="http://www.networkedplanet.com/psi/npcl/meta-types/association-role-type"/>
26    <instanceOf><topicRef href="#t1"/></instanceOf>
27    <name><value>Association Role Type</value></name>
28  </topic>
29
30
31  <!-- === test object 3 =================================================== -->
32  <topic id="t56">
33    <subjectIdentifier href="http://psi.egovpt.org/types/topicIsAboutSubject"/>
34    <instanceOf>
35      <topicRef href="#t7"/>
36    </instanceOf>
37    <name>
38      <value>topic is about subject</value>
39    </name>
40  </topic>
41
42  <!-- instance/topicRef of "t56" -->
43  <topic id="t7">
44    <subjectIdentifier href="http://www.networkedplanet.com/psi/npcl/meta-types/association-type"/>
45    <instanceOf><topicRef href="#t1"/></instanceOf>
46    <name><value>Association Type</value></name>
47  </topic>
48
49
50  <!-- === test object 4 =================================================== -->
51  <topic id="t100">
52    <subjectIdentifier href="http://psi.egovpt.org/standard/ISO+19115%3A+Geographic+Information+-+Metadata"/>
53    <instanceOf><topicRef href="#t3a"/></instanceOf>
54    <name><value>ISO 19115</value></name>
55    <name>
56      <scope>
57        <topicRef href="#t50a"/><!-- long name -->
58      </scope>
59      <value>ISO 19115:2003 Geographic Information - Metadata</value>
60    </name>
61    <occurrence>
62      <type><topicRef href="#t51"/></type>
63      <resourceRef href="#t52"/>
64    </occurrence>
65    <occurrence>
66      <type><topicRef href="#t53"/></type>
67      <resourceData
68          datatype="http://www.w3.org/2001/XMLSchema#string">The ISO 19115 standard ...</resourceData>
69    </occurrence>
70    <occurrence>
71      <type><topicRef href="#t54"/></type>
72      <resourceData datatype="http://www.w3.org/2001/XMLSchema#date">2003-01-01</resourceData>
73    </occurrence>
74    <occurrence>
75      <type><topicRef href="#t55"/></type>
76      <resourceRef href="http://www.editeur.org/standards/ISO19115.pdf"/>
77    </occurrence>
78  </topic>
79
80  <!-- instanceof/topicRef of "t100" -->
81  <topic id="t3a">
82    <subjectIdentifier href="http://psi.egovpt.org/types/semanticstandard"/>
83    <instanceOf><topicRef href="#t3"/></instanceOf>
84    <name><value>Semantic Standard</value></name>
85  </topic>
86
87  <!-- instanceof/topicRef of "t3a" -->
88  <topic id="t3">
89    <subjectIdentifier href="http://psi.egovpt.org/types/standard"/>
90    <instanceOf><topicRef href="#t1"/></instanceOf>
91    <name><value>Standard</value></name>
92  </topic>
93
94  <!-- scope/topicRef of "t100" -->
95  <topic id="t50a">
96    <subjectIdentifier href="http://psi.egovpt.org/types/long-name"/>
97    <instanceOf><topicRef href="#t6"/></instanceOf>
98    <name><value>long version of a name</value></name>
99  </topic>
100
101  <!-- instanceof/topicRef of "t50a", "t51", "t53", "t54", "t55" -->
102  <topic id="t6">
103    <subjectIdentifier href="http://www.networkedplanet.com/psi/npcl/meta-types/occurrence-type"/>
104    <instanceOf><topicRef href="#t1"/></instanceOf>
105    <name><value>Occurrence Type</value></name>
106  </topic>
107
108  <!-- occurence/type/topicRef of "t100" -->
109  <topic id="t51">
110    <subjectIdentifier href="http://psi.egovpt.org/types/standardHasStatus"/>
111    <instanceOf><topicRef href="#t6"/></instanceOf>
112    <name><value>Standard has a given status</value></name>
113  </topic>
114
115  <!-- ocurrence/resourceRef of "t100" -->
116  <topic id="t52">
117    <subjectIdentifier href="http://psi.egovpt.org/status/InternationalStandard"/>
118    <instanceOf><topicRef href="#t50"/></instanceOf>
119    <name><value>International Standard</value></name>
120  </topic>
121
122  <!-- instanceof/topicRef of "t52" -->
123  <topic id="t50">
124    <subjectIdentifier href="http://psi.egovpt.org/types/topicInTaxonomy"/>
125    <instanceOf><topicRef href="#t1"/></instanceOf>
126    <name><value>Topic used in this rudimentary taxonomy</value></name>
127  </topic>
128
129  <!-- occurrence/type/topicRef of "t100" -->
130  <topic id="t53">
131    <subjectIdentifier href="http://psi.egovpt.org/types/description"/>
132    <instanceOf><topicRef href="#t6"/></instanceOf>
133    <name><value>Topic has a given description</value></name>
134  </topic>
135
136  <!-- occurrence/type/topicRef of "t100" -->
137  <topic id="t54">
138    <subjectIdentifier href="http://psi.egovpt.org/types/standardValidFromDate"/>
139    <instanceOf><topicRef href="#t6"/></instanceOf>
140    <name><value>Standard is valid from a given date</value></name>
141  </topic>
142
143  <!-- occurrence/type/topicRef of "t100" -->
144  <topic id="t55">
145    <subjectIdentifier href="http://psi.egovpt.org/types/links"/>
146    <instanceOf><topicRef href="#t6"/></instanceOf>
147    <name><value>Links pertinent to this URL</value></name>
148  </topic>
149
150
151  <!-- === test object 5 =================================================== -->
152  <association> <!-- = association 1 -->
153    <type><topicRef href="#t57"/></type>
154    <role>
155      <type><topicRef href="#t59"/></type>
156      <topicRef href="#t202"/> <!-- subject: data -->
157    </role>
158    <role>
159      <type><topicRef href="#t58"/></type>
160      <topicRef href="#t204"/> <!-- subject: legal data -->
161    </role>
162  </association>
163
164  <!-- type/topicRef of association 1 -->
165  <topic id="t57">
166    <subjectIdentifier href="http://psi.egovpt.org/types/isNarrowerSubject"/>
167    <instanceOf>
168      <topicRef href="#t7"/>
169    </instanceOf>
170    <name>
171      <value>subject is narrower than the other one</value>
172    </name>
173  </topic>
174
175  <!-- role/type/topicRef of association 1 -->
176  <topic id="t59">
177    <subjectIdentifier href="http://psi.egovpt.org/types/broaderSubject"/>
178    <instanceOf>
179      <topicRef href="#t8"/>
180    </instanceOf>
181    <name>
182      <value>subject is broader than the other one</value>
183    </name>
184  </topic>
185
186  <!-- role/topicRef of association 1 -->
187  <topic id="t202">
188    <subjectIdentifier href="http://psi.egovpt.org/subject/Data"/>
189    <instanceOf><topicRef href="#t4"/></instanceOf>
190    <name>
191      <value>Types of data</value>
192    </name>
193  </topic>
194
195  <!-- instanceof/topicRef of "t202" -->
196  <topic id="t4">
197    <subjectIdentifier href="http://psi.egovpt.org/types/subject"/>
198    <instanceOf><topicRef href="#t1"/></instanceOf>
199    <name><value>Subject</value></name>
200  </topic>
201
202  <!-- role/type/topicRef of association 1 -->
203  <topic id="t58">
204    <subjectIdentifier href="http://psi.egovpt.org/types/narrowerSubject"/>
205    <instanceOf>
206      <topicRef href="#t8"/>
207    </instanceOf>
208    <name>
209      <value>subject is narrower than the other one</value>
210    </name>
211  </topic>
212
213  <!-- role/topicRef of association 1 -->
214  <topic id="t204">
215    <subjectIdentifier href="http://psi.egovpt.org/subject/Legal+Data"/>
216    <instanceOf><topicRef href="#t4"/></instanceOf>
217    <name>
218      <value>Legal data</value>
219    </name>
220  </topic>
221
222
223  <!-- === test object 6 =================================================== -->
224  <association> <!-- association 2 -->
225    <type><topicRef href="#t64"/></type><!-- service uses standard -->
226    <role>
227      <type><topicRef href="#t63"/></type>
228      <topicRef href="#t301"/> <!-- service: Google Maps  -->
229    </role>
230    <role>
231      <type><topicRef href="#t62"/></type>
232      <topicRef href="#t100"/> <!-- standard: GeoData -->
233    </role>
234  </association>
235
236  <!-- type/topicRef of association 2 -->
237    <!--<topic id="t64">
238          <subjectIdentifier href="http://psi.egovpt.org/types/serviceUsesStandard"/>
239          <instanceOf>
240            <topicRef href="#t7"/>
241          </instanceOf>
242          <name>
243            <value>service uses standard</value>
244          </name>
245        </topic>
246     -->
247
248  <!-- role/type/topicRef of association 2 -->
249  <topic id="t63">
250    <subjectIdentifier href="http://psi.egovpt.org/types/ServiceRoleType"/>
251    <instanceOf>
252      <topicRef href="#t8"/>
253    </instanceOf>
254    <name>
255      <value>role is service</value>
256    </name>
257  </topic>
258
259  <!-- role/ropicRef of association 2 -->
260  <topic id="t301">
261    <subjectIdentifier href="http://psi.egovpt.org/service/Google+Maps"/>
262    <instanceOf>
263      <topicRef href="#t2"/>
264    </instanceOf>
265    <name><value>Google Maps</value></name>
266    <occurrence>
267      <type><topicRef href="#t53"/></type>
268      <resourceData><div xmlns="http://www.w3.org/1999/xhtml"><p>a popular geodata service that is widely used for mashups with geodata</p><p>Probably not really conformant to ISO 19115, but who cares in this context.</p></div></resourceData>
269    </occurrence>
270    <occurrence>
271      <type><topicRef href="#t55"/></type>
272      <resourceRef href="http://maps.google.com"/>
273    </occurrence>
274  </topic>
275
276  <!-- instanceOf/topicRef of "t301" -->
277  <topic id="t2">
278    <subjectIdentifier href="http://psi.egovpt.org/types/service"/>
279    <instanceOf><topicRef href="#t1"/></instanceOf>
280    <name><value>Service</value></name>
281  </topic>
282
283  <!-- role/type/topicRef of association 2 -->
284  <topic id="t62">
285    <subjectIdentifier href="http://psi.egovpt.org/types/StandardRoleType"/>
286    <instanceOf>
287      <topicRef href="#t8"/>
288    </instanceOf>
289    <name>
290      <value>role is standard</value>
291    </name>
292  </topic>
293</topicMap>
Note: See TracBrowser for help on using the repository browser.