forked from SWI-Prolog/packages-RDF
-
Notifications
You must be signed in to change notification settings - Fork 0
/
rdfs.rdfs
237 lines (201 loc) · 8.78 KB
/
rdfs.rdfs
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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE rdf:RDF [
<!ENTITY rdfs 'http://www.w3.org/2000/01/rdf-schema#'>
<!ENTITY rdf 'http://www.w3.org/1999/02/22-rdf-syntax-ns#'>
]>
<rdf:RDF
xmlns:rdf="&rdf;"
xmlns:rdfs="&rdfs;">
<rdfs:Class rdf:about="&rdfs;Resource">
<rdfs:isDefinedBy rdf:resource="&rdfs;"/>
<rdfs:label xml:lang="en">Resource</rdfs:label>
<rdfs:comment>The class resource, everything.</rdfs:comment>
</rdfs:Class>
<rdf:Property rdf:about="&rdf;type">
<rdfs:isDefinedBy rdf:resource="&rdf;"/>
<rdfs:label xml:lang="en">type</rdfs:label>
<rdfs:comment>Indicates membership of a class</rdfs:comment>
<rdfs:range rdf:resource="&rdfs;Class"/>
<rdfs:domain rdf:resource="&rdfs;Resource"/>
</rdf:Property>
<rdfs:Class rdf:about="&rdfs;Class">
<rdfs:isDefinedBy rdf:resource="&rdfs;"/>
<rdfs:label xml:lang="en">Class</rdfs:label>
<rdfs:comment>The concept of Class</rdfs:comment>
<rdfs:subClassOf rdf:resource="&rdfs;Resource"/>
</rdfs:Class>
<rdf:Property rdf:about="&rdfs;subClassOf">
<rdfs:isDefinedBy rdf:resource="&rdfs;"/>
<rdfs:label xml:lang="en">subClassOf</rdfs:label>
<rdfs:comment>Indicates membership of a class</rdfs:comment>
<rdfs:range rdf:resource="&rdfs;Class"/>
<rdfs:domain rdf:resource="&rdfs;Class"/>
</rdf:Property>
<rdf:Property rdf:about="&rdfs;subPropertyOf">
<rdfs:isDefinedBy rdf:resource="&rdfs;"/>
<rdfs:label xml:lang="en">subPropertyOf</rdfs:label>
<rdfs:comment>Indicates specialization of properties</rdfs:comment>
<rdfs:range rdf:resource="&rdf;Property"/>
<rdfs:domain rdf:resource="&rdf;Property"/>
</rdf:Property>
<rdfs:Class rdf:about="&rdf;Property">
<rdfs:isDefinedBy rdf:resource="&rdf;"/>
<rdfs:label xml:lang="en">Property</rdfs:label>
<rdfs:comment>The concept of a property.</rdfs:comment>
<rdfs:subClassOf rdf:resource="&rdfs;Resource"/>
</rdfs:Class>
<rdf:Property rdf:about="&rdfs;comment">
<rdfs:isDefinedBy rdf:resource="&rdfs;"/>
<rdfs:label xml:lang="en">comment</rdfs:label>
<rdfs:comment>Use this for descriptions</rdfs:comment>
<rdfs:domain rdf:resource="&rdfs;Resource"/>
<rdfs:range rdf:resource="&rdfs;Literal"/>
</rdf:Property>
<rdf:Property rdf:about="&rdfs;label">
<rdfs:isDefinedBy rdf:resource="&rdfs;"/>
<rdfs:label xml:lang="en">label</rdfs:label>
<rdfs:comment>Provides a human-readable version of a resource name.</rdfs:comment>
<rdfs:domain rdf:resource="&rdfs;Resource"/>
<rdfs:range rdf:resource="&rdfs;Literal"/>
</rdf:Property>
<rdf:Property rdf:about="&rdfs;domain">
<rdfs:isDefinedBy rdf:resource="&rdfs;"/>
<rdfs:label xml:lang="en">domain</rdfs:label>
<rdfs:comment>A domain class for a property type</rdfs:comment>
<rdfs:range rdf:resource="&rdfs;Class"/>
<rdfs:domain rdf:resource="&rdf;Property"/>
</rdf:Property>
<rdf:Property rdf:about="&rdfs;range">
<rdfs:isDefinedBy rdf:resource="&rdfs;"/>
<rdfs:label xml:lang="en">range</rdfs:label>
<rdfs:comment>A range class for a property type</rdfs:comment>
<rdfs:range rdf:resource="&rdfs;Class"/>
<rdfs:domain rdf:resource="&rdf;Property"/>
</rdf:Property>
<rdf:Property rdf:about="&rdfs;seeAlso">
<rdfs:isDefinedBy rdf:resource="&rdfs;"/>
<rdfs:label xml:lang="en">seeAlso</rdfs:label>
<rdfs:comment>A resource that provides information about the subject resource</rdfs:comment>
<rdfs:range rdf:resource="&rdfs;Resource"/>
<rdfs:domain rdf:resource="&rdfs;Resource"/>
</rdf:Property>
<rdf:Property rdf:about="&rdfs;isDefinedBy">
<rdfs:isDefinedBy rdf:resource="&rdfs;"/>
<rdf:type resource="&rdf;Property"/>
<rdfs:subPropertyOf rdf:resource="&rdfs;seeAlso"/>
<rdfs:label xml:lang="en">isDefinedBy</rdfs:label>
<rdfs:comment>Indicates the namespace of a resource</rdfs:comment>
<rdfs:range rdf:resource="&rdfs;Resource"/>
<rdfs:domain rdf:resource="&rdfs;Resource"/>
</rdf:Property>
<rdfs:Class rdf:about="&rdfs;Literal">
<rdfs:isDefinedBy rdf:resource="&rdfs;"/>
<rdfs:label xml:lang="en">Literal</rdfs:label>
<rdfs:comment>This represents the set of atomic values, eg. textual strings.</rdfs:comment>
</rdfs:Class>
<rdfs:Class rdf:about="&rdf;Statement">
<rdfs:isDefinedBy rdf:resource="&rdf;"/>
<rdfs:label xml:lang="en">Statement</rdfs:label>
<rdfs:subClassOf rdf:resource="&rdfs;Resource"/>
<rdfs:comment>The class of RDF statements.</rdfs:comment>
</rdfs:Class>
<rdf:Property about="&rdf;subject">
<rdfs:isDefinedBy rdf:resource="&rdf;"/>
<rdfs:label xml:lang="en">subject</rdfs:label>
<rdfs:comment>The subject of an RDF statement.</rdfs:comment>
<rdfs:domain rdf:resource="&rdf;Statement"/>
<rdfs:range rdf:resource="&rdfs;Resource"/>
</rdf:Property>
<rdf:Property about="&rdf;predicate">
<rdfs:isDefinedBy rdf:resource="&rdf;"/>
<rdfs:label xml:lang="en">predicate</rdfs:label>
<rdfs:comment>the predicate of an RDF statement.</rdfs:comment>
<rdfs:domain rdf:resource="&rdf;Statement"/>
<rdfs:range rdf:resource="&rdf;Property"/>
</rdf:Property>
<rdf:Property about="&rdf;object">
<rdfs:isDefinedBy rdf:resource="&rdf;"/>
<rdfs:label xml:lang="en">object</rdfs:label>
<rdfs:comment>The object of an RDF statement.</rdfs:comment>
<rdfs:domain rdf:resource="&rdf;Statement"/>
</rdf:Property>
<rdfs:Class rdf:about="&rdfs;Container">
<rdfs:isDefinedBy rdf:resource="&rdfs;"/>
<rdfs:label xml:lang="en">Container</rdfs:label>
<rdfs:subClassOf rdf:resource="&rdfs;Resource"/>
<rdfs:comment>This represents the set Containers.</rdfs:comment>
</rdfs:Class>
<rdfs:Class rdf:about="&rdf;Bag">
<rdfs:isDefinedBy rdf:resource="&rdf;"/>
<rdfs:label xml:lang="en">Bag</rdfs:label>
<rdfs:comment xml:lang="en">An unordered collection.</rdfs:comment>
<rdfs:subClassOf rdf:resource="&rdfs;Container"/>
</rdfs:Class>
<rdfs:Class rdf:about="&rdf;Seq">
<rdfs:isDefinedBy rdf:resource="&rdf;"/>
<rdfs:label xml:lang="en">Seq</rdfs:label>
<rdfs:comment xml:lang="en">An ordered collection.</rdfs:comment>
<rdfs:subClassOf rdf:resource="&rdfs;Container"/>
</rdfs:Class>
<rdfs:Class rdf:about="&rdf;Alt">
<rdfs:isDefinedBy rdf:resource="&rdf;"/>
<rdfs:label xml:lang="en">Alt</rdfs:label>
<rdfs:comment xml:lang="en">A collection of alternatives.</rdfs:comment>
<rdfs:subClassOf rdf:resource="&rdfs;Container"/>
</rdfs:Class>
<rdfs:Class rdf:about="&rdfs;ContainerMembershipProperty">
<rdfs:isDefinedBy rdf:resource="&rdfs;"/>
<rdfs:label xml:lang="en">ContainerMembershipProperty</rdfs:label>
<rdfs:comment>The container membership properties, rdf:1, rdf:2, ..., all of which are sub-properties of 'member'.</rdfs:comment>
<rdfs:subClassOf rdf:resource="&rdf;Property"/>
</rdfs:Class>
<rdf:Property rdf:about="&rdfs;member">
<rdfs:isDefinedBy rdf:resource="&rdfs;"/>
<rdfs:label xml:lang="en">member</rdfs:label>
<rdfs:comment>a member of a container</rdfs:comment>
<rdfs:domain rdf:resource="&rdfs;Container"/>
</rdf:Property>
<rdf:Property rdf:about="&rdf;value">
<rdfs:isDefinedBy rdf:resource="&rdf;"/>
<rdfs:label xml:lang="en">value</rdfs:label>
<rdfs:comment>Identifies the principal value (usually a string) of a property when the property value is a structured resource</rdfs:comment>
<rdfs:domain rdf:resource="&rdfs;Resource"/>
</rdf:Property>
<!-- the following are new additions, Nov 2002 -->
<rdfs:Class rdf:about="&rdf;List">
<rdfs:isDefinedBy rdf:resource="&rdf;"/>
<rdfs:label xml:lang="en">List</rdfs:label>
<rdfs:comment xml:lang="en">The class of RDF Lists</rdfs:comment>
</rdfs:Class>
<rdf:List rdf:about="&rdf;nil">
<rdfs:isDefinedBy rdf:resource="&rdf;"/>
<rdfs:label xml:lang="en">nil</rdfs:label>
<rdfs:comment xml:lang="en">The empty list, with no items in it. If the rest of a list is nil then the list has no more items in it.</rdfs:comment>
</rdf:List>
<rdf:Property rdf:about="&rdf;first">
<rdfs:isDefinedBy rdf:resource="&rdf;"/>
<rdfs:label xml:lang="en">first</rdfs:label>
<rdfs:comment xml:lang="en">The first item in an RDF list. Also often called the head.</rdfs:comment>
<rdfs:domain rdf:resource="&rdf;List"/>
</rdf:Property>
<rdf:Property rdf:about="&rdf;rest">
<rdfs:isDefinedBy rdf:resource="&rdf;"/>
<rdfs:label xml:lang="en">rest</rdfs:label>
<rdfs:comment xml:lang="en">The rest of an RDF list after the first item. Also often called the tail.</rdfs:comment>
<rdfs:domain rdf:resource="&rdf;List"/>
<rdfs:range rdf:resource="&rdf;List"/>
</rdf:Property>
<rdfs:Class rdf:about="&rdfs;Datatype">
<rdfs:isDefinedBy rdf:resource="&rdfs;"/>
<rdfs:label xml:lang="en">Datatype</rdfs:label>
<rdfs:comment xml:lang="en">The class of datatypes.</rdfs:comment>
</rdfs:Class>
<rdfs:Class rdf:about="&rdfs;XMLLiteral">
<rdfs:isDefinedBy rdf:resource="&rdfs;"/>
<rdfs:label xml:lang="en">XMLLiteral</rdfs:label>
<rdfs:comment>The class of XML literals.</rdfs:comment>
</rdfs:Class>
<rdf:Description rdf:about="&rdfs;">
<rdfs:seeAlso rdf:resource="http://www.w3.org/2000/01/rdf-schema-more"/>
</rdf:Description>
</rdf:RDF>