rdf 1.1.3 → 1.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CREDITS +1 -0
- data/VERSION +1 -1
- data/lib/rdf.rb +10 -48
- data/lib/rdf/cli/vocab-loader.rb +78 -142
- data/lib/rdf/mixin/enumerable.rb +25 -0
- data/lib/rdf/mixin/mutable.rb +3 -0
- data/lib/rdf/model/graph.rb +1 -1
- data/lib/rdf/model/node.rb +25 -2
- data/lib/rdf/model/statement.rb +20 -12
- data/lib/rdf/model/uri.rb +11 -2
- data/lib/rdf/nquads.rb +8 -6
- data/lib/rdf/ntriples/writer.rb +14 -10
- data/lib/rdf/query/pattern.rb +10 -8
- data/lib/rdf/reader.rb +11 -2
- data/lib/rdf/repository.rb +1 -1
- data/lib/rdf/vocab.rb +396 -96
- data/lib/rdf/vocab/cc.rb +117 -25
- data/lib/rdf/vocab/cert.rb +230 -117
- data/lib/rdf/vocab/dc.rb +930 -233
- data/lib/rdf/vocab/dc11.rb +151 -37
- data/lib/rdf/vocab/doap.rb +326 -114
- data/lib/rdf/vocab/exif.rb +930 -533
- data/lib/rdf/vocab/foaf.rb +602 -346
- data/lib/rdf/vocab/geo.rb +139 -33
- data/lib/rdf/vocab/gr.rb +1551 -1084
- data/lib/rdf/vocab/ht.rb +319 -0
- data/lib/rdf/vocab/ical.rb +507 -349
- data/lib/rdf/vocab/ma.rb +504 -280
- data/lib/rdf/vocab/mo.rb +2425 -876
- data/lib/rdf/vocab/og.rb +178 -90
- data/lib/rdf/vocab/owl.rb +513 -219
- data/lib/rdf/vocab/prov.rb +1557 -479
- data/lib/rdf/vocab/rdfs.rb +107 -31
- data/lib/rdf/vocab/rdfv.rb +165 -0
- data/lib/rdf/vocab/rsa.rb +61 -18
- data/lib/rdf/vocab/rss.rb +55 -22
- data/lib/rdf/vocab/schema.rb +8590 -3995
- data/lib/rdf/vocab/sioc.rb +657 -218
- data/lib/rdf/vocab/skos.rb +227 -134
- data/lib/rdf/vocab/skosxl.rb +47 -33
- data/lib/rdf/vocab/vcard.rb +693 -327
- data/lib/rdf/vocab/void.rb +175 -132
- data/lib/rdf/vocab/vs.rb +27 -0
- data/lib/rdf/vocab/wdrs.rb +123 -119
- data/lib/rdf/vocab/wot.rb +155 -45
- data/lib/rdf/vocab/xhtml.rb +2 -1
- data/lib/rdf/vocab/xhv.rb +496 -231
- data/lib/rdf/vocab/xsd.rb +382 -53
- data/lib/rdf/writer.rb +8 -4
- metadata +5 -4
- data/lib/rdf/vocab/http.rb +0 -84
- data/lib/rdf/vocab/v.rb +0 -154
data/lib/rdf/vocab/skos.rb
CHANGED
@@ -1,144 +1,237 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
1
2
|
# This file generated automatically using vocab-fetch from http://www.w3.org/2004/02/skos/core#
|
2
3
|
require 'rdf'
|
3
4
|
module RDF
|
4
5
|
class SKOS < StrictVocabulary("http://www.w3.org/2004/02/skos/core#")
|
5
6
|
|
6
7
|
# Class definitions
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
8
|
+
term :Collection,
|
9
|
+
label: "Collection".freeze,
|
10
|
+
"owl:disjointWith" => %(skos:Concept).freeze,
|
11
|
+
"rdfs:isDefinedBy" => %(http://www.w3.org/2004/02/skos/core).freeze,
|
12
|
+
"skos:definition" => %(A meaningful collection of concepts.).freeze,
|
13
|
+
"skos:scopeNote" => %(Labelled collections can be used where you would like a set of concepts to be displayed under a 'node label' in the hierarchy.).freeze,
|
14
|
+
type: "owl:Class".freeze
|
15
|
+
term :Concept,
|
16
|
+
label: "Concept".freeze,
|
17
|
+
"rdfs:isDefinedBy" => %(http://www.w3.org/2004/02/skos/core).freeze,
|
18
|
+
"skos:definition" => %(An idea or notion; a unit of thought.).freeze,
|
19
|
+
type: "owl:Class".freeze
|
20
|
+
term :ConceptScheme,
|
21
|
+
label: "Concept Scheme".freeze,
|
22
|
+
"owl:disjointWith" => %(skos:Concept).freeze,
|
23
|
+
"rdfs:isDefinedBy" => %(http://www.w3.org/2004/02/skos/core).freeze,
|
24
|
+
"skos:definition" => %(A set of concepts, optionally including statements about semantic relationships between those concepts.).freeze,
|
25
|
+
"skos:example" => %(Thesauri, classification schemes, subject heading lists, taxonomies, 'folksonomies', and other types of controlled vocabulary are all examples of concept schemes. Concept schemes are also embedded in glossaries and terminologies.).freeze,
|
26
|
+
"skos:scopeNote" => %(A concept scheme may be defined to include concepts from different sources.).freeze,
|
27
|
+
type: "owl:Class".freeze
|
28
|
+
term :OrderedCollection,
|
29
|
+
label: "Ordered Collection".freeze,
|
30
|
+
"rdfs:isDefinedBy" => %(http://www.w3.org/2004/02/skos/core).freeze,
|
31
|
+
"skos:definition" => %(An ordered collection of concepts, where both the grouping and the ordering are meaningful.).freeze,
|
32
|
+
"skos:scopeNote" => %(Ordered collections can be used where you would like a set of concepts to be displayed in a specific order, and optionally under a 'node label'.).freeze,
|
33
|
+
subClassOf: "skos:Collection".freeze,
|
34
|
+
type: "owl:Class".freeze
|
11
35
|
|
12
36
|
# Property definitions
|
13
|
-
property :altLabel,
|
14
|
-
%(The range of skos:altLabel is the class of RDF plain literals.)
|
15
|
-
|
16
|
-
%(skos
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
property :
|
22
|
-
|
23
|
-
%(
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
property :
|
29
|
-
%(
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
%(
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
%(skos:
|
43
|
-
|
44
|
-
|
45
|
-
property :
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
property :
|
52
|
-
|
53
|
-
%(
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
property :
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
property :
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
%(
|
95
|
-
|
96
|
-
|
97
|
-
property :
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
property :
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
property :
|
125
|
-
%(
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
37
|
+
property :altLabel,
|
38
|
+
comment: %(The range of skos:altLabel is the class of RDF plain literals.).freeze,
|
39
|
+
label: "alternative label".freeze,
|
40
|
+
"rdfs:isDefinedBy" => %(http://www.w3.org/2004/02/skos/core).freeze,
|
41
|
+
"skos:definition" => %(An alternative lexical label for a resource.).freeze,
|
42
|
+
"skos:example" => %(Acronyms, abbreviations, spelling variants, and irregular plural/singular forms may be included among the alternative labels for a concept. Mis-spelled terms are normally included as hidden labels \(see skos:hiddenLabel\).).freeze,
|
43
|
+
subPropertyOf: "rdfs:label".freeze,
|
44
|
+
type: "owl:AnnotationProperty".freeze
|
45
|
+
property :broadMatch,
|
46
|
+
label: "has broader match".freeze,
|
47
|
+
"owl:inverseOf" => %(skos:narrowMatch).freeze,
|
48
|
+
"rdfs:isDefinedBy" => %(http://www.w3.org/2004/02/skos/core).freeze,
|
49
|
+
"skos:definition" => %(skos:broadMatch is used to state a hierarchical mapping link between two conceptual resources in different concept schemes.).freeze,
|
50
|
+
subPropertyOf: "skos:mappingRelation".freeze,
|
51
|
+
type: "owl:ObjectProperty".freeze
|
52
|
+
property :broader,
|
53
|
+
comment: %(Broader concepts are typically rendered as parents in a concept hierarchy \(tree\).).freeze,
|
54
|
+
label: "has broader".freeze,
|
55
|
+
"owl:inverseOf" => %(skos:narrower).freeze,
|
56
|
+
"rdfs:isDefinedBy" => %(http://www.w3.org/2004/02/skos/core).freeze,
|
57
|
+
"skos:definition" => %(Relates a concept to a concept that is more general in meaning.).freeze,
|
58
|
+
"skos:scopeNote" => %(By convention, skos:broader is only used to assert an immediate \(i.e. direct\) hierarchical link between two conceptual resources.).freeze,
|
59
|
+
subPropertyOf: "skos:broaderTransitive".freeze,
|
60
|
+
type: "owl:ObjectProperty".freeze
|
61
|
+
property :broaderTransitive,
|
62
|
+
label: "has broader transitive".freeze,
|
63
|
+
"owl:inverseOf" => %(skos:narrowerTransitive).freeze,
|
64
|
+
"rdfs:isDefinedBy" => %(http://www.w3.org/2004/02/skos/core).freeze,
|
65
|
+
"skos:definition" => %(skos:broaderTransitive is a transitive superproperty of skos:broader.).freeze,
|
66
|
+
"skos:scopeNote" => %(By convention, skos:broaderTransitive is not used to make assertions. Rather, the properties can be used to draw inferences about the transitive closure of the hierarchical relation, which is useful e.g. when implementing a simple query expansion algorithm in a search application.).freeze,
|
67
|
+
subPropertyOf: "skos:semanticRelation".freeze,
|
68
|
+
type: "owl:ObjectProperty".freeze
|
69
|
+
property :changeNote,
|
70
|
+
label: "change note".freeze,
|
71
|
+
"rdfs:isDefinedBy" => %(http://www.w3.org/2004/02/skos/core).freeze,
|
72
|
+
"skos:definition" => %(A note about a modification to a concept.).freeze,
|
73
|
+
subPropertyOf: "skos:note".freeze,
|
74
|
+
type: "owl:AnnotationProperty".freeze
|
75
|
+
property :closeMatch,
|
76
|
+
label: "has close match".freeze,
|
77
|
+
"rdfs:isDefinedBy" => %(http://www.w3.org/2004/02/skos/core).freeze,
|
78
|
+
"skos:definition" => %(skos:closeMatch is used to link two concepts that are sufficiently similar that they can be used interchangeably in some information retrieval applications. In order to avoid the possibility of "compound errors" when combining mappings across more than two concept schemes, skos:closeMatch is not declared to be a transitive property.).freeze,
|
79
|
+
subPropertyOf: "skos:mappingRelation".freeze,
|
80
|
+
type: "owl:ObjectProperty".freeze
|
81
|
+
property :definition,
|
82
|
+
label: "definition".freeze,
|
83
|
+
"rdfs:isDefinedBy" => %(http://www.w3.org/2004/02/skos/core).freeze,
|
84
|
+
"skos:definition" => %(A statement or formal explanation of the meaning of a concept.).freeze,
|
85
|
+
subPropertyOf: "skos:note".freeze,
|
86
|
+
type: "owl:AnnotationProperty".freeze
|
87
|
+
property :editorialNote,
|
88
|
+
label: "editorial note".freeze,
|
89
|
+
"rdfs:isDefinedBy" => %(http://www.w3.org/2004/02/skos/core).freeze,
|
90
|
+
"skos:definition" => %(A note for an editor, translator or maintainer of the vocabulary.).freeze,
|
91
|
+
subPropertyOf: "skos:note".freeze,
|
92
|
+
type: "owl:AnnotationProperty".freeze
|
93
|
+
property :exactMatch,
|
94
|
+
comment: %(skos:exactMatch is disjoint with each of the properties skos:broadMatch and skos:relatedMatch.).freeze,
|
95
|
+
label: "has exact match".freeze,
|
96
|
+
"rdfs:isDefinedBy" => %(http://www.w3.org/2004/02/skos/core).freeze,
|
97
|
+
"skos:definition" => %(skos:exactMatch is used to link two concepts, indicating a high degree of confidence that the concepts can be used interchangeably across a wide range of information retrieval applications. skos:exactMatch is a transitive property, and is a sub-property of skos:closeMatch.).freeze,
|
98
|
+
subPropertyOf: "skos:closeMatch".freeze,
|
99
|
+
type: "owl:ObjectProperty".freeze
|
100
|
+
property :example,
|
101
|
+
label: "example".freeze,
|
102
|
+
"rdfs:isDefinedBy" => %(http://www.w3.org/2004/02/skos/core).freeze,
|
103
|
+
"skos:definition" => %(An example of the use of a concept.).freeze,
|
104
|
+
subPropertyOf: "skos:note".freeze,
|
105
|
+
type: "owl:AnnotationProperty".freeze
|
106
|
+
property :hasTopConcept,
|
107
|
+
domain: "skos:ConceptScheme".freeze,
|
108
|
+
label: "has top concept".freeze,
|
109
|
+
"owl:inverseOf" => %(skos:topConceptOf).freeze,
|
110
|
+
range: "skos:Concept".freeze,
|
111
|
+
"rdfs:isDefinedBy" => %(http://www.w3.org/2004/02/skos/core).freeze,
|
112
|
+
"skos:definition" => %(Relates, by convention, a concept scheme to a concept which is topmost in the broader/narrower concept hierarchies for that scheme, providing an entry point to these hierarchies.).freeze,
|
113
|
+
type: "owl:ObjectProperty".freeze
|
114
|
+
property :hiddenLabel,
|
115
|
+
comment: %(The range of skos:hiddenLabel is the class of RDF plain literals.).freeze,
|
116
|
+
label: "hidden label".freeze,
|
117
|
+
"rdfs:isDefinedBy" => %(http://www.w3.org/2004/02/skos/core).freeze,
|
118
|
+
"skos:definition" => %(A lexical label for a resource that should be hidden when generating visual displays of the resource, but should still be accessible to free text search operations.).freeze,
|
119
|
+
subPropertyOf: "rdfs:label".freeze,
|
120
|
+
type: "owl:AnnotationProperty".freeze
|
121
|
+
property :historyNote,
|
122
|
+
label: "history note".freeze,
|
123
|
+
"rdfs:isDefinedBy" => %(http://www.w3.org/2004/02/skos/core).freeze,
|
124
|
+
"skos:definition" => %(A note about the past state/use/meaning of a concept.).freeze,
|
125
|
+
subPropertyOf: "skos:note".freeze,
|
126
|
+
type: "owl:AnnotationProperty".freeze
|
127
|
+
property :inScheme,
|
128
|
+
label: "is in scheme".freeze,
|
129
|
+
range: "skos:ConceptScheme".freeze,
|
130
|
+
"rdfs:isDefinedBy" => %(http://www.w3.org/2004/02/skos/core).freeze,
|
131
|
+
"skos:definition" => %(Relates a resource \(for example a concept\) to a concept scheme in which it is included.).freeze,
|
132
|
+
"skos:scopeNote" => %(A concept may be a member of more than one concept scheme.).freeze,
|
133
|
+
type: "owl:ObjectProperty".freeze
|
134
|
+
property :mappingRelation,
|
135
|
+
comment: %(These concept mapping relations mirror semantic relations, and the data model defined below is similar \(with the exception of skos:exactMatch\) to the data model defined for semantic relations. A distinct vocabulary is provided for concept mapping relations, to provide a convenient way to differentiate links within a concept scheme from links between concept schemes. However, this pattern of usage is not a formal requirement of the SKOS data model, and relies on informal definitions of best practice.).freeze,
|
136
|
+
label: "is in mapping relation with".freeze,
|
137
|
+
"rdfs:isDefinedBy" => %(http://www.w3.org/2004/02/skos/core).freeze,
|
138
|
+
"skos:definition" => %(Relates two concepts coming, by convention, from different schemes, and that have comparable meanings).freeze,
|
139
|
+
subPropertyOf: "skos:semanticRelation".freeze,
|
140
|
+
type: "owl:ObjectProperty".freeze
|
141
|
+
property :member,
|
142
|
+
domain: "skos:Collection".freeze,
|
143
|
+
label: "has member".freeze,
|
144
|
+
range: "_:g2188755580".freeze,
|
145
|
+
"rdfs:isDefinedBy" => %(http://www.w3.org/2004/02/skos/core).freeze,
|
146
|
+
"skos:definition" => %(Relates a collection to one of its members.).freeze,
|
147
|
+
type: "owl:ObjectProperty".freeze
|
148
|
+
property :memberList,
|
149
|
+
comment: %(For any resource, every item in the list given as the value of the
|
150
|
+
skos:memberList property is also a value of the skos:member property.).freeze,
|
151
|
+
domain: "skos:OrderedCollection".freeze,
|
152
|
+
label: "has member list".freeze,
|
153
|
+
range: "rdf:List".freeze,
|
154
|
+
"rdfs:isDefinedBy" => %(http://www.w3.org/2004/02/skos/core).freeze,
|
155
|
+
"skos:definition" => %(Relates an ordered collection to the RDF list containing its members.).freeze,
|
156
|
+
type: "owl:ObjectProperty".freeze
|
157
|
+
property :narrowMatch,
|
158
|
+
label: "has narrower match".freeze,
|
159
|
+
"owl:inverseOf" => %(skos:broadMatch).freeze,
|
160
|
+
"rdfs:isDefinedBy" => %(http://www.w3.org/2004/02/skos/core).freeze,
|
161
|
+
"skos:definition" => %(skos:narrowMatch is used to state a hierarchical mapping link between two conceptual resources in different concept schemes.).freeze,
|
162
|
+
subPropertyOf: "skos:mappingRelation".freeze,
|
163
|
+
type: "owl:ObjectProperty".freeze
|
164
|
+
property :narrower,
|
165
|
+
comment: %(Narrower concepts are typically rendered as children in a concept hierarchy \(tree\).).freeze,
|
166
|
+
label: "has narrower".freeze,
|
167
|
+
"owl:inverseOf" => %(skos:broader).freeze,
|
168
|
+
"rdfs:isDefinedBy" => %(http://www.w3.org/2004/02/skos/core).freeze,
|
169
|
+
"skos:definition" => %(Relates a concept to a concept that is more specific in meaning.).freeze,
|
170
|
+
"skos:scopeNote" => %(By convention, skos:broader is only used to assert an immediate \(i.e. direct\) hierarchical link between two conceptual resources.).freeze,
|
171
|
+
subPropertyOf: "skos:narrowerTransitive".freeze,
|
172
|
+
type: "owl:ObjectProperty".freeze
|
173
|
+
property :narrowerTransitive,
|
174
|
+
label: "has narrower transitive".freeze,
|
175
|
+
"owl:inverseOf" => %(skos:broaderTransitive).freeze,
|
176
|
+
"rdfs:isDefinedBy" => %(http://www.w3.org/2004/02/skos/core).freeze,
|
177
|
+
"skos:definition" => %(skos:narrowerTransitive is a transitive superproperty of skos:narrower.).freeze,
|
178
|
+
"skos:scopeNote" => %(By convention, skos:narrowerTransitive is not used to make assertions. Rather, the properties can be used to draw inferences about the transitive closure of the hierarchical relation, which is useful e.g. when implementing a simple query expansion algorithm in a search application.).freeze,
|
179
|
+
subPropertyOf: "skos:semanticRelation".freeze,
|
180
|
+
type: "owl:ObjectProperty".freeze
|
181
|
+
property :notation,
|
182
|
+
label: "notation".freeze,
|
183
|
+
"rdfs:isDefinedBy" => %(http://www.w3.org/2004/02/skos/core).freeze,
|
184
|
+
"skos:definition" => %(A notation, also known as classification code, is a string of characters such as "T58.5" or "303.4833" used to uniquely identify a concept within the scope of a given concept scheme.).freeze,
|
185
|
+
"skos:scopeNote" => %(By convention, skos:notation is used with a typed literal in the object position of the triple.).freeze,
|
186
|
+
type: "owl:DatatypeProperty".freeze
|
187
|
+
property :note,
|
188
|
+
label: "note".freeze,
|
189
|
+
"rdfs:isDefinedBy" => %(http://www.w3.org/2004/02/skos/core).freeze,
|
190
|
+
"skos:definition" => %(A general note, for any purpose.).freeze,
|
191
|
+
"skos:scopeNote" => %(This property may be used directly, or as a super-property for more specific note types.).freeze,
|
192
|
+
type: "owl:AnnotationProperty".freeze
|
193
|
+
property :prefLabel,
|
194
|
+
comment: %(A resource has no more than one value of skos:prefLabel per language tag, and no more than one value of skos:prefLabel without language tag.).freeze,
|
195
|
+
label: "preferred label".freeze,
|
196
|
+
"rdfs:isDefinedBy" => %(http://www.w3.org/2004/02/skos/core).freeze,
|
197
|
+
"skos:definition" => %(The preferred lexical label for a resource, in a given language.).freeze,
|
198
|
+
subPropertyOf: "rdfs:label".freeze,
|
199
|
+
type: "owl:AnnotationProperty".freeze
|
200
|
+
property :related,
|
201
|
+
comment: %(skos:related is disjoint with skos:broaderTransitive).freeze,
|
202
|
+
label: "has related".freeze,
|
203
|
+
"rdfs:isDefinedBy" => %(http://www.w3.org/2004/02/skos/core).freeze,
|
204
|
+
"skos:definition" => %(Relates a concept to a concept with which there is an associative semantic relationship.).freeze,
|
205
|
+
subPropertyOf: "skos:semanticRelation".freeze,
|
206
|
+
type: "owl:ObjectProperty".freeze
|
207
|
+
property :relatedMatch,
|
208
|
+
label: "has related match".freeze,
|
209
|
+
"rdfs:isDefinedBy" => %(http://www.w3.org/2004/02/skos/core).freeze,
|
210
|
+
"skos:definition" => %(skos:relatedMatch is used to state an associative mapping link between two conceptual resources in different concept schemes.).freeze,
|
211
|
+
subPropertyOf: "skos:mappingRelation".freeze,
|
212
|
+
type: "owl:ObjectProperty".freeze
|
213
|
+
property :scopeNote,
|
214
|
+
label: "scope note".freeze,
|
215
|
+
"rdfs:isDefinedBy" => %(http://www.w3.org/2004/02/skos/core).freeze,
|
216
|
+
"skos:definition" => %(A note that helps to clarify the meaning and/or the use of a concept.).freeze,
|
217
|
+
subPropertyOf: "skos:note".freeze,
|
218
|
+
type: "owl:AnnotationProperty".freeze
|
219
|
+
property :semanticRelation,
|
220
|
+
domain: "skos:Concept".freeze,
|
221
|
+
label: "is in semantic relation with".freeze,
|
222
|
+
range: "skos:Concept".freeze,
|
223
|
+
"rdfs:isDefinedBy" => %(http://www.w3.org/2004/02/skos/core).freeze,
|
224
|
+
"skos:definition" => %(Links a concept to a concept related by meaning.).freeze,
|
225
|
+
"skos:scopeNote" => %(This property should not be used directly, but as a super-property for all properties denoting a relationship of meaning between concepts.).freeze,
|
226
|
+
type: "owl:ObjectProperty".freeze
|
227
|
+
property :topConceptOf,
|
228
|
+
domain: "skos:Concept".freeze,
|
229
|
+
label: "is top concept in scheme".freeze,
|
230
|
+
"owl:inverseOf" => %(skos:hasTopConcept).freeze,
|
231
|
+
range: "skos:ConceptScheme".freeze,
|
232
|
+
"rdfs:isDefinedBy" => %(http://www.w3.org/2004/02/skos/core).freeze,
|
233
|
+
"skos:definition" => %(Relates a concept to the concept scheme that it is a top level concept of.).freeze,
|
234
|
+
subPropertyOf: "skos:inScheme".freeze,
|
235
|
+
type: "owl:ObjectProperty".freeze
|
143
236
|
end
|
144
237
|
end
|
data/lib/rdf/vocab/skosxl.rb
CHANGED
@@ -1,43 +1,57 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
1
2
|
# This file generated automatically using vocab-fetch from http://www.w3.org/TR/skos-reference/skos-xl.rdf
|
2
3
|
require 'rdf'
|
3
4
|
module RDF
|
4
5
|
class SKOSXL < StrictVocabulary("http://www.w3.org/2008/05/skos-xl#")
|
5
6
|
|
6
7
|
# Class definitions
|
7
|
-
|
8
|
+
term :Label,
|
9
|
+
label: "Label".freeze,
|
10
|
+
"owl:disjointWith" => %(skos:Concept).freeze,
|
11
|
+
"rdfs:isDefinedBy" => %(http://www.w3.org/2008/05/skos-xl).freeze,
|
12
|
+
"skos:definition" => %(A special class of lexical entities.).freeze,
|
13
|
+
subClassOf: "_:g2206598300".freeze,
|
14
|
+
type: "owl:Class".freeze
|
8
15
|
|
9
16
|
# Property definitions
|
10
|
-
property :altLabel,
|
11
|
-
%(If C skosxl:altLabel L and L skosxl:literalForm V, then X
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
%(
|
25
|
-
|
26
|
-
property :
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
17
|
+
property :altLabel,
|
18
|
+
comment: %(If C skosxl:altLabel L and L skosxl:literalForm V, then X skos:altLabel V.).freeze,
|
19
|
+
label: "alternative label".freeze,
|
20
|
+
range: "skosxl:Label".freeze,
|
21
|
+
"rdfs:isDefinedBy" => %(http://www.w3.org/2008/05/skos-xl).freeze,
|
22
|
+
"rdfs:seeAlso" => %(skos:altLabel).freeze,
|
23
|
+
"skos:definition" => %(The property skosxl:altLabel is used to associate an skosxl:Label with a skos:Concept. The property is analogous to skos:altLabel.).freeze,
|
24
|
+
type: "owl:ObjectProperty".freeze
|
25
|
+
property :hiddenLabel,
|
26
|
+
comment: %(If C skosxl:hiddenLabel L and L skosxl:literalForm V, then C skos:hiddenLabel V.).freeze,
|
27
|
+
label: "hidden label".freeze,
|
28
|
+
range: "skosxl:Label".freeze,
|
29
|
+
"rdfs:isDefinedBy" => %(http://www.w3.org/2008/05/skos-xl).freeze,
|
30
|
+
"rdfs:seeAlso" => %(skos:hiddenLabel).freeze,
|
31
|
+
"skos:definition" => %(The property skosxl:hiddenLabel is used to associate an skosxl:Label with a skos:Concept. The property is analogous to skos:hiddenLabel.).freeze,
|
32
|
+
type: "owl:ObjectProperty".freeze
|
33
|
+
property :labelRelation,
|
34
|
+
domain: "skosxl:Label".freeze,
|
35
|
+
label: "label relation".freeze,
|
36
|
+
range: "skosxl:Label".freeze,
|
37
|
+
"rdfs:isDefinedBy" => %(http://www.w3.org/2008/05/skos-xl).freeze,
|
38
|
+
"skos:definition" => %(The property skosxl:labelRelation is used for representing binary \('direct'\) relations between instances of the class skosxl:Label.).freeze,
|
39
|
+
"skos:scopeNote" => %(skosxl:labelRelation is not intended to be used directly, but rather as the basis for a design pattern which can be refined for more specific labeling scenarios.).freeze,
|
40
|
+
type: "owl:ObjectProperty".freeze
|
41
|
+
property :literalForm,
|
42
|
+
comment: %(If two instances of the class skosxl:Label have the same literal form, they are not necessarily the same resource.).freeze,
|
43
|
+
domain: "skosxl:Label".freeze,
|
44
|
+
label: "literal form".freeze,
|
45
|
+
"rdfs:isDefinedBy" => %(http://www.w3.org/2008/05/skos-xl).freeze,
|
46
|
+
"skos:definition" => %(The property skosxl:literalForm is used to give the literal form of an skosxl:Label.).freeze,
|
47
|
+
type: "owl:DatatypeProperty".freeze
|
48
|
+
property :prefLabel,
|
49
|
+
comment: %(If C skosxl:prefLabel L and L skosxl:literalForm V, then X skos:prefLabel V.).freeze,
|
50
|
+
label: "preferred label".freeze,
|
51
|
+
range: "skosxl:Label".freeze,
|
52
|
+
"rdfs:isDefinedBy" => %(http://www.w3.org/2008/05/skos-xl).freeze,
|
53
|
+
"rdfs:seeAlso" => %(skos:prefLabel).freeze,
|
54
|
+
"skos:definition" => %(The property skosxl:prefLabel is used to associate an skosxl:Label with a skos:Concept. The property is analogous to skos:prefLabel.).freeze,
|
55
|
+
type: "owl:ObjectProperty".freeze
|
42
56
|
end
|
43
57
|
end
|