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