source: branches/new-datamodel/src/unit_tests/sample_objects_2_0.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: 11.0 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/" version="2.0">
12
13  <!-- === test object 1 =================================================== -->
14  <topic id="t1">
15    <itemIdentity href="http://psi.egovpt.org/itemIdentifiers#t1"/>
16    <subjectIdentifier href="http://www.networkedplanet.com/psi/npcl/meta-types/topic-type"/>
17    <name><value>Topic Type</value></name>
18  </topic>
19
20
21  <!-- === test object 2 =================================================== -->
22  <topic id="t8">
23    <itemIdentity href="http://psi.egovpt.org/itemIdentifiers#t8"/>
24    <subjectIdentifier href="http://www.networkedplanet.com/psi/npcl/meta-types/association-role-type"/>
25    <instanceOf><topicRef href="#t1"/></instanceOf>
26    <name><value>Association Role Type</value></name>
27  </topic>
28
29
30  <!-- === test object 3 =================================================== -->
31  <topic id="t56">
32    <itemIdentity href="http://psi.egovpt.org/itemIdentifiers#t56"/>
33    <subjectIdentifier href="http://psi.egovpt.org/types/topicIsAboutSubject"/>
34    <instanceOf><topicRef href="#t7"/></instanceOf>
35    <name><value>topic is about subject</value></name>
36  </topic>
37
38  <!-- instance/topicRef of "t56" -->
39  <topic id="t7">
40    <itemIdentity href="http://psi.egovpt.org/itemIdentifiers#t7"/>
41    <subjectIdentifier href="http://www.networkedplanet.com/psi/npcl/meta-types/association-type"/>
42    <instanceOf><topicRef href="#t1"/></instanceOf>
43    <name><value>Association Type</value></name>
44  </topic>
45
46
47  <!-- === test object 4 =================================================== -->
48  <topic id="t100">
49    <itemIdentity href="http://psi.egovpt.org/itemIdentifiers#t100"/>
50    <subjectIdentifier href="http://psi.egovpt.org/standard/ISO+19115%3A+Geographic+Information+-+Metadata"/>
51    <instanceOf><topicRef href="#t3a"/></instanceOf>
52    <name>
53      <itemIdentity href="http://psi.egovpt.org/itemIdentifiers#t100_n1"/>
54      <value>ISO 19115</value>
55    </name>
56    <occurrence>
57      <itemIdentity href="http://psi.egovpt.org/itemIdentifiers#t100_o1"/>
58      <type><topicRef href="#t51"/></type>
59      <resourceRef href="http://www.budabe.de/"/>
60    </occurrence>
61    <occurrence>
62      <itemIdentity href="http://psi.egovpt.org/itemIdentifiers#t100_o2"/>
63      <type><topicRef href="#t53"/></type>
64      <resourceData
65          datatype="http://www.w3.org/2001/XMLSchema#string">The ISO 19115 standard ...</resourceData>
66    </occurrence>
67    <occurrence>
68      <itemIdentity href="http://psi.egovpt.org/itemIdentifiers#t100_o3"/>
69      <type><topicRef href="#t54"/></type>
70      <resourceData datatype="http://www.w3.org/2001/XMLSchema#date">2003-01-01</resourceData>
71    </occurrence>
72    <occurrence>
73      <itemIdentity href="http://psi.egovpt.org/itemIdentifiers#t100_o4"/>
74      <type><topicRef href="#t55"/></type>
75      <resourceRef href="http://www.editeur.org/standards/ISO19115.pdf"/>
76    </occurrence>
77  </topic>
78
79  <!-- instanceof/topicRef of "t100" -->
80  <topic id="t3a">
81    <itemIdentity href="http://psi.egovpt.org/itemIdentifiers#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    <itemIdentity href="http://psi.egovpt.org/itemIdentifiers#t3"/>
90    <subjectIdentifier href="http://psi.egovpt.org/types/standard"/>
91    <instanceOf><topicRef href="#t1"/></instanceOf>
92    <name><value>Standard</value></name>
93  </topic>
94
95  <!-- occurence/type/topicRef of "t100" -->
96  <topic id="t51">
97    <itemIdentity href="http://psi.egovpt.org/itemIdentifiers#t51"/>
98    <subjectIdentifier href="http://psi.egovpt.org/types/standardHasStatus"/>
99    <instanceOf><topicRef href="#t6"/></instanceOf>
100    <name><value>Standard has a given status</value></name>
101  </topic>
102
103  <!-- ocurrence/resourceRef of "t100" -->
104  <topic id="t52">
105    <itemIdentity href="http://psi.egovpt.org/itemIdentifiers#t52"/>
106    <subjectIdentifier href="http://psi.egovpt.org/status/InternationalStandard"/>
107    <instanceOf><topicRef href="#t50"/></instanceOf>
108    <name><value>International Standard</value></name>
109  </topic>
110
111  <!-- instanceof/topicRef of "t52" -->
112  <topic id="t50">
113    <itemIdentity href="http://psi.egovpt.org/itemIdentifiers#t50"/>
114    <subjectIdentifier href="http://psi.egovpt.org/types/topicInTaxonomy"/>
115    <instanceOf><topicRef href="#t1"/></instanceOf>
116    <name><value>Topic used in this rudimentary taxonomy</value></name>
117  </topic>
118
119  <!-- occurrence/type/topicRef of "t100" -->
120  <topic id="t53">
121    <itemIdentity href="http://psi.egovpt.org/itemIdentifiers#t53"/>
122    <subjectIdentifier href="http://psi.egovpt.org/types/description"/>
123    <instanceOf><topicRef href="#t6"/></instanceOf>
124    <name><value>Topic has a given description</value></name>
125  </topic>
126
127  <!-- occurrence/type/topicRef of "t100" -->
128  <topic id="t54">
129    <itemIdentity href="http://psi.egovpt.org/itemIdentifiers#t54"/>
130    <subjectIdentifier href="http://psi.egovpt.org/types/standardValidFromDate"/>
131    <instanceOf><topicRef href="#t6"/></instanceOf>
132    <name><value>Standard is valid from a given date</value></name>
133  </topic>
134
135  <!-- occurrence/type/topicRef of "t100" -->
136  <topic id="t55">
137    <itemIdentity href="http://psi.egovpt.org/itemIdentifiers#t55"/>
138    <subjectIdentifier href="http://psi.egovpt.org/types/links"/>
139    <instanceOf><topicRef href="#t6"/></instanceOf>
140    <name><value>Links pertinent to this URL</value></name>
141  </topic>
142
143  <!-- instanceof/topicRef of "t50a", "t51", "t53", "t54", "t55" -->
144  <topic id="t6">
145    <itemIdentity href="http://psi.egovpt.org/itemIdentifiers#t6"/>
146    <subjectIdentifier href="http://www.networkedplanet.com/psi/npcl/meta-types/occurrence-type"/>
147    <instanceOf><topicRef href="#t1"/></instanceOf>
148    <name><value>Occurrence Type</value></name>
149  </topic>
150
151
152  <!-- === test object 5 =================================================== -->
153  <association> <!-- = association 1 -->
154    <type><topicRef href="#t57"/></type>
155    <role>
156      <type><topicRef href="#t59"/></type>
157      <topicRef href="#t202"/> <!-- subject: data -->
158    </role>
159    <role>
160      <type><topicRef href="#t58"/></type>
161      <topicRef href="#t204"/> <!-- subject: legal data -->
162    </role>
163  </association>
164
165
166  <!-- type/topicRef of association 1 -->
167  <topic id="t57">
168    <itemIdentity href="http://psi.egovpt.org/itemIdentifiers#t57"/>
169    <subjectIdentifier href="http://psi.egovpt.org/types/isNarrowerSubject"/>
170    <instanceOf><topicRef href="#t7"/></instanceOf>
171    <name><value>subject is narrower than the other one</value></name>
172  </topic>
173
174  <!-- role/type/topicRef of association 1 -->
175  <topic id="t59">
176    <itemIdentity href="http://psi.egovpt.org/itemIdentifiers#t59"/>
177    <subjectIdentifier href="http://psi.egovpt.org/types/broaderSubject"/>
178    <instanceOf><topicRef href="#t8"/></instanceOf>
179    <name><value>subject is broader than the other one</value></name>
180  </topic>
181
182  <!-- role/topicRef of association 1 -->
183  <topic id="t202">
184    <subjectIdentifier href="http://psi.egovpt.org/subject/Data"/>
185    <instanceOf><topicRef href="#t4"/></instanceOf>
186    <name><value>Types of data</value></name>
187  </topic>
188
189  <!-- instanceof/topicRef of "t202" -->
190  <topic id="t4">
191    <itemIdentity href="http://psi.egovpt.org/itemIdentifiers#t4"/>
192    <subjectIdentifier href="http://psi.egovpt.org/types/subject"/>
193    <instanceOf><topicRef href="#t1"/></instanceOf>
194    <name><value>Subject</value></name>
195  </topic>
196
197  <!-- role/type/topicRef of association 1 -->
198  <topic id="t58">
199    <itemIdentity href="http://psi.egovpt.org/itemIdentifiers#t58"/>
200    <subjectIdentifier href="http://psi.egovpt.org/types/narrowerSubject"/>
201    <instanceOf><topicRef href="#t8"/></instanceOf>
202    <name><value>subject is narrower than the other one</value></name>
203  </topic>
204
205  <!-- role/topicRef of association 1 -->
206  <topic id="t204">
207    <subjectIdentifier href="http://psi.egovpt.org/subject/Legal+Data"/>
208    <instanceOf><topicRef href="#t4"/></instanceOf>
209    <name><value>Legal data</value></name>
210  </topic>
211
212
213  <!-- === test object 6 =================================================== -->
214  <association> <!-- deliberately duplicated association to test merging -->
215    <itemIdentity href="http://psi.egovpt.org/itemIdentifiers#assoc_7"/>
216    <type><topicRef href="#t64"/></type><!-- service uses standard -->
217    <role>
218      <type><topicRef href="#t63"/></type>
219      <topicRef href="#t301a"/> <!-- service: Google Maps, deliberately its second topicid  -->
220    </role>
221    <role>
222      <type><topicRef href="#t62"/></type>
223      <topicRef href="#t100"/> <!-- standard: GeoData -->
224    </role>
225  </association>
226
227
228  <!-- type/topicRef of association 2 -->
229  <topic id="t64">
230    <itemIdentity href="http://psi.egovpt.org/itemIdentifiers#t64"/>
231    <subjectIdentifier href="http://psi.egovpt.org/types/serviceUsesStandard"/>
232    <instanceOf><topicRef href="#t7"/></instanceOf>
233    <name><value>service uses standard</value></name>
234  </topic>
235
236  <!-- role/type/topicRef of association 2 -->
237  <topic id="t63">
238    <itemIdentity href="http://psi.egovpt.org/itemIdentifiers#t63"/>
239    <subjectIdentifier href="http://psi.egovpt.org/types/ServiceRoleType"/>
240    <instanceOf><topicRef href="#t8"/></instanceOf>
241    <name><value>role is service</value></name>
242  </topic>
243
244  <!-- role/ropicRef of association 2 -->
245  <topic id="t301a">
246    <subjectIdentifier href="http://psi.egovpt.org/service/Google+Maps"/>
247    <subjectIdentifier href="http://maps.google.com"/>
248    <name>
249      <itemIdentity href="http://psi.egovpt.org/topic/t301a_n1"/>
250      <value>Google Maps</value>
251    </name>
252    <name>
253      <scope>
254        <topicRef href="#t50a"/><!-- long name -->
255      </scope>
256      <value>Google Maps Application</value>
257    </name>
258    <occurrence>
259      <type><topicRef href="#t55"/></type>
260      <resourceRef href="http://maps.google.de"/>
261    </occurrence>
262  </topic>
263
264  <!-- scope/topicRef of "t301a" -->
265  <topic id="t50a">
266    <itemIdentity href="http://psi.egovpt.org/itemIdentifiers#t50a"/>
267    <subjectIdentifier href="http://psi.egovpt.org/types/long-name"/>
268    <instanceOf><topicRef href="#t6"/></instanceOf>
269    <name><value>long version of a name</value></name>
270  </topic>
271
272  <!-- role/type/topicRef of association 2 -->
273  <topic id="t62">
274    <itemIdentity href="http://psi.egovpt.org/itemIdentifiers#t62"/>
275    <subjectIdentifier href="http://psi.egovpt.org/types/StandardRoleType"/>
276    <instanceOf><topicRef href="#t8"/></instanceOf>
277    <name><value>role is standard</value></name>
278  </topic>
279</topicMap>
Note: See TracBrowser for help on using the repository browser.