source: trunk/src/unit_tests/sample_objects.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: 14.4 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/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      <variant>
41        <parameters>
42          <topicRef xlink:href="#sort"/>
43        </parameters>
44        <variantName>
45          <resourceData>service-uses-technology</resourceData>
46        </variantName>
47      </variant>
48      <variant>
49        <parameters>
50          <subjectIndicatorRef xlink:href="http://www.topicmaps.org/xtm/1.0/core.xtm#display"/>
51        </parameters>
52        <variantName>
53          <resourceData>service uses technology</resourceData>
54        </variantName>
55      </variant>
56    </t:baseName>
57    <t:baseName>
58      <t:scope>
59        <t:topicRef xlink:href="#t-2555"/>
60      </t:scope>
61      <t:baseNameString>uses technology</t:baseNameString>
62      <variant>
63        <parameters>
64          <topicRef xlink:href="#display"/>
65        </parameters>
66        <variantName>
67          <resourceData>uses technology</resourceData>
68        </variantName>
69        <variant>
70          <parameters>
71            <subjectIndicatorRef xlink:href="http://www.topicmaps.org/xtm/1.0/core.xtm#sort"/>
72          </parameters>
73          <variantName>
74            <resourceData>uses-technology</resourceData>
75          </variantName>
76        </variant>
77      </variant>
78    </t:baseName>
79    <t:baseName>
80      <t:scope>
81        <t:topicRef xlink:href="#t-2593"/>
82      </t:scope>
83      <t:baseNameString>used by service</t:baseNameString>
84      <variant>
85        <parameters>
86          <topicRef xlink:href="#display"/>
87          <subjectIndicatorRef xlink:href="http://www.topicmaps.org/xtm/1.0/core.xtm#sort"/>
88        </parameters>
89        <variantName>
90          <resourceData>used-by-service</resourceData>
91        </variantName>
92      </variant>
93    </t:baseName>
94  </t:topic>
95
96<!-- object 3, topic -->
97  <t:topic xmlns:t="http://www.topicmaps.org/xtm/1.0/" xmlns:xlink="http://www.w3.org/1999/xlink" id="t-321125">
98    <t:instanceOf>
99      <t:topicRef xlink:href="#t-2504"/>
100    </t:instanceOf>
101    <t:subjectIdentity>
102      <t:subjectIndicatorRef xlink:href="http://psi.egovpt.org/location/Europe"/>
103    </t:subjectIdentity>
104    <t:baseName>
105      <t:baseNameString>Europe</t:baseNameString>
106    </t:baseName>
107  </t:topic>
108
109<!-- object 4, topic - with long id -->
110  <t:topic xmlns:t="http://www.topicmaps.org/xtm/1.0/"
111           xmlns:xlink="http://www.w3.org/1999/xlink" id="t173290849">
112    <t:instanceOf>
113      <t:topicRef xlink:href="#t-2517"/>
114    </t:instanceOf>
115    <t:subjectIdentity>
116      <t:subjectIndicatorRef xlink:href="http://psi.egovpt.org/types/authorityPartOfAuthority"/>
117    </t:subjectIdentity>
118    <t:baseName>
119      <t:baseNameString>Public authority part of another public authority</t:baseNameString>
120    </t:baseName>
121  </t:topic>
122
123<!-- === referenced topics ======================================= -->
124<!-- instanceOf "t-2497" -->
125  <t:topic xmlns:t="http://www.topicmaps.org/xtm/1.0/" xmlns:xlink="http://www.w3.org/1999/xlink" id="t-2497">
126    <t:subjectIdentity>
127      <t:subjectIndicatorRef xlink:href="http://www.networkedplanet.com/psi/npcl/meta-types/topic-type"/>
128    </t:subjectIdentity>
129    <t:baseName>
130      <t:baseNameString>Topic Type</t:baseNameString>
131    </t:baseName>
132  </t:topic>
133
134
135<!-- references object 2 and object 4, topic -->
136<!-- instanceOf "t-2517"-->
137  <t:topic xmlns:t="http://www.topicmaps.org/xtm/1.0/" xmlns:xlink="http://www.w3.org/1999/xlink" id="t-2517">
138    <t:subjectIdentity>
139      <t:subjectIndicatorRef xlink:href="http://www.networkedplanet.com/psi/npcl/meta-types/association-type"/>
140    </t:subjectIdentity>
141    <t:baseName>
142      <t:baseNameString>Association Type</t:baseNameString>
143    </t:baseName>
144  </t:topic>
145
146<!-- scope "t-2555"-->
147  <t:topic xmlns:t="http://www.topicmaps.org/xtm/1.0/"
148           xmlns:xlink="http://www.w3.org/1999/xlink" id="t-2555">
149    <t:instanceOf>
150      <t:topicRef xlink:href="#t-2548"/>
151    </t:instanceOf>
152    <t:subjectIdentity>
153      <t:subjectIndicatorRef xlink:href="http://psi.egovpt.org/types/serviceUsesTechnologySource"/>
154    </t:subjectIdentity>
155    <t:baseName>
156      <t:baseNameString>service uses technology source</t:baseNameString>
157    </t:baseName>
158  </t:topic>
159
160  <!-- references of t-2555 -->
161    <t:topic xmlns:t="http://www.topicmaps.org/xtm/1.0/" xmlns:xlink="http://www.w3.org/1999/xlink" id="t-2548">
162      <t:subjectIdentity>
163        <t:subjectIndicatorRef xlink:href="http://www.networkedplanet.com/psi/npcl/meta-types/association-role-type"/>
164      </t:subjectIdentity>
165      <t:baseName>
166        <t:baseNameString>Association Role Type</t:baseNameString>
167      </t:baseName>
168    </t:topic>
169
170<!-- scope "t-2593"-->
171  <t:topic xmlns:t="http://www.topicmaps.org/xtm/1.0/" xmlns:xlink="http://www.w3.org/1999/xlink" id="t-2593">
172    <t:instanceOf>
173      <t:topicRef xlink:href="#t-2548"/>
174    </t:instanceOf>
175    <t:subjectIdentity>
176      <t:subjectIndicatorRef xlink:href="http://psi.egovpt.org/types/serviceUsesTechnologyTarget"/>
177    </t:subjectIdentity>
178    <t:baseName>
179      <t:baseNameString>service uses technology target</t:baseNameString>
180    </t:baseName>
181  </t:topic>
182
183<!-- references object 3, topic -->
184<!-- instanceOf "t-2504"-->
185  <t:topic xmlns:t="http://www.topicmaps.org/xtm/1.0/" xmlns:xlink="http://www.w3.org/1999/xlink" id="t-2504">
186    <t:instanceOf>
187      <t:topicRef xlink:href="#t-2497"/>
188    </t:instanceOf>
189    <t:subjectIdentity>
190      <t:subjectIndicatorRef xlink:href="http://psi.egovpt.org/types/location"/>
191    </t:subjectIdentity>
192    <t:baseName>
193      <t:baseNameString>Location</t:baseNameString>
194    </t:baseName>
195  </t:topic>
196
197
198<!-- === associations ============================================ -->
199<!-- object 5, association -->
200  <t:association xmlns:t="http://www.topicmaps.org/xtm/1.0/"
201                 xmlns:xlink="http://www.w3.org/1999/xlink" id="t6917125631268416075">
202    <t:instanceOf>
203      <t:subjectIndicatorRef xlink:href="http://psi.egovpt.org/types/isNarrowerTerm"/>
204    </t:instanceOf>
205    <t:member>
206      <t:roleSpec>
207        <t:subjectIndicatorRef xlink:href="http://psi.egovpt.org/types/broader-term"/>
208      </t:roleSpec>
209      <t:subjectIndicatorRef xlink:href="http://psi.egovpt.org/subject/all-subjects"/>
210    </t:member>
211    <t:member>
212      <t:roleSpec>
213        <t:subjectIndicatorRef xlink:href="http://psi.egovpt.org/types/narrower-term"/>
214      </t:roleSpec>
215      <t:subjectIndicatorRef xlink:href="http://psi.egovpt.org/subject/Creation"/>
216    </t:member>
217  </t:association>
218
219<!-- object 6, association -->
220  <t:association xmlns:t="http://www.topicmaps.org/xtm/1.0/" xmlns:xlink="http://www.w3.org/1999/xlink" id="a-2660">
221    <t:instanceOf>
222      <t:topicRef xlink:href="#t-2620"/>
223    </t:instanceOf>
224    <t:member>
225      <t:roleSpec>
226        <t:topicRef xlink:href="#t-2622"/>
227      </t:roleSpec>
228      <t:topicRef xlink:href="#t-2557"/>
229    </t:member>
230    <t:member>
231      <t:roleSpec>
232        <t:topicRef xlink:href="#t-2621"/>
233      </t:roleSpec>
234      <t:topicRef xlink:href="#t-2656"/>
235    </t:member>
236  </t:association>
237
238<!-- === references associations ================================= -->
239<!-- assocciation 1, instanceOf -->
240  <t:topic xmlns:t="http://www.topicmaps.org/xtm/1.0/" xmlns:xlink="http://www.w3.org/1999/xlink" id="t89671052499">
241    <t:subjectIdentity>
242      <t:subjectIndicatorRef xlink:href="http://psi.egovpt.org/types/isNarrowerTerm"/>
243    </t:subjectIdentity>
244    <t:baseName>
245      <t:baseNameString>Is Narrower Term</t:baseNameString>
246    </t:baseName>
247  </t:topic>
248
249<!-- assocciation 1, roleSpec -->
250  <t:topic xmlns:t="http://www.topicmaps.org/xtm/1.0/" xmlns:xlink="http://www.w3.org/1999/xlink" id="broader-term">
251    <t:subjectIdentity>
252      <t:subjectIndicatorRef xlink:href="http://psi.egovpt.org/types/broader-term"/>
253    </t:subjectIdentity>
254    <t:baseName>
255      <t:baseNameString>Broader Term</t:baseNameString>
256    </t:baseName>
257  </t:topic>
258
259<!-- assocciation 1, roleSpec -->
260  <t:topic xmlns:t="http://www.topicmaps.org/xtm/1.0/" xmlns:xlink="http://www.w3.org/1999/xlink" id="all-subjects">
261    <t:instanceOf>
262      <t:subjectIndicatorRef xlink:href="http://psi.egovpt.org/types/subject"/>
263    </t:instanceOf>
264    <t:subjectIdentity>
265      <t:subjectIndicatorRef xlink:href="http://psi.egovpt.org/subject/all-subjects"/>
266    </t:subjectIdentity>
267    <t:baseName>
268      <t:baseNameString>Place holder topic for the top of the hierarchy</t:baseNameString>
269    </t:baseName>
270  </t:topic>
271
272<!-- assocciation 1, roleSpec -->
273  <t:topic xmlns:t="http://www.topicmaps.org/xtm/1.0/" xmlns:xlink="http://www.w3.org/1999/xlink" id="narrower-term">
274    <t:subjectIdentity>
275      <t:subjectIndicatorRef xlink:href="http://psi.egovpt.org/types/narrower-term"/>
276    </t:subjectIdentity>
277    <t:baseName>
278      <t:baseNameString>Narrower Term</t:baseNameString>
279    </t:baseName>
280  </t:topic>
281
282<!-- assocciation 1, roleSpec -->
283  <t:topic xmlns:t="http://www.topicmaps.org/xtm/1.0/" xmlns:xlink="http://www.w3.org/1999/xlink" id="t1106723946">
284    <t:instanceOf>
285      <t:subjectIndicatorRef xlink:href="http://psi.egovpt.org/types/subject"/>
286    </t:instanceOf>
287    <t:subjectIdentity>
288      <t:subjectIndicatorRef xlink:href="http://psi.egovpt.org/subject/Creation"/>
289    </t:subjectIdentity>
290    <t:baseName>
291      <t:baseNameString>Creation</t:baseNameString>
292    </t:baseName>
293  </t:topic>
294
295<!-- assocciation 2, instanceOf -->
296  <t:topic xmlns:t="http://www.topicmaps.org/xtm/1.0/" xmlns:xlink="http://www.w3.org/1999/xlink" id="t-2620">
297    <t:subjectIdentity>
298      <t:subjectIndicatorRef xlink:href="http://www.networkedplanet.com/psi/npcl/constraints/rpc-allows-rt"/>
299    </t:subjectIdentity>
300  </t:topic>
301
302<!-- assocciation 2, roleSpec -->
303  <t:topic xmlns:t="http://www.topicmaps.org/xtm/1.0/" xmlns:xlink="http://www.w3.org/1999/xlink" id="t-2622">
304    <t:subjectIdentity>
305      <t:subjectIndicatorRef xlink:href="http://www.networkedplanet.com/psi/npcl/constraints/rpc-allows-rt-target"/>
306    </t:subjectIdentity>
307  </t:topic>
308
309<!-- assocciation 2, roleSpec -->
310  <t:topic xmlns:t="http://www.topicmaps.org/xtm/1.0/" xmlns:xlink="http://www.w3.org/1999/xlink" id="t-2557">
311    <t:instanceOf>
312      <t:topicRef xlink:href="#t-2548"/>
313    </t:instanceOf>
314    <t:subjectIdentity>
315      <t:subjectIndicatorRef xlink:href="http://psi.egovpt.org/types/standardUsedByServiceTarget"/>
316    </t:subjectIdentity>
317    <t:baseName>
318      <t:baseNameString>standard used by service target</t:baseNameString>
319    </t:baseName>
320  </t:topic>
321
322<!-- assocciation 2, roleSpec -->
323  <t:topic xmlns:t="http://www.topicmaps.org/xtm/1.0/" xmlns:xlink="http://www.w3.org/1999/xlink" id="t-2621">
324    <t:subjectIdentity>
325      <t:subjectIndicatorRef xlink:href="http://www.networkedplanet.com/psi/npcl/constraints/rpc-allows-rt-source"/>
326    </t:subjectIdentity>
327  </t:topic>
328
329<!-- assocciation 2, roleSpec -->
330  <t:topic xmlns:t="http://www.topicmaps.org/xtm/1.0/" xmlns:xlink="http://www.w3.org/1999/xlink" id="t-2656">
331    <t:instanceOf>
332      <t:topicRef xlink:href="#t-2612"/>
333    </t:instanceOf>
334    <t:subjectIdentity>
335      <t:subjectIndicatorRef xlink:href="http://psi.egovpt.org/types/DO-NOT-SIGNAL-no-identifier-error"/>
336    </t:subjectIdentity>
337    <t:occurrence>
338      <t:instanceOf>
339        <t:topicRef xlink:href="#t-2625"/>
340      </t:instanceOf>
341      <t:resourceData>0</t:resourceData>
342    </t:occurrence>
343    <t:occurrence>
344      <t:instanceOf>
345        <t:topicRef xlink:href="#t-2626"/>
346      </t:instanceOf>
347      <t:resourceData>unbounded</t:resourceData>
348    </t:occurrence>
349  </t:topic>
350
351  <!-- references of t-2656 -->
352    <t:topic xmlns:t="http://www.topicmaps.org/xtm/1.0/" xmlns:xlink="http://www.w3.org/1999/xlink" id="t-2612">
353      <t:subjectIdentity>
354        <t:subjectIndicatorRef
355                xlink:href="http://www.networkedplanet.com/psi/npcl/constraints/role-player-constraint"/>
356      </t:subjectIdentity>
357    </t:topic>
358
359    <t:topic xmlns:t="http://www.topicmaps.org/xtm/1.0/" xmlns:xlink="http://www.w3.org/1999/xlink" id="t-2625">
360      <t:subjectIdentity>
361        <t:subjectIndicatorRef
362                xlink:href="http://www.networkedplanet.com/psi/npcl/facets/minimum-cardinality-facet"/>
363      </t:subjectIdentity>
364    </t:topic>
365
366    <t:topic xmlns:t="http://www.topicmaps.org/xtm/1.0/" xmlns:xlink="http://www.w3.org/1999/xlink" id="t-2626">
367      <t:subjectIdentity>
368        <t:subjectIndicatorRef
369                xlink:href="http://www.networkedplanet.com/psi/npcl/facets/maximum-cardinality-facet"/>
370      </t:subjectIdentity>
371    </t:topic>
372
373
374  <!-- === for existing variants in baseNames =============================== -->
375  <topic xmlns:t="http://www.topicmaps.org/xtm/1.0/" xmlns:xlink="http://www.w3.org/1999/xlink" id="sort">
376    <t:subjectIdentity>
377      <t:subjectIndicatorRef
378         xlink:href="http://www.topicmaps.org/xtm/1.0/core.xtm#sort"/>
379    </t:subjectIdentity>
380  </topic>
381
382  <topic xmlns:t="http://www.topicmaps.org/xtm/1.0/" xmlns:xlink="http://www.w3.org/1999/xlink" id="display">
383    <t:subjectIdentity>
384      <t:subjectIndicatorRef
385         xlink:href="http://www.topicmaps.org/xtm/1.0/core.xtm#display"/>
386    </t:subjectIdentity>
387  </topic>
388
389</topicMap>
Note: See TracBrowser for help on using the repository browser.