rdf-vocab 3.1.2 → 3.1.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +1 -1
- data/README.md +69 -45
- data/VERSION +1 -1
- data/lib/rdf/vocab.rb +60 -40
- data/lib/rdf/vocab/acl.rb +104 -61
- data/lib/rdf/vocab/as.rb +556 -91
- data/lib/rdf/vocab/bf2.rb +1791 -475
- data/lib/rdf/vocab/bibframe.rb +1 -2
- data/lib/rdf/vocab/bibo.rb +616 -124
- data/lib/rdf/vocab/cc.rb +125 -48
- data/lib/rdf/vocab/cert.rb +68 -1
- data/lib/rdf/vocab/cnt.rb +79 -1
- data/lib/rdf/vocab/crm.rb +1543 -776
- data/lib/rdf/vocab/datacite.rb +1 -1
- data/lib/rdf/vocab/dbo.rb +10463 -1
- data/lib/rdf/vocab/dc.rb +485 -99
- data/lib/rdf/vocab/dc11.rb +93 -31
- data/lib/rdf/vocab/dcat.rb +236 -88
- data/lib/rdf/vocab/dcmitype.rb +63 -13
- data/lib/rdf/vocab/disco.rb +286 -59
- data/lib/rdf/vocab/doap.rb +175 -1
- data/lib/rdf/vocab/dwc.rb +941 -189
- data/lib/rdf/vocab/earl.rb +324 -0
- data/lib/rdf/vocab/ebucore.rb +7255 -2184
- data/lib/rdf/vocab/edm.rb +202 -76
- data/lib/rdf/vocab/exif.rb +650 -1
- data/lib/rdf/vocab/extensions.rb +257 -203
- data/lib/rdf/vocab/fcrepo4.rb +398 -22
- data/lib/rdf/vocab/foaf.rb +380 -76
- data/lib/rdf/vocab/geo.rb +47 -110
- data/lib/rdf/vocab/geojson.rb +82 -17
- data/lib/rdf/vocab/geonames.rb +1508 -1351
- data/lib/rdf/vocab/gr.rb +861 -565
- data/lib/rdf/vocab/gs1.rb +1597 -1
- data/lib/rdf/vocab/ht.rb +204 -41
- data/lib/rdf/vocab/hydra.rb +335 -60
- data/lib/rdf/vocab/iana.rb +301 -114
- data/lib/rdf/vocab/ical.rb +534 -121
- data/lib/rdf/vocab/identifiers.rb +459 -499
- data/lib/rdf/vocab/iiif.rb +161 -26
- data/lib/rdf/vocab/jsonld.rb +179 -53
- data/lib/rdf/vocab/ldp.rb +130 -1
- data/lib/rdf/vocab/lrmi.rb +85 -17
- data/lib/rdf/vocab/ma.rb +460 -80
- data/lib/rdf/vocab/mads.rb +610 -22
- data/lib/rdf/vocab/{marc_relators.rb → marcrelators.rb} +813 -4
- data/lib/rdf/vocab/mo.rb +1115 -540
- data/lib/rdf/vocab/mods.rb +635 -124
- data/lib/rdf/vocab/nfo.rb +1 -1
- data/lib/rdf/vocab/oa.rb +343 -73
- data/lib/rdf/vocab/og.rb +100 -1
- data/lib/rdf/vocab/ogc.rb +42 -9
- data/lib/rdf/vocab/ore.rb +69 -14
- data/lib/rdf/vocab/org.rb +235 -47
- data/lib/rdf/vocab/pcdm.rb +58 -34
- data/lib/rdf/vocab/pplan.rb +21 -136
- data/lib/rdf/vocab/premis.rb +1171 -779
- data/lib/rdf/vocab/{premis_event_type.rb → premiseventtype.rb} +156 -2
- data/lib/rdf/vocab/prov.rb +700 -107
- data/lib/rdf/vocab/ptr.rb +172 -37
- data/lib/rdf/vocab/rightsstatements.rb +17 -13
- data/lib/rdf/vocab/rsa.rb +30 -1
- data/lib/rdf/vocab/rss.rb +52 -11
- data/lib/rdf/vocab/schema.rb +14970 -3993
- data/lib/rdf/vocab/schemas.rb +27066 -0
- data/lib/rdf/vocab/sd.rb +372 -0
- data/lib/rdf/vocab/sh.rb +919 -184
- data/lib/rdf/vocab/sioc.rb +498 -98
- data/lib/rdf/vocab/{sioc_services.rb → siocservices.rb} +46 -9
- data/lib/rdf/vocab/sioctypes.rb +434 -0
- data/lib/rdf/vocab/skos.rb +160 -44
- data/lib/rdf/vocab/skosxl.rb +40 -11
- data/lib/rdf/vocab/v.rb +323 -37
- data/lib/rdf/vocab/vcard.rb +625 -119
- data/lib/rdf/vocab/vmd.rb +323 -37
- data/lib/rdf/vocab/void.rb +147 -27
- data/lib/rdf/vocab/vs.rb +23 -5
- data/lib/rdf/vocab/wdrs.rb +112 -23
- data/lib/rdf/vocab/wot.rb +96 -19
- data/lib/rdf/vocab/xhtml.rb +2 -1
- data/lib/rdf/vocab/xhv.rb +422 -201
- data/lib/rdf/vocab/xkos.rb +156 -7
- data/spec/extensions_spec.rb +68 -0
- data/spec/vocab_spec.rb +10 -0
- metadata +20 -11
- data/lib/rdf/vocab/sioct.rb +0 -277
data/lib/rdf/vocab/skos.rb
CHANGED
@@ -5,9 +5,127 @@ require 'rdf'
|
|
5
5
|
module RDF::Vocab
|
6
6
|
# @!parse
|
7
7
|
# # Vocabulary for <http://www.w3.org/2004/02/skos/core#>
|
8
|
+
# #
|
9
|
+
# # SKOS Vocabulary
|
10
|
+
# #
|
11
|
+
# # An RDF vocabulary for describing the basic structure and content of concept schemes such as thesauri, classification schemes, subject heading lists, taxonomies, 'folksonomies', other types of controlled vocabulary, and also concept schemes embedded in glossaries and terminologies.
|
12
|
+
# # @see http://www.w3.org/TR/skos-reference/
|
8
13
|
# class SKOS < RDF::StrictVocabulary
|
14
|
+
# # @return [RDF::Vocabulary::Term]
|
15
|
+
# attr_reader :Collection
|
16
|
+
#
|
17
|
+
# # @return [RDF::Vocabulary::Term]
|
18
|
+
# attr_reader :Concept
|
19
|
+
#
|
20
|
+
# # @return [RDF::Vocabulary::Term]
|
21
|
+
# attr_reader :ConceptScheme
|
22
|
+
#
|
23
|
+
# # @return [RDF::Vocabulary::Term]
|
24
|
+
# attr_reader :OrderedCollection
|
25
|
+
#
|
26
|
+
# # skos:prefLabel, skos:altLabel and skos:hiddenLabel are pairwise disjoint properties.
|
27
|
+
# #
|
28
|
+
# # The range of skos:altLabel is the class of RDF plain literals.
|
29
|
+
# # @return [RDF::Vocabulary::Term]
|
30
|
+
# attr_reader :altLabel
|
31
|
+
#
|
32
|
+
# # @return [RDF::Vocabulary::Term]
|
33
|
+
# attr_reader :broadMatch
|
34
|
+
#
|
35
|
+
# # Broader concepts are typically rendered as parents in a concept hierarchy (tree).
|
36
|
+
# # @return [RDF::Vocabulary::Term]
|
37
|
+
# attr_reader :broader
|
38
|
+
#
|
39
|
+
# # @return [RDF::Vocabulary::Term]
|
40
|
+
# attr_reader :broaderTransitive
|
41
|
+
#
|
42
|
+
# # @return [RDF::Vocabulary::Term]
|
43
|
+
# attr_reader :changeNote
|
44
|
+
#
|
45
|
+
# # @return [RDF::Vocabulary::Term]
|
46
|
+
# attr_reader :closeMatch
|
47
|
+
#
|
48
|
+
# # @return [RDF::Vocabulary::Term]
|
49
|
+
# attr_reader :definition
|
50
|
+
#
|
51
|
+
# # @return [RDF::Vocabulary::Term]
|
52
|
+
# attr_reader :editorialNote
|
53
|
+
#
|
54
|
+
# # skos:exactMatch is disjoint with each of the properties skos:broadMatch and skos:relatedMatch.
|
55
|
+
# # @return [RDF::Vocabulary::Term]
|
56
|
+
# attr_reader :exactMatch
|
57
|
+
#
|
58
|
+
# # @return [RDF::Vocabulary::Term]
|
59
|
+
# attr_reader :example
|
60
|
+
#
|
61
|
+
# # @return [RDF::Vocabulary::Term]
|
62
|
+
# attr_reader :hasTopConcept
|
63
|
+
#
|
64
|
+
# # skos:prefLabel, skos:altLabel and skos:hiddenLabel are pairwise disjoint properties.
|
65
|
+
# #
|
66
|
+
# # The range of skos:hiddenLabel is the class of RDF plain literals.
|
67
|
+
# # @return [RDF::Vocabulary::Term]
|
68
|
+
# attr_reader :hiddenLabel
|
69
|
+
#
|
70
|
+
# # @return [RDF::Vocabulary::Term]
|
71
|
+
# attr_reader :historyNote
|
72
|
+
#
|
73
|
+
# # @return [RDF::Vocabulary::Term]
|
74
|
+
# attr_reader :inScheme
|
75
|
+
#
|
76
|
+
# # 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.
|
77
|
+
# # @return [RDF::Vocabulary::Term]
|
78
|
+
# attr_reader :mappingRelation
|
79
|
+
#
|
80
|
+
# # @return [RDF::Vocabulary::Term]
|
81
|
+
# attr_reader :member
|
82
|
+
#
|
83
|
+
# # For any resource, every item in the list given as the value of the skos:memberList property is also a value of the skos:member property.
|
84
|
+
# # @return [RDF::Vocabulary::Term]
|
85
|
+
# attr_reader :memberList
|
86
|
+
#
|
87
|
+
# # @return [RDF::Vocabulary::Term]
|
88
|
+
# attr_reader :narrowMatch
|
89
|
+
#
|
90
|
+
# # Narrower concepts are typically rendered as children in a concept hierarchy (tree).
|
91
|
+
# # @return [RDF::Vocabulary::Term]
|
92
|
+
# attr_reader :narrower
|
93
|
+
#
|
94
|
+
# # @return [RDF::Vocabulary::Term]
|
95
|
+
# attr_reader :narrowerTransitive
|
96
|
+
#
|
97
|
+
# # @return [RDF::Vocabulary::Term]
|
98
|
+
# attr_reader :notation
|
99
|
+
#
|
100
|
+
# # @return [RDF::Vocabulary::Term]
|
101
|
+
# attr_reader :note
|
102
|
+
#
|
103
|
+
# # The range of skos:prefLabel is the class of RDF plain literals.
|
104
|
+
# #
|
105
|
+
# # 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.
|
106
|
+
# #
|
107
|
+
# # skos:prefLabel, skos:altLabel and skos:hiddenLabel are pairwise disjoint properties.
|
108
|
+
# # @return [RDF::Vocabulary::Term]
|
109
|
+
# attr_reader :prefLabel
|
110
|
+
#
|
111
|
+
# # skos:related is disjoint with skos:broaderTransitive
|
112
|
+
# # @return [RDF::Vocabulary::Term]
|
113
|
+
# attr_reader :related
|
114
|
+
#
|
115
|
+
# # @return [RDF::Vocabulary::Term]
|
116
|
+
# attr_reader :relatedMatch
|
117
|
+
#
|
118
|
+
# # @return [RDF::Vocabulary::Term]
|
119
|
+
# attr_reader :scopeNote
|
120
|
+
#
|
121
|
+
# # @return [RDF::Vocabulary::Term]
|
122
|
+
# attr_reader :semanticRelation
|
123
|
+
#
|
124
|
+
# # @return [RDF::Vocabulary::Term]
|
125
|
+
# attr_reader :topConceptOf
|
126
|
+
#
|
9
127
|
# end
|
10
|
-
|
128
|
+
SKOS = Class.new(RDF::StrictVocabulary("http://www.w3.org/2004/02/skos/core#")) do
|
11
129
|
|
12
130
|
# Ontology definition
|
13
131
|
ontology :"http://www.w3.org/2004/02/skos/core#",
|
@@ -20,19 +138,19 @@ module RDF::Vocab
|
|
20
138
|
|
21
139
|
# Class definitions
|
22
140
|
term :Collection,
|
23
|
-
definition:
|
141
|
+
definition: "A meaningful collection of concepts.".freeze,
|
24
142
|
isDefinedBy: "http://www.w3.org/2004/02/skos/core".freeze,
|
25
143
|
label: "Collection".freeze,
|
26
144
|
"owl:disjointWith": ["skos:Concept".freeze, "skos:ConceptScheme".freeze],
|
27
145
|
"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,
|
28
146
|
type: "owl:Class".freeze
|
29
147
|
term :Concept,
|
30
|
-
definition:
|
148
|
+
definition: "An idea or notion; a unit of thought.".freeze,
|
31
149
|
isDefinedBy: "http://www.w3.org/2004/02/skos/core".freeze,
|
32
150
|
label: "Concept".freeze,
|
33
151
|
type: "owl:Class".freeze
|
34
152
|
term :ConceptScheme,
|
35
|
-
definition:
|
153
|
+
definition: "A set of concepts, optionally including statements about semantic relationships between those concepts.".freeze,
|
36
154
|
isDefinedBy: "http://www.w3.org/2004/02/skos/core".freeze,
|
37
155
|
label: "Concept Scheme".freeze,
|
38
156
|
"owl:disjointWith": "skos:Concept".freeze,
|
@@ -40,7 +158,7 @@ module RDF::Vocab
|
|
40
158
|
"skos:scopeNote": "A concept scheme may be defined to include concepts from different sources.".freeze,
|
41
159
|
type: "owl:Class".freeze
|
42
160
|
term :OrderedCollection,
|
43
|
-
definition:
|
161
|
+
definition: "An ordered collection of concepts, where both the grouping and the ordering are meaningful.".freeze,
|
44
162
|
isDefinedBy: "http://www.w3.org/2004/02/skos/core".freeze,
|
45
163
|
label: "Ordered Collection".freeze,
|
46
164
|
"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,
|
@@ -49,23 +167,23 @@ module RDF::Vocab
|
|
49
167
|
|
50
168
|
# Property definitions
|
51
169
|
property :altLabel,
|
52
|
-
comment: [
|
53
|
-
definition:
|
170
|
+
comment: ["The range of skos:altLabel is the class of RDF plain literals.".freeze, "skos:prefLabel, skos:altLabel and skos:hiddenLabel are pairwise disjoint properties.".freeze],
|
171
|
+
definition: "An alternative lexical label for a resource.".freeze,
|
54
172
|
isDefinedBy: "http://www.w3.org/2004/02/skos/core".freeze,
|
55
173
|
label: "alternative label".freeze,
|
56
174
|
"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,
|
57
175
|
subPropertyOf: "rdfs:label".freeze,
|
58
176
|
type: ["owl:AnnotationProperty".freeze, "rdf:Property".freeze]
|
59
177
|
property :broadMatch,
|
60
|
-
definition:
|
178
|
+
definition: "skos:broadMatch is used to state a hierarchical mapping link between two conceptual resources in different concept schemes.".freeze,
|
61
179
|
inverseOf: "skos:narrowMatch".freeze,
|
62
180
|
isDefinedBy: "http://www.w3.org/2004/02/skos/core".freeze,
|
63
181
|
label: "has broader match".freeze,
|
64
182
|
subPropertyOf: ["skos:broader".freeze, "skos:mappingRelation".freeze],
|
65
183
|
type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
|
66
184
|
property :broader,
|
67
|
-
comment:
|
68
|
-
definition:
|
185
|
+
comment: "Broader concepts are typically rendered as parents in a concept hierarchy (tree).".freeze,
|
186
|
+
definition: "Relates a concept to a concept that is more general in meaning.".freeze,
|
69
187
|
inverseOf: "skos:narrower".freeze,
|
70
188
|
isDefinedBy: "http://www.w3.org/2004/02/skos/core".freeze,
|
71
189
|
label: "has broader".freeze,
|
@@ -73,7 +191,7 @@ module RDF::Vocab
|
|
73
191
|
subPropertyOf: "skos:broaderTransitive".freeze,
|
74
192
|
type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
|
75
193
|
property :broaderTransitive,
|
76
|
-
definition:
|
194
|
+
definition: "skos:broaderTransitive is a transitive superproperty of skos:broader.".freeze,
|
77
195
|
inverseOf: "skos:narrowerTransitive".freeze,
|
78
196
|
isDefinedBy: "http://www.w3.org/2004/02/skos/core".freeze,
|
79
197
|
label: "has broader transitive".freeze,
|
@@ -81,44 +199,44 @@ module RDF::Vocab
|
|
81
199
|
subPropertyOf: "skos:semanticRelation".freeze,
|
82
200
|
type: ["owl:ObjectProperty".freeze, "owl:TransitiveProperty".freeze, "rdf:Property".freeze]
|
83
201
|
property :changeNote,
|
84
|
-
definition:
|
202
|
+
definition: "A note about a modification to a concept.".freeze,
|
85
203
|
isDefinedBy: "http://www.w3.org/2004/02/skos/core".freeze,
|
86
204
|
label: "change note".freeze,
|
87
205
|
subPropertyOf: "skos:note".freeze,
|
88
206
|
type: ["owl:AnnotationProperty".freeze, "rdf:Property".freeze]
|
89
207
|
property :closeMatch,
|
90
|
-
definition:
|
208
|
+
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,
|
91
209
|
isDefinedBy: "http://www.w3.org/2004/02/skos/core".freeze,
|
92
210
|
label: "has close match".freeze,
|
93
211
|
subPropertyOf: "skos:mappingRelation".freeze,
|
94
212
|
type: ["owl:ObjectProperty".freeze, "owl:SymmetricProperty".freeze, "rdf:Property".freeze]
|
95
213
|
property :definition,
|
96
|
-
definition:
|
214
|
+
definition: "A statement or formal explanation of the meaning of a concept.".freeze,
|
97
215
|
isDefinedBy: "http://www.w3.org/2004/02/skos/core".freeze,
|
98
216
|
label: "definition".freeze,
|
99
217
|
subPropertyOf: "skos:note".freeze,
|
100
218
|
type: ["owl:AnnotationProperty".freeze, "rdf:Property".freeze]
|
101
219
|
property :editorialNote,
|
102
|
-
definition:
|
220
|
+
definition: "A note for an editor, translator or maintainer of the vocabulary.".freeze,
|
103
221
|
isDefinedBy: "http://www.w3.org/2004/02/skos/core".freeze,
|
104
222
|
label: "editorial note".freeze,
|
105
223
|
subPropertyOf: "skos:note".freeze,
|
106
224
|
type: ["owl:AnnotationProperty".freeze, "rdf:Property".freeze]
|
107
225
|
property :exactMatch,
|
108
|
-
comment:
|
109
|
-
definition:
|
226
|
+
comment: "skos:exactMatch is disjoint with each of the properties skos:broadMatch and skos:relatedMatch.".freeze,
|
227
|
+
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,
|
110
228
|
isDefinedBy: "http://www.w3.org/2004/02/skos/core".freeze,
|
111
229
|
label: "has exact match".freeze,
|
112
230
|
subPropertyOf: "skos:closeMatch".freeze,
|
113
231
|
type: ["owl:ObjectProperty".freeze, "owl:SymmetricProperty".freeze, "owl:TransitiveProperty".freeze, "rdf:Property".freeze]
|
114
232
|
property :example,
|
115
|
-
definition:
|
233
|
+
definition: "An example of the use of a concept.".freeze,
|
116
234
|
isDefinedBy: "http://www.w3.org/2004/02/skos/core".freeze,
|
117
235
|
label: "example".freeze,
|
118
236
|
subPropertyOf: "skos:note".freeze,
|
119
237
|
type: ["owl:AnnotationProperty".freeze, "rdf:Property".freeze]
|
120
238
|
property :hasTopConcept,
|
121
|
-
definition:
|
239
|
+
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,
|
122
240
|
domain: "skos:ConceptScheme".freeze,
|
123
241
|
inverseOf: "skos:topConceptOf".freeze,
|
124
242
|
isDefinedBy: "http://www.w3.org/2004/02/skos/core".freeze,
|
@@ -126,34 +244,34 @@ module RDF::Vocab
|
|
126
244
|
range: "skos:Concept".freeze,
|
127
245
|
type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
|
128
246
|
property :hiddenLabel,
|
129
|
-
comment: [
|
130
|
-
definition:
|
247
|
+
comment: ["The range of skos:hiddenLabel is the class of RDF plain literals.".freeze, "skos:prefLabel, skos:altLabel and skos:hiddenLabel are pairwise disjoint properties.".freeze],
|
248
|
+
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,
|
131
249
|
isDefinedBy: "http://www.w3.org/2004/02/skos/core".freeze,
|
132
250
|
label: "hidden label".freeze,
|
133
251
|
subPropertyOf: "rdfs:label".freeze,
|
134
252
|
type: ["owl:AnnotationProperty".freeze, "rdf:Property".freeze]
|
135
253
|
property :historyNote,
|
136
|
-
definition:
|
254
|
+
definition: "A note about the past state/use/meaning of a concept.".freeze,
|
137
255
|
isDefinedBy: "http://www.w3.org/2004/02/skos/core".freeze,
|
138
256
|
label: "history note".freeze,
|
139
257
|
subPropertyOf: "skos:note".freeze,
|
140
258
|
type: ["owl:AnnotationProperty".freeze, "rdf:Property".freeze]
|
141
259
|
property :inScheme,
|
142
|
-
definition:
|
260
|
+
definition: "Relates a resource (for example a concept) to a concept scheme in which it is included.".freeze,
|
143
261
|
isDefinedBy: "http://www.w3.org/2004/02/skos/core".freeze,
|
144
262
|
label: "is in scheme".freeze,
|
145
263
|
range: "skos:ConceptScheme".freeze,
|
146
264
|
"skos:scopeNote": "A concept may be a member of more than one concept scheme.".freeze,
|
147
265
|
type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
|
148
266
|
property :mappingRelation,
|
149
|
-
comment:
|
150
|
-
definition:
|
267
|
+
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,
|
268
|
+
definition: "Relates two concepts coming, by convention, from different schemes, and that have comparable meanings".freeze,
|
151
269
|
isDefinedBy: "http://www.w3.org/2004/02/skos/core".freeze,
|
152
270
|
label: "is in mapping relation with".freeze,
|
153
271
|
subPropertyOf: "skos:semanticRelation".freeze,
|
154
272
|
type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
|
155
273
|
property :member,
|
156
|
-
definition:
|
274
|
+
definition: "Relates a collection to one of its members.".freeze,
|
157
275
|
domain: "skos:Collection".freeze,
|
158
276
|
isDefinedBy: "http://www.w3.org/2004/02/skos/core".freeze,
|
159
277
|
label: "has member".freeze,
|
@@ -163,24 +281,23 @@ module RDF::Vocab
|
|
163
281
|
),
|
164
282
|
type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
|
165
283
|
property :memberList,
|
166
|
-
comment:
|
167
|
-
|
168
|
-
definition: %(Relates an ordered collection to the RDF list containing its members.).freeze,
|
284
|
+
comment: "For any resource, every item in the list given as the value of the\n skos:memberList property is also a value of the skos:member property.".freeze,
|
285
|
+
definition: "Relates an ordered collection to the RDF list containing its members.".freeze,
|
169
286
|
domain: "skos:OrderedCollection".freeze,
|
170
287
|
isDefinedBy: "http://www.w3.org/2004/02/skos/core".freeze,
|
171
288
|
label: "has member list".freeze,
|
172
289
|
range: "rdf:List".freeze,
|
173
290
|
type: ["owl:FunctionalProperty".freeze, "owl:ObjectProperty".freeze, "rdf:Property".freeze]
|
174
291
|
property :narrowMatch,
|
175
|
-
definition:
|
292
|
+
definition: "skos:narrowMatch is used to state a hierarchical mapping link between two conceptual resources in different concept schemes.".freeze,
|
176
293
|
inverseOf: "skos:broadMatch".freeze,
|
177
294
|
isDefinedBy: "http://www.w3.org/2004/02/skos/core".freeze,
|
178
295
|
label: "has narrower match".freeze,
|
179
296
|
subPropertyOf: ["skos:mappingRelation".freeze, "skos:narrower".freeze],
|
180
297
|
type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
|
181
298
|
property :narrower,
|
182
|
-
comment:
|
183
|
-
definition:
|
299
|
+
comment: "Narrower concepts are typically rendered as children in a concept hierarchy (tree).".freeze,
|
300
|
+
definition: "Relates a concept to a concept that is more specific in meaning.".freeze,
|
184
301
|
inverseOf: "skos:broader".freeze,
|
185
302
|
isDefinedBy: "http://www.w3.org/2004/02/skos/core".freeze,
|
186
303
|
label: "has narrower".freeze,
|
@@ -188,7 +305,7 @@ module RDF::Vocab
|
|
188
305
|
subPropertyOf: "skos:narrowerTransitive".freeze,
|
189
306
|
type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
|
190
307
|
property :narrowerTransitive,
|
191
|
-
definition:
|
308
|
+
definition: "skos:narrowerTransitive is a transitive superproperty of skos:narrower.".freeze,
|
192
309
|
inverseOf: "skos:broaderTransitive".freeze,
|
193
310
|
isDefinedBy: "http://www.w3.org/2004/02/skos/core".freeze,
|
194
311
|
label: "has narrower transitive".freeze,
|
@@ -196,46 +313,45 @@ module RDF::Vocab
|
|
196
313
|
subPropertyOf: "skos:semanticRelation".freeze,
|
197
314
|
type: ["owl:ObjectProperty".freeze, "owl:TransitiveProperty".freeze, "rdf:Property".freeze]
|
198
315
|
property :notation,
|
199
|
-
definition:
|
316
|
+
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,
|
200
317
|
isDefinedBy: "http://www.w3.org/2004/02/skos/core".freeze,
|
201
318
|
label: "notation".freeze,
|
202
319
|
"skos:scopeNote": "By convention, skos:notation is used with a typed literal in the object position of the triple.".freeze,
|
203
320
|
type: ["owl:DatatypeProperty".freeze, "rdf:Property".freeze]
|
204
321
|
property :note,
|
205
|
-
definition:
|
322
|
+
definition: "A general note, for any purpose.".freeze,
|
206
323
|
isDefinedBy: "http://www.w3.org/2004/02/skos/core".freeze,
|
207
324
|
label: "note".freeze,
|
208
325
|
"skos:scopeNote": "This property may be used directly, or as a super-property for more specific note types.".freeze,
|
209
326
|
type: ["owl:AnnotationProperty".freeze, "rdf:Property".freeze]
|
210
327
|
property :prefLabel,
|
211
|
-
comment: [
|
212
|
-
|
213
|
-
definition: %(The preferred lexical label for a resource, in a given language.).freeze,
|
328
|
+
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, "The range of skos:prefLabel is the class of RDF plain literals.".freeze, "skos:prefLabel, skos:altLabel and skos:hiddenLabel are pairwise\n disjoint properties.".freeze],
|
329
|
+
definition: "The preferred lexical label for a resource, in a given language.".freeze,
|
214
330
|
isDefinedBy: "http://www.w3.org/2004/02/skos/core".freeze,
|
215
331
|
label: "preferred label".freeze,
|
216
332
|
subPropertyOf: "rdfs:label".freeze,
|
217
333
|
type: ["owl:AnnotationProperty".freeze, "rdf:Property".freeze]
|
218
334
|
property :related,
|
219
|
-
comment:
|
220
|
-
definition:
|
335
|
+
comment: "skos:related is disjoint with skos:broaderTransitive".freeze,
|
336
|
+
definition: "Relates a concept to a concept with which there is an associative semantic relationship.".freeze,
|
221
337
|
isDefinedBy: "http://www.w3.org/2004/02/skos/core".freeze,
|
222
338
|
label: "has related".freeze,
|
223
339
|
subPropertyOf: "skos:semanticRelation".freeze,
|
224
340
|
type: ["owl:ObjectProperty".freeze, "owl:SymmetricProperty".freeze, "rdf:Property".freeze]
|
225
341
|
property :relatedMatch,
|
226
|
-
definition:
|
342
|
+
definition: "skos:relatedMatch is used to state an associative mapping link between two conceptual resources in different concept schemes.".freeze,
|
227
343
|
isDefinedBy: "http://www.w3.org/2004/02/skos/core".freeze,
|
228
344
|
label: "has related match".freeze,
|
229
345
|
subPropertyOf: ["skos:mappingRelation".freeze, "skos:related".freeze],
|
230
346
|
type: ["owl:ObjectProperty".freeze, "owl:SymmetricProperty".freeze, "rdf:Property".freeze]
|
231
347
|
property :scopeNote,
|
232
|
-
definition:
|
348
|
+
definition: "A note that helps to clarify the meaning and/or the use of a concept.".freeze,
|
233
349
|
isDefinedBy: "http://www.w3.org/2004/02/skos/core".freeze,
|
234
350
|
label: "scope note".freeze,
|
235
351
|
subPropertyOf: "skos:note".freeze,
|
236
352
|
type: ["owl:AnnotationProperty".freeze, "rdf:Property".freeze]
|
237
353
|
property :semanticRelation,
|
238
|
-
definition:
|
354
|
+
definition: "Links a concept to a concept related by meaning.".freeze,
|
239
355
|
domain: "skos:Concept".freeze,
|
240
356
|
isDefinedBy: "http://www.w3.org/2004/02/skos/core".freeze,
|
241
357
|
label: "is in semantic relation with".freeze,
|
@@ -243,7 +359,7 @@ module RDF::Vocab
|
|
243
359
|
"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,
|
244
360
|
type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
|
245
361
|
property :topConceptOf,
|
246
|
-
definition:
|
362
|
+
definition: "Relates a concept to the concept scheme that it is a top level concept of.".freeze,
|
247
363
|
domain: "skos:Concept".freeze,
|
248
364
|
inverseOf: "skos:hasTopConcept".freeze,
|
249
365
|
isDefinedBy: "http://www.w3.org/2004/02/skos/core".freeze,
|
data/lib/rdf/vocab/skosxl.rb
CHANGED
@@ -5,9 +5,38 @@ require 'rdf'
|
|
5
5
|
module RDF::Vocab
|
6
6
|
# @!parse
|
7
7
|
# # Vocabulary for <http://www.w3.org/2008/05/skos-xl#>
|
8
|
+
# #
|
9
|
+
# # SKOS XL Vocabulary
|
10
|
+
# #
|
11
|
+
# # An RDF vocabulary extending SKOS and allowing the description and linking of lexical entities.
|
12
|
+
# # @see http://www.w3.org/2008/05/skos
|
8
13
|
# class SKOSXL < RDF::StrictVocabulary
|
14
|
+
# # @return [RDF::Vocabulary::Term]
|
15
|
+
# attr_reader :Label
|
16
|
+
#
|
17
|
+
# # If C skosxl:altLabel L and L skosxl:literalForm V, then X skos:altLabel V.
|
18
|
+
# # @return [RDF::Vocabulary::Term]
|
19
|
+
# attr_reader :altLabel
|
20
|
+
#
|
21
|
+
# # If C skosxl:hiddenLabel L and L skosxl:literalForm V, then C skos:hiddenLabel V.
|
22
|
+
# # @return [RDF::Vocabulary::Term]
|
23
|
+
# attr_reader :hiddenLabel
|
24
|
+
#
|
25
|
+
# # @return [RDF::Vocabulary::Term]
|
26
|
+
# attr_reader :labelRelation
|
27
|
+
#
|
28
|
+
# # If two instances of the class skosxl:Label have the same literal form, they are not necessarily the same resource.
|
29
|
+
# #
|
30
|
+
# # The range of skosxl:literalForm is the class of RDF plain literals.
|
31
|
+
# # @return [RDF::Vocabulary::Term]
|
32
|
+
# attr_reader :literalForm
|
33
|
+
#
|
34
|
+
# # If C skosxl:prefLabel L and L skosxl:literalForm V, then X skos:prefLabel V.
|
35
|
+
# # @return [RDF::Vocabulary::Term]
|
36
|
+
# attr_reader :prefLabel
|
37
|
+
#
|
9
38
|
# end
|
10
|
-
|
39
|
+
SKOSXL = Class.new(RDF::StrictVocabulary("http://www.w3.org/2008/05/skos-xl#")) do
|
11
40
|
|
12
41
|
# Ontology definition
|
13
42
|
ontology :"http://www.w3.org/2008/05/skos-xl#",
|
@@ -21,7 +50,7 @@ module RDF::Vocab
|
|
21
50
|
|
22
51
|
# Class definitions
|
23
52
|
term :Label,
|
24
|
-
definition:
|
53
|
+
definition: "A special class of lexical entities.".freeze,
|
25
54
|
isDefinedBy: "http://www.w3.org/2008/05/skos-xl".freeze,
|
26
55
|
label: "Label".freeze,
|
27
56
|
"owl:disjointWith": ["skos:Collection".freeze, "skos:Concept".freeze, "skos:ConceptScheme".freeze],
|
@@ -34,23 +63,23 @@ module RDF::Vocab
|
|
34
63
|
|
35
64
|
# Property definitions
|
36
65
|
property :altLabel,
|
37
|
-
comment:
|
38
|
-
definition:
|
66
|
+
comment: "If C skosxl:altLabel L and L skosxl:literalForm V, then X skos:altLabel V.".freeze,
|
67
|
+
definition: "The property skosxl:altLabel is used to associate an skosxl:Label with a skos:Concept. The property is analogous to skos:altLabel.".freeze,
|
39
68
|
isDefinedBy: "http://www.w3.org/2008/05/skos-xl".freeze,
|
40
69
|
label: "alternative label".freeze,
|
41
70
|
range: "skosxl:Label".freeze,
|
42
71
|
"rdfs:seeAlso": "skos:altLabel".freeze,
|
43
72
|
type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
|
44
73
|
property :hiddenLabel,
|
45
|
-
comment:
|
46
|
-
definition:
|
74
|
+
comment: "If C skosxl:hiddenLabel L and L skosxl:literalForm V, then C skos:hiddenLabel V.".freeze,
|
75
|
+
definition: "The property skosxl:hiddenLabel is used to associate an skosxl:Label with a skos:Concept. The property is analogous to skos:hiddenLabel.".freeze,
|
47
76
|
isDefinedBy: "http://www.w3.org/2008/05/skos-xl".freeze,
|
48
77
|
label: "hidden label".freeze,
|
49
78
|
range: "skosxl:Label".freeze,
|
50
79
|
"rdfs:seeAlso": "skos:hiddenLabel".freeze,
|
51
80
|
type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
|
52
81
|
property :labelRelation,
|
53
|
-
definition:
|
82
|
+
definition: "The property skosxl:labelRelation is used for representing binary ('direct') relations between instances of the class skosxl:Label.".freeze,
|
54
83
|
domain: "skosxl:Label".freeze,
|
55
84
|
isDefinedBy: "http://www.w3.org/2008/05/skos-xl".freeze,
|
56
85
|
label: "label relation".freeze,
|
@@ -58,15 +87,15 @@ module RDF::Vocab
|
|
58
87
|
"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,
|
59
88
|
type: ["owl:ObjectProperty".freeze, "owl:SymmetricProperty".freeze, "rdf:Property".freeze]
|
60
89
|
property :literalForm,
|
61
|
-
comment: [
|
62
|
-
definition:
|
90
|
+
comment: ["If two instances of the class skosxl:Label have the same literal form, they are not necessarily the same resource.".freeze, "The range of skosxl:literalForm is the class of RDF plain literals.".freeze],
|
91
|
+
definition: "The property skosxl:literalForm is used to give the literal form of an skosxl:Label.".freeze,
|
63
92
|
domain: "skosxl:Label".freeze,
|
64
93
|
isDefinedBy: "http://www.w3.org/2008/05/skos-xl".freeze,
|
65
94
|
label: "literal form".freeze,
|
66
95
|
type: ["owl:DatatypeProperty".freeze, "rdf:Property".freeze]
|
67
96
|
property :prefLabel,
|
68
|
-
comment:
|
69
|
-
definition:
|
97
|
+
comment: "If C skosxl:prefLabel L and L skosxl:literalForm V, then X skos:prefLabel V.".freeze,
|
98
|
+
definition: "The property skosxl:prefLabel is used to associate an skosxl:Label with a skos:Concept. The property is analogous to skos:prefLabel.".freeze,
|
70
99
|
isDefinedBy: "http://www.w3.org/2008/05/skos-xl".freeze,
|
71
100
|
label: "preferred label".freeze,
|
72
101
|
range: "skosxl:Label".freeze,
|