-
Notifications
You must be signed in to change notification settings - Fork 0
/
example6.rdf
98 lines (72 loc) · 3.19 KB
/
example6.rdf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
<?xml version="1.0"?>
<!DOCTYPE rdf:RDF [
<!ENTITY xsd "http://www.w3.org/2001/XMLSchema#" >
<!ENTITY rdfs "http://www.w3.org/2000/01/rdf-schema#" >
<!ENTITY rdf "http://www.w3.org/1999/02/22-rdf-syntax-ns#" >
<!ENTITY example6 "http://somewhere#" >
<!ENTITY foaf "http://www.semanticweb.org/ontologies/example6.rdf#http://xmlns.com/foaf/0.1/" >
<!ENTITY vcard-rdf "http://www.semanticweb.org/ontologies/example6.rdf#http://www.w3.org/2001/vcard-rdf/3.0/" >
]>
<rdf:RDF xmlns="http://somewhere#"
xml:base="http://somewhere"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:foaf="&example6;http://xmlns.com/foaf/0.1/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:vcard-rdf="&example6;http://www.w3.org/2001/vcard-rdf/3.0/"
xmlns:example6="http://www.semanticweb.org/ontologies/example6.rdf#">
<!--
///////////////////////////////////////////////////////////////////////////////////////
//
// Datatypes
//
///////////////////////////////////////////////////////////////////////////////////////
-->
<rdfs:Datatype rdf:about="#http://www.w3.org/2001/vcard-rdf/3.0/FN">
<rdfs:range rdf:resource="&xsd;string"/>
</rdfs:Datatype>
<rdfs:Property rdf:about="#http://www.w3.org/2001/vcard-rdf/3.0/Family">
<rdfs:range rdf:resource="&xsd;string"/>
</rdfs:Property>
<rdfs:Datatype rdf:about="#http://www.w3.org/2001/vcard-rdf/3.0/Given">
<rdfs:range rdf:resource="&xsd;string"/>
</rdfs:Datatype>
<!--
///////////////////////////////////////////////////////////////////////////////////////
//
// Classes
//
///////////////////////////////////////////////////////////////////////////////////////
-->
<rdfs:Class rdf:about="#Person"/>
<rdfs:Class rdf:about="#Researcher">
<rdfs:subClassOf rdf:resource="#Person"/>
</rdfs:Class>
<rdfs:Class rdf:about="#PhDstudent">
<rdfs:subClassOf rdf:resource="#Researcher"/>
</rdfs:Class>
<rdfs:Class rdf:about="#University"/>
<!--
///////////////////////////////////////////////////////////////////////////////////////
//
// Individuals
//
///////////////////////////////////////////////////////////////////////////////////////
-->
<Person rdf:about="#SaraJones">
<vcard-rdf:Given rdf:datatype="&xsd;string">Sara</vcard-rdf:Given>
<vcard-rdf:FN rdf:datatype="&xsd;string">Sara Jones</vcard-rdf:FN>
<vcard-rdf:Family rdf:datatype="&xsd;string">Jones</vcard-rdf:Family>
</Person>
<Person rdf:about="#JohnSmith">
<vcard-rdf:Given rdf:datatype="&xsd;string">John</vcard-rdf:Given>
<vcard-rdf:FN rdf:datatype="&xsd;string">John Smith</vcard-rdf:FN>
<vcard-rdf:Family rdf:datatype="&xsd;string">Smith</vcard-rdf:Family>
</Person>
<Researcher rdf:about="#JaneSmith">
<vcard-rdf:Given rdf:datatype="&xsd;string">Jane</vcard-rdf:Given>
<vcard-rdf:FN rdf:datatype="&xsd;string">jane Smith</vcard-rdf:FN>
<vcard-rdf:Family rdf:datatype="&xsd;string">Smith</vcard-rdf:Family>
</Researcher>
<University rdf:about="#UPM"/>
</rdf:RDF>