source: trunk/src/unit_tests/poems_light_tm_ii.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: 2.6 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 version="2.0" xmlns:tm="http://www.topicmaps.org/xtm/"
15             reifier="http://some.where/poems/topicMap-reifier">
16  <tm:itemIdentity href="http://some.where/poems_light_tm_ii_1"/>
17
18  <tm:itemIdentity href="http://some.where/poems_light_tm_ii_2"/>
19
20  <tm:topic id="topicMap-reifier">
21    <tm:itemIdentity href="http://some.where/poems/topicMap-reifier"/>
22  </tm:topic>
23
24  <tm:topic id="author">
25    <tm:subjectIdentifier href="http://some.where/types/Author"/>
26  </tm:topic>
27
28  <tm:topic id="poem">
29    <tm:subjectIdentifier href="http://some.where/types/Poem"/>
30  </tm:topic>
31
32  <tm:topic id="writer">
33    <tm:subjectIdentifier href="http://some.where/roletype/writer"/>
34  </tm:topic>
35
36  <tm:topic id="written">
37    <tm:subjectIdentifier href="http://some.where/roletype/written"/>
38  </tm:topic>
39
40  <tm:topic id="wrote">
41    <tm:subjectIdentifier href="http://some.where/relationship/wrote"/>
42  </tm:topic>
43
44  <tm:topic id="goethe">
45    <tm:subjectIdentifier href="http://some.where/author/Goethe"/>
46    <tm:instanceOf><tm:topicRef href="#author"/></tm:instanceOf>
47  </tm:topic>
48
49  <tm:topic id="zauberlehrling">
50    <tm:subjectIdentifier href="http://some.where/poem/Der_Zauberlehrling"/>
51    <tm:itemIdentity href="http://some.where/poem/Zauberlehrling_itemIdentity_1"/>
52    <tm:instanceOf><tm:topicRef href="#poem"/></tm:instanceOf>
53  </tm:topic>
54
55  <tm:association>
56    <tm:type><tm:topicRef href="#wrote"/></tm:type>
57    <tm:role>
58      <tm:type><tm:topicRef href="#writer"/></tm:type>
59      <tm:topicRef href="#goethe"/>
60    </tm:role>
61    <tm:role>
62      <tm:type><tm:topicRef href="#written"/></tm:type>
63      <tm:topicRef href="#zauberlehrling"/>
64    </tm:role>
65  </tm:association>
66</tm:topicMap>
Note: See TracBrowser for help on using the repository browser.