source: branches/new-datamodel/src/unit_tests/sample_objects.xtm

Last change on this file was 26, checked in by lgiessmann, 16 years ago

added a license header to all files where the isidorus license is mentioned and referenced, in the ajax file there is also a reference to the MIT-license; an edit/create template for fragments is implemented in the ajax module, but it\'s really terrible and not really useable - this should be only the initial idea of realizing such a functionality\!

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