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.
Files changed (87) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +1 -1
  3. data/README.md +69 -45
  4. data/VERSION +1 -1
  5. data/lib/rdf/vocab.rb +60 -40
  6. data/lib/rdf/vocab/acl.rb +104 -61
  7. data/lib/rdf/vocab/as.rb +556 -91
  8. data/lib/rdf/vocab/bf2.rb +1791 -475
  9. data/lib/rdf/vocab/bibframe.rb +1 -2
  10. data/lib/rdf/vocab/bibo.rb +616 -124
  11. data/lib/rdf/vocab/cc.rb +125 -48
  12. data/lib/rdf/vocab/cert.rb +68 -1
  13. data/lib/rdf/vocab/cnt.rb +79 -1
  14. data/lib/rdf/vocab/crm.rb +1543 -776
  15. data/lib/rdf/vocab/datacite.rb +1 -1
  16. data/lib/rdf/vocab/dbo.rb +10463 -1
  17. data/lib/rdf/vocab/dc.rb +485 -99
  18. data/lib/rdf/vocab/dc11.rb +93 -31
  19. data/lib/rdf/vocab/dcat.rb +236 -88
  20. data/lib/rdf/vocab/dcmitype.rb +63 -13
  21. data/lib/rdf/vocab/disco.rb +286 -59
  22. data/lib/rdf/vocab/doap.rb +175 -1
  23. data/lib/rdf/vocab/dwc.rb +941 -189
  24. data/lib/rdf/vocab/earl.rb +324 -0
  25. data/lib/rdf/vocab/ebucore.rb +7255 -2184
  26. data/lib/rdf/vocab/edm.rb +202 -76
  27. data/lib/rdf/vocab/exif.rb +650 -1
  28. data/lib/rdf/vocab/extensions.rb +257 -203
  29. data/lib/rdf/vocab/fcrepo4.rb +398 -22
  30. data/lib/rdf/vocab/foaf.rb +380 -76
  31. data/lib/rdf/vocab/geo.rb +47 -110
  32. data/lib/rdf/vocab/geojson.rb +82 -17
  33. data/lib/rdf/vocab/geonames.rb +1508 -1351
  34. data/lib/rdf/vocab/gr.rb +861 -565
  35. data/lib/rdf/vocab/gs1.rb +1597 -1
  36. data/lib/rdf/vocab/ht.rb +204 -41
  37. data/lib/rdf/vocab/hydra.rb +335 -60
  38. data/lib/rdf/vocab/iana.rb +301 -114
  39. data/lib/rdf/vocab/ical.rb +534 -121
  40. data/lib/rdf/vocab/identifiers.rb +459 -499
  41. data/lib/rdf/vocab/iiif.rb +161 -26
  42. data/lib/rdf/vocab/jsonld.rb +179 -53
  43. data/lib/rdf/vocab/ldp.rb +130 -1
  44. data/lib/rdf/vocab/lrmi.rb +85 -17
  45. data/lib/rdf/vocab/ma.rb +460 -80
  46. data/lib/rdf/vocab/mads.rb +610 -22
  47. data/lib/rdf/vocab/{marc_relators.rb → marcrelators.rb} +813 -4
  48. data/lib/rdf/vocab/mo.rb +1115 -540
  49. data/lib/rdf/vocab/mods.rb +635 -124
  50. data/lib/rdf/vocab/nfo.rb +1 -1
  51. data/lib/rdf/vocab/oa.rb +343 -73
  52. data/lib/rdf/vocab/og.rb +100 -1
  53. data/lib/rdf/vocab/ogc.rb +42 -9
  54. data/lib/rdf/vocab/ore.rb +69 -14
  55. data/lib/rdf/vocab/org.rb +235 -47
  56. data/lib/rdf/vocab/pcdm.rb +58 -34
  57. data/lib/rdf/vocab/pplan.rb +21 -136
  58. data/lib/rdf/vocab/premis.rb +1171 -779
  59. data/lib/rdf/vocab/{premis_event_type.rb → premiseventtype.rb} +156 -2
  60. data/lib/rdf/vocab/prov.rb +700 -107
  61. data/lib/rdf/vocab/ptr.rb +172 -37
  62. data/lib/rdf/vocab/rightsstatements.rb +17 -13
  63. data/lib/rdf/vocab/rsa.rb +30 -1
  64. data/lib/rdf/vocab/rss.rb +52 -11
  65. data/lib/rdf/vocab/schema.rb +14970 -3993
  66. data/lib/rdf/vocab/schemas.rb +27066 -0
  67. data/lib/rdf/vocab/sd.rb +372 -0
  68. data/lib/rdf/vocab/sh.rb +919 -184
  69. data/lib/rdf/vocab/sioc.rb +498 -98
  70. data/lib/rdf/vocab/{sioc_services.rb → siocservices.rb} +46 -9
  71. data/lib/rdf/vocab/sioctypes.rb +434 -0
  72. data/lib/rdf/vocab/skos.rb +160 -44
  73. data/lib/rdf/vocab/skosxl.rb +40 -11
  74. data/lib/rdf/vocab/v.rb +323 -37
  75. data/lib/rdf/vocab/vcard.rb +625 -119
  76. data/lib/rdf/vocab/vmd.rb +323 -37
  77. data/lib/rdf/vocab/void.rb +147 -27
  78. data/lib/rdf/vocab/vs.rb +23 -5
  79. data/lib/rdf/vocab/wdrs.rb +112 -23
  80. data/lib/rdf/vocab/wot.rb +96 -19
  81. data/lib/rdf/vocab/xhtml.rb +2 -1
  82. data/lib/rdf/vocab/xhv.rb +422 -201
  83. data/lib/rdf/vocab/xkos.rb +156 -7
  84. data/spec/extensions_spec.rb +68 -0
  85. data/spec/vocab_spec.rb +10 -0
  86. metadata +20 -11
  87. data/lib/rdf/vocab/sioct.rb +0 -277
