source: trunk/src/unit_tests/poems_light_tm_reification_xtm1.0.xtm

Last change on this file was 330, checked in by lgiessmann, 14 years ago

fixed ticket #64 --> reifier of the TopicMap?-element for xtm 1.0; added a corresponding unit-test; this problem was solved for the xtm 2.0 importer in revision 329

File size: 3.0 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
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<tm:topicMap xmlns:tm="http://www.topicmaps.org/xtm/1.0/"
15             xmlns:xlink="http://www.w3.org/1999/xlink"
16             id="tm-reifier">
17
18  <tm:topic id="tm-reifier-topic">
19    <tm:subjectIdentity>
20      <tm:subjectIndicatorRef xlink:href="#tm-reifier"/>
21    </tm:subjectIdentity>
22  </tm:topic>
23
24  <tm:topic id="author">
25    <tm:subjectIdentity>
26      <tm:subjectIndicatorRef xlink:href="http://some.where/types/Author"/>
27    </tm:subjectIdentity>
28  </tm:topic>
29
30  <tm:topic id="poem">
31    <tm:subjectIdentity>
32      <tm:subjectIndicatorRef xlink:href="http://some.where/types/Poem"/>
33    </tm:subjectIdentity>
34  </tm:topic>
35
36  <tm:topic id="writer">
37    <tm:subjectIdentity>
38      <tm:subjectIndicatorRef xlink:href="http://some.where/roletype/writer"/>
39    </tm:subjectIdentity>
40  </tm:topic>
41
42  <tm:topic id="written">
43    <tm:subjectIdentity>
44      <tm:subjectIndicatorRef xlink:href="http://some.where/roletype/written"/>
45    </tm:subjectIdentity>
46  </tm:topic>
47
48  <tm:topic id="wrote">
49    <tm:subjectIdentity>
50      <tm:subjectIndicatorRef xlink:href="http://some.where/relationship/wrote"/>
51    </tm:subjectIdentity>
52  </tm:topic>
53
54  <tm:topic id="goethe">
55    <tm:subjectIdentity>
56      <tm:subjectIndicatorRef xlink:href="http://some.where/author/Goethe"/>
57    </tm:subjectIdentity>
58    <tm:instanceOf>
59      <tm:topicRef xlink:href="#author"/>
60    </tm:instanceOf>
61  </tm:topic>
62
63  <tm:topic id="zauberlehrling">
64    <tm:subjectIdentity>
65      <tm:subjectIndicatorRef xlink:href="http://some.where/poem/Der_Zauberlehrling"/>
66    </tm:subjectIdentity>
67    <tm:instanceOf>
68      <tm:topicRef xlink:href="#poem"/>
69    </tm:instanceOf>
70  </tm:topic>
71
72  <tm:association>
73    <tm:instanceOf>
74      <tm:topicRef xlink:href="#wrote"/>
75    </tm:instanceOf>
76    <tm:member>
77      <tm:roleSpec>
78        <tm:topicRef xlink:href="#writer"/>
79      </tm:roleSpec>
80      <tm:topicRef xlink:href="#goethe"/>
81    </tm:member>
82    <tm:member>
83      <tm:roleSpec>
84        <tm:topicRef xlink:href="#written"/>
85      </tm:roleSpec>
86      <tm:topicRef xlink:href="#zauberlehrling"/>
87    </tm:member>
88  </tm:association>
89</tm:topicMap>
Note: See TracBrowser for help on using the repository browser.