source: branches/new-datamodel/src/unit_tests/notificationbase.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: 18.8 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  <topic id="t1">
13    <!-- functions as source locator (does this make a lot of sense
14         for items from the ontology itself? And indeed for topics in
15         general which have their PSI? -->
16    <itemIdentity href="http://psi.egovpt.org/itemIdentifiers#t1"/>
17    <subjectIdentifier href="http://www.networkedplanet.com/psi/npcl/meta-types/topic-type"/>
18    <name><value>Topic Type</value></name>
19  </topic>
20
21  <topic id="t2">
22    <itemIdentity href="http://psi.egovpt.org/itemIdentifiers#t2"/>
23    <subjectIdentifier href="http://psi.egovpt.org/types/service"/>
24    <instanceOf><topicRef href="#t1"/></instanceOf>
25    <name><value>Service</value></name>
26  </topic>
27
28  <topic id="t3">
29    <itemIdentity href="http://psi.egovpt.org/itemIdentifiers#t3"/>
30    <subjectIdentifier href="http://psi.egovpt.org/types/standard"/>
31    <instanceOf><topicRef href="#t1"/></instanceOf>
32    <name><value>Standard</value></name>
33  </topic>
34
35  <topic id="t3a">
36    <itemIdentity href="http://psi.egovpt.org/itemIdentifiers#t3a"/>
37    <subjectIdentifier href="http://psi.egovpt.org/types/semanticstandard"/>
38    <instanceOf><topicRef href="#t3"/></instanceOf>
39    <name><value>Semantic Standard</value></name>
40  </topic> 
41
42  <topic id="t3b">
43    <itemIdentity href="http://psi.egovpt.org/itemIdentifiers#t3b"/>
44    <subjectIdentifier href="http://psi.egovpt.org/types/technicalstandard"/>
45    <instanceOf><topicRef href="#t3"/></instanceOf>
46    <name><value>Technical Standard</value></name>
47  </topic> 
48
49  <topic id="t4">
50    <itemIdentity href="http://psi.egovpt.org/itemIdentifiers#t4"/>
51    <subjectIdentifier href="http://psi.egovpt.org/types/subject"/>
52    <instanceOf><topicRef href="#t1"/></instanceOf>
53    <name><value>Subject</value></name>
54  </topic>
55 
56  <topic id="t6">
57    <itemIdentity href="http://psi.egovpt.org/itemIdentifiers#t6"/>
58    <subjectIdentifier href="http://www.networkedplanet.com/psi/npcl/meta-types/occurrence-type"/>
59    <instanceOf><topicRef href="#t1"/></instanceOf>
60    <name><value>Occurrence Type</value></name>
61  </topic>
62
63  <topic id="t7">
64    <itemIdentity href="http://psi.egovpt.org/itemIdentifiers#t7"/>
65    <subjectIdentifier href="http://www.networkedplanet.com/psi/npcl/meta-types/association-type"/>
66    <instanceOf><topicRef href="#t1"/></instanceOf>
67    <name><value>Association Type</value></name>
68  </topic>
69
70  <topic id="t8">
71    <itemIdentity href="http://psi.egovpt.org/itemIdentifiers#t8"/>
72    <subjectIdentifier href="http://www.networkedplanet.com/psi/npcl/meta-types/association-role-type"/>
73    <instanceOf><topicRef href="#t1"/></instanceOf>
74    <name><value>Association Role Type</value></name>
75  </topic>
76 
77  <!-- rudimentary taxonomies -->
78  <topic id="t50">
79    <itemIdentity href="http://psi.egovpt.org/itemIdentifiers#t50"/>
80    <subjectIdentifier href="http://psi.egovpt.org/types/topicInTaxonomy"/>
81    <instanceOf><topicRef href="#t1"/></instanceOf>
82    <name><value>Topic used in this rudimentary taxonomy</value></name>
83  </topic>
84
85  <topic id="t50a">
86    <itemIdentity href="http://psi.egovpt.org/itemIdentifiers#t50a"/>
87    <subjectIdentifier href="http://psi.egovpt.org/types/long-name"/>
88    <instanceOf><topicRef href="#t6"/></instanceOf>
89    <name>
90      <value>long version of a name</value>
91      <variant>
92        <scope><topicRef href="#sort"/></scope>
93        <resourceData datatype="http://www.w3.org/2001/XMLSchema#string">Long-Version</resourceData>
94      </variant>
95    </name>
96  </topic>
97
98
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  <topic id="t52">
107    <itemIdentity href="http://psi.egovpt.org/itemIdentifiers#t52"/>
108    <subjectIdentifier href="http://psi.egovpt.org/status/InternationalStandard"/>
109    <instanceOf><topicRef href="#t50"/></instanceOf>
110    <name><value>International Standard</value></name>
111  </topic>
112
113  <topic id="t53">
114    <itemIdentity href="http://psi.egovpt.org/itemIdentifiers#t53"/>
115    <subjectIdentifier href="http://psi.egovpt.org/types/description"/>
116    <instanceOf><topicRef href="#t6"/></instanceOf>
117    <name><value>Topic has a given description</value></name>
118  </topic>
119
120  <topic id="t54">
121    <itemIdentity href="http://psi.egovpt.org/itemIdentifiers#t54"/>
122    <subjectIdentifier href="http://psi.egovpt.org/types/standardValidFromDate"/>
123    <instanceOf><topicRef href="#t6"/></instanceOf>
124    <name><value>Standard is valid from a given date</value></name>
125  </topic>
126
127  <topic id="t55">
128    <itemIdentity href="http://psi.egovpt.org/itemIdentifiers#t55"/>
129    <subjectIdentifier href="http://psi.egovpt.org/types/links"/>
130    <instanceOf><topicRef href="#t6"/></instanceOf>
131    <name><value>Links pertinent to this URL</value></name>
132  </topic>
133
134  <topic id="t56">
135    <itemIdentity href="http://psi.egovpt.org/itemIdentifiers#t56"/>
136    <subjectIdentifier href="http://psi.egovpt.org/types/topicIsAboutSubject"/>
137    <instanceOf>
138      <topicRef href="#t7"/>
139    </instanceOf>
140    <name>
141      <value>topic is about subject</value>
142    </name>
143  </topic>
144
145  <topic id="t57">
146    <itemIdentity href="http://psi.egovpt.org/itemIdentifiers#t57"/>
147    <subjectIdentifier href="http://psi.egovpt.org/types/isNarrowerSubject"/>
148    <instanceOf>
149      <topicRef href="#t7"/>
150    </instanceOf>
151    <name>
152      <value>subject is narrower than the other one</value>
153    </name>
154  </topic>
155
156  <topic id="t58">
157    <itemIdentity href="http://psi.egovpt.org/itemIdentifiers#t58"/>
158    <subjectIdentifier href="http://psi.egovpt.org/types/narrowerSubject"/>
159    <instanceOf>
160      <topicRef href="#t8"/>
161    </instanceOf>
162    <name>
163      <value>subject is narrower than the other one</value>
164    </name>
165  </topic>
166
167  <topic id="t59">
168    <itemIdentity href="http://psi.egovpt.org/itemIdentifiers#t59"/>
169    <subjectIdentifier href="http://psi.egovpt.org/types/broaderSubject"/>
170    <instanceOf>
171      <topicRef href="#t8"/>
172    </instanceOf>
173    <name>
174      <value>subject is broader than the other one</value>
175    </name>
176  </topic>
177
178  <topic id="t60">
179    <itemIdentity href="http://psi.egovpt.org/itemIdentifiers#t60"/>
180    <subjectIdentifier href="http://psi.egovpt.org/types/standardIsAboutSubject"/>
181    <instanceOf>
182      <topicRef href="#t7"/>
183    </instanceOf>
184    <name>
185      <value>standard is about subject</value>
186    </name>
187  </topic>
188
189  <topic id="t61">
190    <itemIdentity href="http://psi.egovpt.org/itemIdentifiers#t61"/>
191    <subjectIdentifier href="http://psi.egovpt.org/types/SubjectRoleType"/>
192    <instanceOf>
193      <topicRef href="#t8"/>
194    </instanceOf>
195    <name>
196      <value>role is subject</value>
197    </name>
198  </topic>
199
200  <topic id="t62">
201    <itemIdentity href="http://psi.egovpt.org/itemIdentifiers#t62"/>
202    <subjectIdentifier href="http://psi.egovpt.org/types/StandardRoleType"/>
203    <instanceOf>
204      <topicRef href="#t8"/>
205    </instanceOf>
206    <name>
207      <value>role is standard</value>
208    </name>
209  </topic>
210
211  <topic id="t63">
212    <itemIdentity href="http://psi.egovpt.org/itemIdentifiers#t63"/>
213    <subjectIdentifier href="http://psi.egovpt.org/types/ServiceRoleType"/>
214    <instanceOf>
215      <topicRef href="#t8"/>
216    </instanceOf>
217    <name>
218      <value>role is service</value>
219    </name>
220  </topic>
221
222
223  <topic id="t64">
224    <itemIdentity href="http://psi.egovpt.org/itemIdentifiers#t64"/>
225    <subjectIdentifier href="http://psi.egovpt.org/types/serviceUsesStandard"/>
226    <instanceOf>
227      <topicRef href="#t7"/>
228    </instanceOf>
229    <name>
230      <value>service uses standard</value>
231    </name>
232  </topic>
233
234  <!-- A few standards -->
235  <topic id="t100">
236    <itemIdentity href="http://psi.egovpt.org/itemIdentifiers#t100"/>
237    <subjectIdentifier href="http://psi.egovpt.org/standard/ISO+19115%3A+Geographic+Information+-+Metadata"/>
238    <instanceOf><topicRef href="#t3a"/></instanceOf>
239    <name>
240      <itemIdentity href="http://psi.egovpt.org/itemIdentifiers#t100_n1"/>
241      <value>ISO 19115</value>
242      <variant>
243        <itemIdentity href="http://psi.egovpt.org/itemIdentifiers#t100_n1_v1"/>
244        <scope><topicRef href="#display"/></scope>
245        <resourceData>Geographic Information - Metadata</resourceData>
246      </variant>
247      <variant>
248        <itemIdentity href="http://psi.egovpt.org/itemIdentifiers#t100_n1_v2"/>
249        <scope><topicRef href="#sort"/></scope>
250        <resourceData>ISO-19115</resourceData>
251      </variant>
252    </name>
253    <occurrence>
254      <itemIdentity href="http://psi.egovpt.org/itemIdentifiers#t100_o1"/>
255      <type><topicRef href="#t51"/></type>
256      <resourceRef href="http://www.budabe.de/"/>
257    </occurrence>
258    <occurrence>
259      <itemIdentity href="http://psi.egovpt.org/itemIdentifiers#t100_o2"/>
260      <type><topicRef href="#t53"/></type>
261      <resourceData
262          datatype="http://www.w3.org/2001/XMLSchema#string">The ISO 19115 standard ...</resourceData>
263    </occurrence>
264    <occurrence>
265      <itemIdentity href="http://psi.egovpt.org/itemIdentifiers#t100_o3"/>
266      <type><topicRef href="#t54"/></type>
267      <resourceData datatype="http://www.w3.org/2001/XMLSchema#date">2003-01-01</resourceData>
268    </occurrence>
269    <occurrence>
270      <itemIdentity href="http://psi.egovpt.org/itemIdentifiers#t100_o4"/>
271      <type><topicRef href="#t55"/></type>
272      <resourceRef href="http://www.editeur.org/standards/ISO19115.pdf"/>
273    </occurrence>
274  </topic>
275
276  <topic id="t101">
277    <subjectIdentifier href="http://psi.egovpt.org/standard/Topic+Maps+2002"/>
278    <instanceOf>
279      <topicRef href="#t3a"/><!-- semantic standard -->
280    </instanceOf>
281    <name>
282      <value>Topic Maps 2002</value>
283    </name>
284    <name>
285      <itemIdentity href="http://psi.egovpt.org/itemIdentifiers#t101_n2"/>
286      <type>
287        <!-- doesn't make a lot of sense, only for testing -->
288        <topicRef href="#t50a"/>
289      </type>
290      <scope>
291        <topicRef href="#t50a"/><!-- long name -->
292      </scope>
293      <value>ISO/IEC 13250:2002: Topic Maps</value>
294      <variant>
295        <itemIdentity href="http://psi.egovpt.org/itemIdentifiers#t101_n2_v1"/>
296        <scope><topicRef href="#sort"/></scope>
297        <resourceData datatype="http://www.w3.org/2001/XMLSchema#string">ISO/IEC-13250:2002</resourceData>
298      </variant>
299      <variant>
300        <itemIdentity href="http://psi.egovpt.org/itemIdentifiers#t101_n2_v2"/>
301        <scope><topicRef href="#sort"/></scope>
302        <resourceData datatype="http://www.w3.org/2001/XMLSchema#string">ISO/IEC-13250:2002</resourceData>
303      </variant><!-- should be merged with the first variant and have 2 itemIdentity-elements -->
304    </name>
305    <occurrence>
306      <type>
307        <topicRef href="#t51"/><!-- standard has status -->
308      </type>
309      <resourceRef href="#t52"/><!-- is this a good way to model the relationship? borrowed as is from the demonstrator -->
310    </occurrence>
311    <occurrence>
312      <type>
313        <topicRef href="#t53"/><!-- description -->
314      </type>
315      <resourceData>This International Standard provides a
316      standardized notation for interchangeably representing
317      information about the structure of information resources used to
318      define topics, and the relationships between topics. A set of
319      one or more interrelated documents that employs the notation
320      defined by this International Standard is called a topic map. In
321      general, the structural information conveyed by topic maps
322      includes:&#13; &#8212; groupings of addressable information
323      objects around topics (&#8216;occurrences&#8217;), and&#13;
324      &#8212; relationships between topics
325      (&#8216;associations&#8217;).</resourceData>
326    </occurrence>
327    <occurrence>
328      <type><topicRef href="#t54"/></type>
329      <resourceData datatype="//www.w3.org/2001/XMLSchema#date">2002-05-19</resourceData>
330    </occurrence>
331    <occurrence>
332      <type>
333        <topicRef href="#t55"/>
334      </type>
335      <resourceRef href="http://www1.y12.doe.gov/capabilities/sgml/sc34/document/0322_files/iso13250-2nd-ed-v2.pdf"/>
336    </occurrence>
337  </topic>
338
339  <!-- A few subjects -->
340  <topic id="t200">
341    <subjectIdentifier href="http://psi.egovpt.org/subject/Web+Services"/>
342    <instanceOf><topicRef href="#t4"/></instanceOf>
343    <name>
344      <value>Web Services</value>
345    </name>
346  </topic>
347
348  <topic id="t201">
349    <subjectIdentifier href="http://psi.egovpt.org/subject/Semantic+Description"/>
350    <instanceOf><topicRef href="#t4"/></instanceOf>
351    <name>
352      <value>Semantic Description</value>
353    </name>
354  </topic>
355
356  <topic id="t202">
357    <subjectIdentifier href="http://psi.egovpt.org/subject/Data"/>
358    <instanceOf><topicRef href="#t4"/></instanceOf>
359    <name>
360      <value>Types of data</value>
361    </name>
362  </topic>
363
364  <topic id="t203">
365    <subjectIdentifier href="http://psi.egovpt.org/subject/GeoData"/>
366    <instanceOf><topicRef href="#t4"/></instanceOf>
367    <name>
368      <value>Geographic Data</value>
369    </name>
370  </topic>
371
372  <topic id="t204">
373    <subjectIdentifier href="http://psi.egovpt.org/subject/Legal+Data"/>
374    <instanceOf><topicRef href="#t4"/></instanceOf>
375    <name>
376      <value>Legal data</value>
377    </name>
378  </topic>
379
380
381  <!-- A few services -->
382  <topic id="t300">
383    <subjectIdentifier href="http://psi.egovpt.org/service/Norwegian+National+Curriculum"/>
384    <instanceOf>
385      <topicRef href="#t2"/>
386    </instanceOf>
387    <name><value>Norwegian National Curriculum</value></name>
388    <occurrence>
389      <type><topicRef href="#t53"/></type>
390      <resourceData>Normative version of the national Norwegian curriculum</resourceData>
391    </occurrence>
392    <occurrence>
393      <type><topicRef href="#t55"/></type>
394      <resourceRef href="http://www.udir.no"/>
395    </occurrence>
396  </topic>
397
398  <topic id="t301">
399    <subjectIdentifier href="http://psi.egovpt.org/service/Google+Maps"/>
400    <instanceOf>
401      <topicRef href="#t2"/>
402    </instanceOf>
403    <name>
404      <scope><topicRef href="#t50a"/></scope>
405      <value>Google Maps</value>
406    </name>
407    <occurrence>
408      <type><topicRef href="#t53"/></type>
409      <resourceData><div xmlns="http://www.w3.org/1999/xhtml"><p>a popular geodata service that is widely used for mashups with geodata</p><p>Probably not really conformant to ISO 19115, but who cares in this context.</p></div></resourceData>
410    </occurrence>
411    <occurrence>
412      <type><topicRef href="#t55"/></type>
413      <resourceRef href="http://maps.google.com"/>
414    </occurrence>
415  </topic>
416
417  <topic id="t301a">
418    <!-- exists for the sole purpose of being merged with t301 -->
419    <subjectIdentifier href="http://psi.egovpt.org/service/Google+Maps"/>
420    <subjectIdentifier href="http://maps.google.com"/>
421    <name>
422      <itemIdentity href="http://psi.egovpt.org/topic/t301a_n1"/>
423      <scope><topicRef href="#t50a"/></scope>
424      <value>Google Maps</value>
425    </name>
426    <name>
427      <scope>
428        <topicRef href="#t50a"/><!-- long name -->
429      </scope>
430      <value>Google Maps Application</value>
431    </name>
432    <occurrence>
433      <type><topicRef href="#t55"/></type>
434      <resourceRef href="http://maps.google.de"/>
435    </occurrence>
436  </topic>
437
438  <!-- A few associations -->
439  <association>
440    <type><topicRef href="#t57"/></type>
441    <role>
442      <type><topicRef href="#t59"/></type>
443      <topicRef href="#t202"/> <!-- subject: data -->
444    </role>
445    <role>
446      <type><topicRef href="#t58"/></type>
447      <topicRef href="#t203"/> <!-- subject: geodata -->
448    </role>
449  </association>
450
451  <association>
452    <type><topicRef href="#t57"/></type>
453    <role>
454      <type><topicRef href="#t59"/></type>
455      <topicRef href="#t202"/> <!-- subject: data -->
456    </role>
457    <role>
458      <type><topicRef href="#t58"/></type>
459      <topicRef href="#t204"/> <!-- subject: legal data -->
460    </role>
461  </association>
462
463  <association>
464    <type><topicRef href="#t60"/></type><!-- standard is about subject -->
465    <role>
466      <type><topicRef href="#t62"/></type>
467      <topicRef href="#t100"/> <!-- standard: geodata -->
468    </role>
469    <role>
470      <type><topicRef href="#t61"/></type>
471      <topicRef href="#t203"/> <!-- subject: geodata -->
472    </role>
473  </association>
474
475  <association>
476    <type><topicRef href="#t60"/></type><!-- standard is about subject -->
477    <role>
478      <type><topicRef href="#t62"/></type>
479      <topicRef href="#t100"/> <!-- standard: geodata -->
480    </role>
481    <role>
482      <type><topicRef href="#t61"/></type>
483      <topicRef href="#t201"/> <!-- subject: semantic description -->
484    </role>
485  </association>
486
487  <association>
488    <type><topicRef href="#t60"/></type><!-- standard is about subject -->
489    <role>
490      <type><topicRef href="#t62"/></type>
491      <topicRef href="#t101"/> <!-- standard: TM -->
492    </role>
493    <role>
494      <type><topicRef href="#t61"/></type>
495      <topicRef href="#t201"/> <!-- subject: semantic description -->
496    </role>
497  </association>
498
499  <association>
500    <type><topicRef href="#t64"/></type><!-- service uses standard -->
501    <role>
502      <type><topicRef href="#t63"/></type>
503      <topicRef href="#t300"/> <!-- service: Norwegian Curriculum -->
504    </role>
505    <role>
506      <type><topicRef href="#t62"/></type>
507      <topicRef href="#t101"/> <!-- standard: TM -->
508    </role>
509  </association>
510 
511  <association>
512    <type><topicRef href="#t64"/></type><!-- service uses standard -->
513    <role>
514      <type><topicRef href="#t63"/></type>
515      <topicRef href="#t301a"/> <!-- service: Google Maps, deliberately its second topicid  -->
516    </role>
517    <role>
518      <type><topicRef href="#t62"/></type>
519      <topicRef href="#t100"/> <!-- standard: GeoData -->
520    </role>
521  </association>
522
523  <association> <!-- deliberately duplicated association to test merging -->
524    <itemIdentity href="http://psi.egovpt.org/itemIdentifiers#assoc_7"/>
525    <type><topicRef href="#t64"/></type><!-- service uses standard -->
526    <role>
527      <type><topicRef href="#t63"/></type>
528      <topicRef href="#t301a"/> <!-- service: Google Maps, deliberately its second topicid  -->
529    </role>
530    <role>
531      <type><topicRef href="#t62"/></type>
532      <topicRef href="#t100"/> <!-- standard: GeoData -->
533    </role>
534  </association>
535
536
537
538
539  <!-- === for existing variants in names =================================== -->
540  <topic id="sort">
541    <subjectIdentifier href="http://www.topicmaps.org/xtm/1.0/core.xtm#sort"/>
542    <name>
543      <value>sort</value>
544    </name>
545  </topic>
546
547  <topic id="display">
548    <subjectIdentifier href="http://www.topicmaps.org/xtm/1.0/core.xtm#display"/>
549    <name>
550      <value>display</value>
551    </name>
552  </topic>
553
554
555</topicMap>
Note: See TracBrowser for help on using the repository browser.