source: trunk/src/unit_tests/inconsistent.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: 12.2 KB
Line 
1<?xml version="1.0" encoding="utf-8"?>
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/1.0/" xmlns:xlink="http://www.w3.org/1999/xlink">
15
16<!-- === topics ================================================== -->
17<!-- object 1, topic -->
18  <t:topic xmlns:t="http://www.topicmaps.org/xtm/1.0/" xmlns:xlink="http://www.w3.org/1999/xlink" id="t-2502">
19    <t:instanceOf>
20      <t:topicRef xlink:href="#t-2497"/>
21    </t:instanceOf>
22    <t:subjectIdentity>
23      <t:subjectIndicatorRef xlink:href="http://psi.egovpt.org/types/subject"/>
24    </t:subjectIdentity>
25    <t:baseName>
26      <t:baseNameString>Subject</t:baseNameString>
27    </t:baseName>
28  </t:topic>
29
30<!-- object 2, topic -->
31  <t:topic xmlns:t="http://www.topicmaps.org/xtm/1.0/" xmlns:xlink="http://www.w3.org/1999/xlink" id="t-2526">
32    <t:instanceOf>
33      <t:topicRef xlink:href="#t-2517"/>
34    </t:instanceOf>
35    <t:subjectIdentity>
36      <t:subjectIndicatorRef xlink:href="http://psi.egovpt.org/types/serviceUsesTechnology"/>
37    </t:subjectIdentity>
38    <t:baseName>
39      <t:baseNameString>service uses technology</t:baseNameString>
40    </t:baseName>
41    <t:baseName>
42      <t:scope>
43        <t:topicRef xlink:href="#t-2555"/>
44      </t:scope>
45      <t:baseNameString>uses technology</t:baseNameString>
46    </t:baseName>
47    <t:baseName>
48      <t:scope>
49        <t:topicRef xlink:href="#t-2593"/>
50      </t:scope>
51      <t:baseNameString>used by service</t:baseNameString>
52    </t:baseName>
53  </t:topic>
54
55<!-- object 3, topic -->
56  <t:topic xmlns:t="http://www.topicmaps.org/xtm/1.0/" xmlns:xlink="http://www.w3.org/1999/xlink" id="t-321125">
57    <t:instanceOf>
58      <t:topicRef xlink:href="#t-2504"/>
59    </t:instanceOf>
60    <t:subjectIdentity>
61      <t:subjectIndicatorRef xlink:href="http://psi.egovpt.org/location/Europe"/>
62    </t:subjectIdentity>
63    <t:baseName>
64      <t:baseNameString>Europe</t:baseNameString>
65    </t:baseName>
66  </t:topic>
67
68<!-- object 4, topic - with long id -->
69  <t:topic xmlns:t="http://www.topicmaps.org/xtm/1.0/"
70           xmlns:xlink="http://www.w3.org/1999/xlink" id="t173290849">
71    <t:instanceOf>
72      <t:topicRef xlink:href="#t-2517"/>
73    </t:instanceOf>
74    <t:subjectIdentity>
75      <t:subjectIndicatorRef xlink:href="http://psi.egovpt.org/types/authorityPartOfAuthority"/>
76    </t:subjectIdentity>
77    <t:baseName>
78      <t:baseNameString>Public authority part of another public authority</t:baseNameString>
79    </t:baseName>
80  </t:topic>
81
82<!-- === referenced topics ======================================= -->
83<!-- instanceOf "t-2497" -->
84  <t:topic xmlns:t="http://www.topicmaps.org/xtm/1.0/" xmlns:xlink="http://www.w3.org/1999/xlink" id="t-2497">
85    <t:subjectIdentity>
86      <t:subjectIndicatorRef xlink:href="http://www.networkedplanet.com/psi/npcl/meta-types/topic-type"/>
87    </t:subjectIdentity>
88    <t:baseName>
89      <t:baseNameString>Topic Type</t:baseNameString>
90    </t:baseName>
91  </t:topic>
92
93
94<!-- references object 2 and object 4, topic -->
95<!-- instanceOf "t-2517"-->
96  <t:topic xmlns:t="http://www.topicmaps.org/xtm/1.0/" xmlns:xlink="http://www.w3.org/1999/xlink" id="t-2517">
97    <t:subjectIdentity>
98      <t:subjectIndicatorRef xlink:href="http://www.networkedplanet.com/psi/npcl/meta-types/association-type"/>
99    </t:subjectIdentity>
100    <t:baseName>
101      <t:baseNameString>Association Type</t:baseNameString>
102    </t:baseName>
103  </t:topic>
104
105<!-- scope "t-2555"-->
106  <t:topic xmlns:t="http://www.topicmaps.org/xtm/1.0/"
107           xmlns:xlink="http://www.w3.org/1999/xlink" id="t-2555">
108    <t:instanceOf>
109      <t:topicRef xlink:href="#t-2548"/>
110    </t:instanceOf>
111    <t:subjectIdentity>
112      <t:subjectIndicatorRef xlink:href="http://psi.egovpt.org/types/serviceUsesTechnologySource"/>
113    </t:subjectIdentity>
114    <t:baseName>
115      <t:baseNameString>service uses technology source</t:baseNameString>
116    </t:baseName>
117  </t:topic>
118
119  <!-- references of t-2555 -->
120    <t:topic xmlns:t="http://www.topicmaps.org/xtm/1.0/" xmlns:xlink="http://www.w3.org/1999/xlink" id="t-2548">
121      <t:subjectIdentity>
122        <t:subjectIndicatorRef xlink:href="http://www.networkedplanet.com/psi/npcl/meta-types/association-role-type"/>
123      </t:subjectIdentity>
124      <t:baseName>
125        <t:baseNameString>Association Role Type</t:baseNameString>
126      </t:baseName>
127    </t:topic>
128
129<!-- scope "t-2593", was removed to cause an inconsistency -->
130
131
132<!-- references object 3, topic -->
133<!-- instanceOf "t-2504"-->
134  <t:topic xmlns:t="http://www.topicmaps.org/xtm/1.0/" xmlns:xlink="http://www.w3.org/1999/xlink" id="t-2504">
135    <t:instanceOf>
136      <t:topicRef xlink:href="#t-2497"/>
137    </t:instanceOf>
138    <t:subjectIdentity>
139      <t:subjectIndicatorRef xlink:href="http://psi.egovpt.org/types/location"/>
140    </t:subjectIdentity>
141    <t:baseName>
142      <t:baseNameString>Location</t:baseNameString>
143    </t:baseName>
144  </t:topic>
145
146
147<!-- === associations ============================================ -->
148<!-- object 5, association -->
149  <t:association xmlns:t="http://www.topicmaps.org/xtm/1.0/"
150                 xmlns:xlink="http://www.w3.org/1999/xlink" id="t6917125631268416075">
151    <t:instanceOf>
152      <t:subjectIndicatorRef xlink:href="http://psi.egovpt.org/types/isNarrowerTerm"/>
153    </t:instanceOf>
154    <t:member>
155      <t:roleSpec>
156        <t:subjectIndicatorRef xlink:href="http://psi.egovpt.org/types/broader-term"/>
157      </t:roleSpec>
158      <t:subjectIndicatorRef xlink:href="http://psi.egovpt.org/subject/all-subjects"/>
159    </t:member>
160    <t:member>
161      <t:roleSpec>
162        <t:subjectIndicatorRef xlink:href="http://psi.egovpt.org/types/narrower-term"/>
163      </t:roleSpec>
164      <t:subjectIndicatorRef xlink:href="http://psi.egovpt.org/subject/Creation"/>
165    </t:member>
166  </t:association>
167
168<!-- object 6, association -->
169  <t:association xmlns:t="http://www.topicmaps.org/xtm/1.0/" xmlns:xlink="http://www.w3.org/1999/xlink" id="a-2660">
170    <t:instanceOf>
171      <t:topicRef xlink:href="#t-2620"/>
172    </t:instanceOf>
173    <t:member>
174      <t:roleSpec>
175        <t:topicRef xlink:href="#t-2622"/>
176      </t:roleSpec>
177      <t:topicRef xlink:href="#t-2557"/>
178    </t:member>
179    <t:member>
180      <t:roleSpec>
181        <t:topicRef xlink:href="#t-2621"/>
182      </t:roleSpec>
183      <t:topicRef xlink:href="#t-2656"/>
184    </t:member>
185  </t:association>
186
187<!-- === references associations ================================= -->
188<!-- assocciation 1, instanceOf -->
189  <t:topic xmlns:t="http://www.topicmaps.org/xtm/1.0/" xmlns:xlink="http://www.w3.org/1999/xlink" id="t89671052499">
190    <t:subjectIdentity>
191      <t:subjectIndicatorRef xlink:href="http://psi.egovpt.org/types/isNarrowerTerm"/>
192    </t:subjectIdentity>
193    <t:baseName>
194      <t:baseNameString>Is Narrower Term</t:baseNameString>
195    </t:baseName>
196  </t:topic>
197
198<!-- assocciation 1, roleSpec -->
199  <t:topic xmlns:t="http://www.topicmaps.org/xtm/1.0/" xmlns:xlink="http://www.w3.org/1999/xlink" id="broader-term">
200    <t:subjectIdentity>
201      <t:subjectIndicatorRef xlink:href="http://psi.egovpt.org/types/broader-term"/>
202    </t:subjectIdentity>
203    <t:baseName>
204      <t:baseNameString>Broader Term</t:baseNameString>
205    </t:baseName>
206  </t:topic>
207
208<!-- assocciation 1, roleSpec -->
209  <t:topic xmlns:t="http://www.topicmaps.org/xtm/1.0/" xmlns:xlink="http://www.w3.org/1999/xlink" id="all-subjects">
210    <t:instanceOf>
211      <t:subjectIndicatorRef xlink:href="http://psi.egovpt.org/types/subject"/>
212    </t:instanceOf>
213    <t:subjectIdentity>
214      <t:subjectIndicatorRef xlink:href="http://psi.egovpt.org/subject/all-subjects"/>
215    </t:subjectIdentity>
216    <t:baseName>
217      <t:baseNameString>Place holder topic for the top of the hierarchy</t:baseNameString>
218    </t:baseName>
219  </t:topic>
220
221<!-- assocciation 1, roleSpec -->
222  <t:topic xmlns:t="http://www.topicmaps.org/xtm/1.0/" xmlns:xlink="http://www.w3.org/1999/xlink" id="narrower-term">
223    <t:subjectIdentity>
224      <t:subjectIndicatorRef xlink:href="http://psi.egovpt.org/types/narrower-term"/>
225    </t:subjectIdentity>
226    <t:baseName>
227      <t:baseNameString>Narrower Term</t:baseNameString>
228    </t:baseName>
229  </t:topic>
230
231<!-- assocciation 1, roleSpec -->
232  <t:topic xmlns:t="http://www.topicmaps.org/xtm/1.0/" xmlns:xlink="http://www.w3.org/1999/xlink" id="t1106723946">
233    <t:instanceOf>
234      <t:subjectIndicatorRef xlink:href="http://psi.egovpt.org/types/subject"/>
235    </t:instanceOf>
236    <t:subjectIdentity>
237      <t:subjectIndicatorRef xlink:href="http://psi.egovpt.org/subject/Creation"/>
238    </t:subjectIdentity>
239    <t:baseName>
240      <t:baseNameString>Creation</t:baseNameString>
241    </t:baseName>
242  </t:topic>
243
244<!-- assocciation 2, instanceOf -->
245  <t:topic xmlns:t="http://www.topicmaps.org/xtm/1.0/" xmlns:xlink="http://www.w3.org/1999/xlink" id="t-2620">
246    <t:subjectIdentity>
247      <t:subjectIndicatorRef xlink:href="http://www.networkedplanet.com/psi/npcl/constraints/rpc-allows-rt"/>
248    </t:subjectIdentity>
249  </t:topic>
250
251<!-- assocciation 2, roleSpec -->
252  <t:topic xmlns:t="http://www.topicmaps.org/xtm/1.0/" xmlns:xlink="http://www.w3.org/1999/xlink" id="t-2622">
253    <t:subjectIdentity>
254      <t:subjectIndicatorRef xlink:href="http://www.networkedplanet.com/psi/npcl/constraints/rpc-allows-rt-target"/>
255    </t:subjectIdentity>
256  </t:topic>
257
258<!-- assocciation 2, roleSpec -->
259  <t:topic xmlns:t="http://www.topicmaps.org/xtm/1.0/" xmlns:xlink="http://www.w3.org/1999/xlink" id="t-2557">
260    <t:instanceOf>
261      <t:topicRef xlink:href="#t-2548"/>
262    </t:instanceOf>
263    <t:subjectIdentity>
264      <t:subjectIndicatorRef xlink:href="http://psi.egovpt.org/types/standardUsedByServiceTarget"/>
265    </t:subjectIdentity>
266    <t:baseName>
267      <t:baseNameString>standard used by service target</t:baseNameString>
268    </t:baseName>
269  </t:topic>
270
271<!-- assocciation 2, roleSpec -->
272  <t:topic xmlns:t="http://www.topicmaps.org/xtm/1.0/" xmlns:xlink="http://www.w3.org/1999/xlink" id="t-2621">
273    <t:subjectIdentity>
274      <t:subjectIndicatorRef xlink:href="http://www.networkedplanet.com/psi/npcl/constraints/rpc-allows-rt-source"/>
275    </t:subjectIdentity>
276  </t:topic>
277
278<!-- assocciation 2, roleSpec -->
279  <t:topic xmlns:t="http://www.topicmaps.org/xtm/1.0/" xmlns:xlink="http://www.w3.org/1999/xlink" id="t-2656">
280    <t:instanceOf>
281      <t:topicRef xlink:href="#t-2612"/>
282    </t:instanceOf>
283    <t:occurrence>
284      <t:instanceOf>
285        <t:topicRef xlink:href="#t-2625"/>
286      </t:instanceOf>
287      <t:resourceData>0</t:resourceData>
288    </t:occurrence>
289    <t:occurrence>
290      <t:instanceOf>
291        <t:topicRef xlink:href="#t-2626"/>
292      </t:instanceOf>
293      <t:resourceData>unbounded</t:resourceData>
294    </t:occurrence>
295  </t:topic>
296
297  <!-- references of t-2656 -->
298    <t:topic xmlns:t="http://www.topicmaps.org/xtm/1.0/" xmlns:xlink="http://www.w3.org/1999/xlink" id="t-2612">
299      <t:subjectIdentity>
300        <t:subjectIndicatorRef
301                xlink:href="http://www.networkedplanet.com/psi/npcl/constraints/role-player-constraint"/>
302      </t:subjectIdentity>
303    </t:topic>
304
305    <t:topic xmlns:t="http://www.topicmaps.org/xtm/1.0/" xmlns:xlink="http://www.w3.org/1999/xlink" id="t-2625">
306      <t:subjectIdentity>
307        <t:subjectIndicatorRef
308                xlink:href="http://www.networkedplanet.com/psi/npcl/facets/minimum-cardinality-facet"/>
309      </t:subjectIdentity>
310    </t:topic>
311
312    <t:topic xmlns:t="http://www.topicmaps.org/xtm/1.0/" xmlns:xlink="http://www.w3.org/1999/xlink" id="t-2626">
313      <t:subjectIdentity>
314        <t:subjectIndicatorRef
315                xlink:href="http://www.networkedplanet.com/psi/npcl/facets/maximum-cardinality-facet"/>
316      </t:subjectIdentity>
317    </t:topic>
318
319</topicMap>
Note: See TracBrowser for help on using the repository browser.