source: trunk/src/unit_tests/reification_xtm1.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

  • Property svn:executable set to *
File size: 5.6 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/1.0/"
15          xmlns:xlink="http://www.w3.org/1999/xlink">
16  <t:topic xmlns:t="http://www.topicmaps.org/xtm/1.0/"
17           xmlns:xlink="http://www.w3.org/1999/xlink"
18           id="homer">
19    <t:subjectIdentity>
20      <t:subjectIndicatorRef xlink:href="http://simpsons.tv/homer"/>
21    </t:subjectIdentity>
22    <t:baseName id="homer-name">
23      <t:baseNameString>Homer Simpson</t:baseNameString>
24      <t:variant id="homer-name-variant">
25        <t:parameters><t:topicRef xlink:href="#fullName"/></t:parameters>
26        <t:variantName>
27          <t:resourceData>Homer Jay Simpson</t:resourceData>
28        </t:variantName>
29      </t:variant>
30    </t:baseName>
31    <t:occurrence id="homer-occurrence">
32      <t:instanceOf>
33        <t:topicRef xlink:href="#profession"/>
34      </t:instanceOf>
35      <t:resourceData>Safety Inspector</t:resourceData>
36    </t:occurrence>
37  </t:topic>
38
39  <t:topic xmlns:t="http://www.topicmaps.org/xtm/1.0/"
40           xmlns:xlink="http://www.w3.org/1999/xlink"
41           id="marge">
42    <t:subjectIdentity>
43      <t:subjectIndicatorRef xlink:href="http://simpsons.tv/marge"/>
44    </t:subjectIdentity>
45    <t:baseName>
46      <t:baseNameString>Marge Simpson</t:baseNameString>
47      <t:variant>
48        <t:parameters><t:topicRef xlink:href="#fullName"/></t:parameters>
49        <t:variantName>
50          <t:resourceData>Marjorie Simpson</t:resourceData>
51        </t:variantName>
52      </t:variant>
53    </t:baseName>
54    <t:occurrence>
55      <t:instanceOf>
56        <t:topicRef xlink:href="#profession"/>
57      </t:instanceOf>
58      <t:resourceData>Housewife</t:resourceData>
59    </t:occurrence>
60  </t:topic>
61
62  <t:topic xmlns:t="http://www.topicmaps.org/xtm/1.0/"
63           xmlns:xlink="http://www.w3.org/1999/xlink"
64           id="fullName">
65    <t:subjectIdentity>
66      <t:subjectIndicatorRef xlink:href="http://simpsons.tv/fullName"/>
67    </t:subjectIdentity>
68  </t:topic>
69
70  <t:topic xmlns:t="http://www.topicmaps.org/xtm/1.0/"
71           xmlns:xlink="http://www.w3.org/1999/xlink"
72           id="profession">
73    <t:subjectIdentity>
74      <t:subjectIndicatorRef xlink:href="http://simpsons.tv/profession"/>
75    </t:subjectIdentity>
76  </t:topic>
77
78  <t:topic xmlns:t="http://www.topicmaps.org/xtm/1.0/"
79           xmlns:xlink="http://www.w3.org/1999/xlink"
80           id="married">
81    <t:subjectIdentity>
82      <t:subjectIndicatorRef xlink:href="http://simpsons.tv/married"/>
83    </t:subjectIdentity>
84  </t:topic>
85
86  <t:topic xmlns:t="http://www.topicmaps.org/xtm/1.0/"
87           xmlns:xlink="http://www.w3.org/1999/xlink"
88           id="husband">
89    <t:subjectIdentity>
90      <t:subjectIndicatorRef xlink:href="http://simpsons.tv/husband"/>
91    </t:subjectIdentity>
92  </t:topic>
93
94  <t:topic xmlns:t="http://www.topicmaps.org/xtm/1.0/"
95           xmlns:xlink="http://www.w3.org/1999/xlink"
96           id="wife">
97    <t:subjectIdentity>
98      <t:subjectIndicatorRef xlink:href="http://simpsons.tv/wife"/>
99    </t:subjectIdentity>
100  </t:topic>
101
102  <t:association xmlns:t="http://www.topicmaps.org/xtm/1.0/"
103                 xmlns:xlink="http://www.w3.org/1999/xlink"
104                 id="a-married">
105    <t:instanceOf>
106      <t:topicRef xlink:href="#married"/>
107    </t:instanceOf>
108    <t:member id="married-husband-role">
109      <t:roleSpec>
110        <t:topicRef xlink:href="#husband"/>
111      </t:roleSpec>
112      <t:topicRef xlink:href="#homer"/>
113    </t:member>
114    <t:member>
115      <t:roleSpec>
116        <t:topicRef xlink:href="#wife"/>
117      </t:roleSpec>
118      <t:topicRef xlink:href="#marge"/>
119    </t:member>
120  </t:association>
121
122
123  <!-- === reifier-topics ================================================== -->
124  <t:topic xmlns:t="http://www.topicmaps.org/xtm/1.0/"
125           xmlns:xlink="http://www.w3.org/1999/xlink"
126           id="homer-name-reifier">
127    <t:subjectIdentity>
128      <t:subjectIndicatorRef xlink:href="#homer-name"/>
129    </t:subjectIdentity>
130  </t:topic>
131
132  <t:topic xmlns:t="http://www.topicmaps.org/xtm/1.0/"
133           xmlns:xlink="http://www.w3.org/1999/xlink"
134           id="homer-name-variant-reifier">
135    <t:subjectIdentity>
136      <t:subjectIndicatorRef xlink:href="#homer-name-variant"/>
137    </t:subjectIdentity>
138  </t:topic>
139
140  <t:topic xmlns:t="http://www.topicmaps.org/xtm/1.0/"
141           xmlns:xlink="http://www.w3.org/1999/xlink"
142           id="homer-occurrence-reifier">
143    <t:subjectIdentity>
144      <t:subjectIndicatorRef xlink:href="#homer-occurrence"/>
145    </t:subjectIdentity>
146  </t:topic>
147
148  <t:topic xmlns:t="http://www.topicmaps.org/xtm/1.0/"
149           xmlns:xlink="http://www.w3.org/1999/xlink"
150           id="married-reifier">
151    <t:subjectIdentity>
152      <t:subjectIndicatorRef xlink:href="#a-married"/>
153    </t:subjectIdentity>
154  </t:topic>
155
156  <t:topic xmlns:t="http://www.topicmaps.org/xtm/1.0/"
157           xmlns:xlink="http://www.w3.org/1999/xlink"
158           id="married-husband-reifier">
159    <t:subjectIdentity>
160      <t:subjectIndicatorRef xlink:href="#married-husband-role"/>
161    </t:subjectIdentity>
162  </t:topic>
163</topicMap>
Note: See TracBrowser for help on using the repository browser.