source: trunk/src/unit_tests/reification.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: 4.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<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
15         xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
16         xmlns:sim="http://simpsons.tv"
17         xmlns:arcs="http://simpsons.tv/arcs/"
18         xmlns:isi="http://isidorus/tm2rdf_mapping/">
19
20  <!-- reification in RDF/XML -->
21  <rdf:Description rdf:about="http://simpsons.tv/homer">
22    <arcs:married rdf:ID="married-arc">
23      <rdf:Description rdf:about="http://simpsons.tv/marge">
24        <arcs:has-child rdf:resource="http://simpsons.tv/bart"/>
25        <arcs:lastName>Simpson</arcs:lastName>
26      </rdf:Description>
27    </arcs:married>
28    <arcs:has-child>
29      <rdf:Description rdf:about="http://simpsons.tv/bart">
30        <arcs:lastName rdf:ID="lastName-arc">Simpson</arcs:lastName>
31      </rdf:Description>
32    </arcs:has-child>
33    <arcs:lastName>Simpson</arcs:lastName>
34  </rdf:Description>
35
36  <!-- reifiers -->
37  <rdf:Description rdf:about="#married-arc">
38    <arcs:author rdf:resource="http://some.where/me"/>
39  </rdf:Description>
40  <rdf:Description rdf:about="#lastName-arc">
41    <arcs:author rdf:resource="http://some.where/me"/>
42  </rdf:Description>
43
44
45  <!-- reification in Topic-Maps-mapped-RDF -->
46  <rdf:Description rdf:about="http://simpsons.tv/lisa">
47    <rdf:type rdf:resource="http://isidorus/tm2rdf_mapping/types/Topic"/>
48    <isi:name>
49      <rdf:Description>
50        <rdf:type rdf:resource="http://isidorus/tm2rdf_mapping/types/Name"/>
51        <isi:nametype rdf:resource="http://simpsons.tv/lastName"/>
52        <isi:value>Simpson</isi:value>
53        <isi:reifier rdf:resource="lisa-name"/>
54        <isi:variant>
55          <rdf:Description>
56            <rdf:type rdf:resource="http://isidorus/tm2rdf_mapping/types/Variant"/>
57            <isi:scope rdf:resource="http://simpsons.tv/sortName"/>
58            <isi:value>Lisa Simpson</isi:value>
59            <isi:reifier rdf:resource="lisa-name-variant"/>
60          </rdf:Description>
61        </isi:variant>
62      </rdf:Description>
63    </isi:name>
64    <isi:occurrence>
65      <rdf:Description>
66        <isi:reifier rdf:resource="lisa-occurrence"/>
67        <rdf:type rdf:resource="http://isidorus/tm2rdf_mapping/types/Occurrence"/>
68        <isi:occurrencetype rdf:resource="http://simpsons.tv/profession"/>
69        <isi:value>Student</isi:value>
70      </rdf:Description>
71    </isi:occurrence>
72  </rdf:Description>
73
74  <!-- reifiers -->
75  <rdf:Description rdf:about="lisa-name">
76    <arcs:author rdf:resource="http://some.where/me"/>
77  </rdf:Description>
78  <rdf:Description rdf:about="lisa-name-variant">
79    <arcs:author rdf:resource="http://some.where/me"/>
80  </rdf:Description>
81  <rdf:Description rdf:about="lisa-occurrence">
82    <arcs:author rdf:resource="http://some.where/me"/>
83  </rdf:Description>
84
85
86  <!-- reification in Topic-Maps-mapped-RDF (TM-association) -->
87  <rdf:Description>
88    <rdf:type rdf:resource="http://isidorus/tm2rdf_mapping/types/Association"/>
89    <isi:associationtype rdf:resource="http://simpsons.tv/friendship"/>
90    <isi:reifier rdf:resource="friendship-association"/>
91    <isi:role>
92      <rdf:Description>
93        <rdf:type rdf:resource="http://isidorus/tm2rdf_mapping/types/Role"/>
94        <isi:roletype rdf:resource="http://simpsons.tv/friend"/>
95        <isi:player rdf:resource="http://simpsons.tv/lenny"/>
96      </rdf:Description>
97    </isi:role>
98    <isi:role>
99      <rdf:Description>
100        <rdf:type rdf:resource="http://isidorus/tm2rdf_mapping/types/Role"/>
101        <isi:roletype rdf:resource="http://simpsons.tv/friend"/>
102        <isi:player rdf:resource="http://simpsons.tv/carl"/>
103        <isi:reifier rdf:resource="friend-role"/>
104      </rdf:Description>
105    </isi:role>
106  </rdf:Description>
107
108  <!-- reifiers -->
109  <rdf:Description rdf:about="friend-role">
110    <arcs:author rdf:resource="http://some.where/me"/>
111  </rdf:Description>
112  <rdf:Description rdf:about="friendship-association">
113    <arcs:author rdf:resource="http://some.where/me"/>
114  </rdf:Description>
115</rdf:RDF>
Note: See TracBrowser for help on using the repository browser.