@@ -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
- class SKOS < RDF::StrictVocabulary("http://www.w3.org/2004/02/skos/core#")
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: %(A meaningful collection of concepts.).freeze,
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: %(An idea or notion; a unit of thought.).freeze,
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: %(A set of concepts, optionally including statements about semantic relationships between those concepts.).freeze,
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: %(An ordered collection of concepts, where both the grouping and the ordering are meaningful.).freeze,
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: [%(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],
53
- definition: %(An alternative lexical label for a resource.).freeze,
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: %(skos:broadMatch is used to state a hierarchical mapping link between two conceptual resources in different concept schemes.).freeze,
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: %(Broader concepts are typically rendered as parents in a concept hierarchy \(tree\).).freeze,
68
- definition: %(Relates a concept to a concept that is more general in meaning.).freeze,
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: %(skos:broaderTransitive is a transitive superproperty of skos:broader.).freeze,
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: %(A note about a modification to a concept.).freeze,
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: %(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,
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: %(A statement or formal explanation of the meaning of a concept.).freeze,
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: %(A note for an editor, translator or maintainer of the vocabulary.).freeze,
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: %(skos:exactMatch is disjoint with each of the properties skos:broadMatch and skos:relatedMatch.).freeze,
109
- 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,
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: %(An example of the use of a concept.).freeze,
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: %(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,
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: [%(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],
130
- 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,
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: %(A note about the past state/use/meaning of a concept.).freeze,
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: %(Relates a resource \(for example a concept\) to a concept scheme in which it is included.).freeze,
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: %(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,
150
- definition: %(Relates two concepts coming, by convention, from different schemes, and that have comparable meanings).freeze,
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: %(Relates a collection to one of its members.).freeze,
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: %(For any resource, every item in the list given as the value of the
167
- skos:memberList property is also a value of the skos:member property.).freeze,
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: %(skos:narrowMatch is used to state a hierarchical mapping link between two conceptual resources in different concept schemes.).freeze,
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: %(Narrower concepts are typically rendered as children in a concept hierarchy \(tree\).).freeze,
183
- definition: %(Relates a concept to a concept that is more specific in meaning.).freeze,
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: %(skos:narrowerTransitive is a transitive superproperty of skos:narrower.).freeze,
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: %(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,
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: %(A general note, for any purpose.).freeze,
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: [%(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
212
- disjoint properties.).freeze],
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: %(skos:related is disjoint with skos:broaderTransitive).freeze,
220
- definition: %(Relates a concept to a concept with which there is an associative semantic relationship.).freeze,
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: %(skos:relatedMatch is used to state an associative mapping link between two conceptual resources in different concept schemes.).freeze,
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: %(A note that helps to clarify the meaning and/or the use of a concept.).freeze,
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: %(Links a concept to a concept related by meaning.).freeze,
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: %(Relates a concept to the concept scheme that it is a top level concept of.).freeze,
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,
@@ -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
- class SKOSXL < RDF::StrictVocabulary("http://www.w3.org/2008/05/skos-xl#")
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: %(A special class of lexical entities.).freeze,
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: %(If C skosxl:altLabel L and L skosxl:literalForm V, then X skos:altLabel V.).freeze,
38
- definition: %(The property skosxl:altLabel is used to associate an skosxl:Label with a skos:Concept. The property is analogous to skos:altLabel.).freeze,
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: %(If C skosxl:hiddenLabel L and L skosxl:literalForm V, then C skos:hiddenLabel V.).freeze,
46
- definition: %(The property skosxl:hiddenLabel is used to associate an skosxl:Label with a skos:Concept. The property is analogous to skos:hiddenLabel.).freeze,
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: %(The property skosxl:labelRelation is used for representing binary \('direct'\) relations between instances of the class skosxl:Label.).freeze,
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: [%(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],
62
- definition: %(The property skosxl:literalForm is used to give the literal form of an skosxl:Label.).freeze,
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: %(If C skosxl:prefLabel L and L skosxl:literalForm V, then X skos:prefLabel V.).freeze,
69
- definition: %(The property skosxl:prefLabel is used to associate an skosxl:Label with a skos:Concept. The property is analogous to skos:prefLabel.).freeze,
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,