source: trunk/src/unit_tests/full_mapping.rdf

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: 8.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<rdf:RDF xmlns:isi="http://isidorus/tm2rdf_mapping/"
15         xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
16         xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
17         xmlns:xml="http://www.w3.org/XML/1998/namespace">
18  <!-- === topic: marge ==================================================== -->
19  <rdf:Description rdf:about="http://simpsons/marge">
20    <rdf:type rdf:resource="http://isidorus/tm2rdf_mapping/types/Topic"/>
21    <isi:name>
22      <rdf:Description rdf:nodeID="id_283">
23        <rdf:type rdf:resource="http://isidorus/tm2rdf_mapping/types/Name"/>
24        <isi:nametype rdf:resource="http://simpsons/firstName"/>
25        <isi:value rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Marjorie</isi:value>
26      </rdf:Description>
27    </isi:name>
28    <isi:name>
29      <rdf:Description rdf:nodeID="id_285">
30        <rdf:type rdf:resource="http://isidorus/tm2rdf_mapping/types/Name"/>
31        <isi:nametype rdf:resource="http://simpsons/lastName"/>
32        <isi:value rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Simpson</isi:value>
33      </rdf:Description>
34    </isi:name>
35    <ns5:profession xmlns:ns5="http://simpsons/" rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Housewife</ns5:profession>
36    <isi:occurrence rdf:nodeID="id_1234"/> <!-- equal to ns5:profession, should be merged -->
37  </rdf:Description>
38
39  <rdf:Description rdf:nodeID="id_1234">
40    <rdf:type rdf:resource="http://isidorus/tm2rdf_mapping/types/Occurrence"/>
41    <isi:occurrencetype rdf:resource="http://simpsons/profession"/>
42    <isi:value rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Housewife</isi:value>
43  </rdf:Description>
44
45
46  <rdf:Description rdf:nodeID="id_283">
47    <isi:variant rdf:parseType="Resource">
48      <rdf:type rdf:resource="http://isidorus/tm2rdf_mapping/types/Variant"/>
49      <isi:scope rdf:resource="http://simpsons/display"/>
50      <isi:value rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Marge</isi:value>
51    </isi:variant>
52  </rdf:Description>
53
54
55  <rdf:Description rdf:about="http://simpsons/marge">
56    <isi:subjectIdentifier rdf:datatype="http://www.w3.org/2001/XMLSchema#anyURI">http://simpsons/marjorie</isi:subjectIdentifier>
57  </rdf:Description>
58
59  <!-- === topic: homer ==================================================== -->
60  <rdf:Description rdf:about="http://simpsons/homer">
61    <rdf:type rdf:resource="http://isidorus/tm2rdf_mapping/types/Topic"/>
62    <isi:subjectIdentifier rdf:datatype="http://www.w3.org/2001/XMLSchema#anyURI">http://simpsons/homer_simpson</isi:subjectIdentifier>
63    <isi:subjectLocator rdf:datatype="http://www.w3.org/2001/XMLSchema#anyURI">http://some.where/resource</isi:subjectLocator>
64    <isi:itemIdentity rdf:datatype="http://www.w3.org/2001/XMLSchema#anyURI">http://simpsons/ii/homer</isi:itemIdentity>
65    <isi:name>
66      <rdf:Description rdf:nodeID="id_266">
67        <rdf:type rdf:resource="http://isidorus/tm2rdf_mapping/types/Name"/>
68        <isi:nametype rdf:resource="http://simpsons/firstName"/>
69        <isi:value rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Homer J.</isi:value>
70        <isi:variant>
71          <rdf:Description rdf:nodeID="id_272">
72            <rdf:type rdf:resource="http://isidorus/tm2rdf_mapping/types/Variant"/>
73            <isi:scope rdf:resource="http://simpsons/display"/>
74            <isi:value rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Homer</isi:value>
75          </rdf:Description>
76        </isi:variant>
77      </rdf:Description>
78    </isi:name>
79    <isi:name rdf:resource="id_2345"/> <!-- should be merged with id_266 -->
80    <isi:name>
81      <rdf:Description rdf:nodeID="id_277">
82        <rdf:type rdf:resource="http://isidorus/tm2rdf_mapping/types/Name"/>
83        <isi:nametype rdf:resource="http://simpsons/lastName"/>
84        <isi:value rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Simpson</isi:value>
85      </rdf:Description>
86    </isi:name>
87    <isi:occurrence>
88      <rdf:Description rdf:nodeID="id_279">
89        <rdf:type rdf:resource="http://isidorus/tm2rdf_mapping/types/Occurrence"/>
90        <isi:occurrencetype rdf:resource="http://simpsons/profession"/>
91        <isi:scope rdf:resource="http://simpsons/en"/>
92        <isi:value rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Safety Inspector</isi:value>
93      </rdf:Description>
94    </isi:occurrence>
95  </rdf:Description>
96
97  <rdf:Description rdf:about="id_2345">
98    <rdf:type rdf:resource="http://isidorus/tm2rdf_mapping/types/Name"/>
99    <isi:nametype rdf:resource="http://simpsons/firstName"/>
100    <isi:value rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Homer J.</isi:value>
101    <isi:variant>
102      <rdf:Description rdf:nodeID="id_272">
103        <rdf:type rdf:resource="http://isidorus/tm2rdf_mapping/types/Variant"/>
104        <isi:scope rdf:resource="http://simpsons/display"/>
105        <isi:value rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Homer</isi:value>
106      </rdf:Description>
107    </isi:variant>
108  </rdf:Description>
109
110  <!-- === association: married ============================================ -->
111  <rdf:Description rdf:nodeID="id_291">
112    <rdf:type rdf:resource="http://isidorus/tm2rdf_mapping/types/Association"/>
113    <isi:associationtype rdf:resource="http://simpsons/married"/>
114    <isi:itemIdentity rdf:datatype="http://www.w3.org/2001/XMLSchema#anyURI">http://simpsons/married/ii-1</isi:itemIdentity>
115    <isi:role>
116      <rdf:Description rdf:nodeID="id_292">
117        <isi:itemIdentity rdf:datatype="http://www.w3.org/2001/XMLSchema#anyURI">http://simpsons/role-husband/ii</isi:itemIdentity>
118        <rdf:type rdf:resource="http://isidorus/tm2rdf_mapping/types/Role"/>
119        <isi:roletype rdf:resource="http://simpsons/husband"/>
120        <isi:player rdf:resource="http://simpsons/homer"/>
121      </rdf:Description>
122    </isi:role>
123    <isi:role>
124      <rdf:Description rdf:nodeID="id_295">
125        <rdf:type rdf:resource="http://isidorus/tm2rdf_mapping/types/Role"/>
126        <isi:roletype rdf:resource="http://simpsons/wife"/>
127        <isi:player rdf:resource="http://simpsons/marge"/>
128      </rdf:Description>
129    </isi:role>
130  </rdf:Description>
131
132  <rdf:Description rdf:nodeID="id_295">
133    <isi:itemIdentity rdf:datatype="http://www.w3.org/2001/XMLSchema#anyURI">http://simpsons/role-wife/ii</isi:itemIdentity>
134  </rdf:Description>
135
136  <rdf:Description rdf:nodeID="id_291">
137    <rdf:type rdf:resource="http://isidorus/tm2rdf_mapping/types/Association"/>
138    <isi:itemIdentity rdf:datatype="http://www.w3.org/2001/XMLSchema#anyURI">http://simpsons/married/ii-1</isi:itemIdentity>
139    <isi:itemIdentity rdf:datatype="http://www.w3.org/2001/XMLSchema#anyURI">http://simpsons/married/ii-2</isi:itemIdentity>
140    <isi:associationtype rdf:resource="http://simpsons/married"/>
141    <isi:role>
142      <rdf:Description rdf:nodeID="id_295">
143        <isi:itemIdentity rdf:datatype="http://www.w3.org/2001/XMLSchema#anyURI">http://simpsons/role-wife/ii</isi:itemIdentity>
144        <rdf:type rdf:resource="http://isidorus/tm2rdf_mapping/types/Role"/>
145        <isi:roletype rdf:resource="http://simpsons/wife"/>
146        <isi:player rdf:resource="http://simpsons/marge"/>
147      </rdf:Description>
148    </isi:role>
149    <isi:role>
150      <rdf:Description rdf:nodeID="id_292">
151        <rdf:type rdf:resource="http://isidorus/tm2rdf_mapping/types/Role"/>
152        <isi:roletype rdf:resource="http://simpsons/husband"/>
153        <isi:player rdf:resource="http://simpsons/homer"/>
154      </rdf:Description>
155    </isi:role>
156  </rdf:Description>
157</rdf:RDF>
Note: See TracBrowser for help on using the repository browser.