rdf-vocab 3.1.1 → 3.1.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (85) 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 +55 -39
  6. data/lib/rdf/vocab/acl.rb +84 -1
  7. data/lib/rdf/vocab/as.rb +466 -1
  8. data/lib/rdf/vocab/bf2.rb +1317 -1
  9. data/lib/rdf/vocab/bibframe.rb +1 -2
  10. data/lib/rdf/vocab/bibo.rb +496 -1
  11. data/lib/rdf/vocab/cc.rb +107 -1
  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 +1303 -1
  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 +470 -301
  18. data/lib/rdf/vocab/dc11.rb +88 -57
  19. data/lib/rdf/vocab/dcat.rb +153 -5
  20. data/lib/rdf/vocab/dcmitype.rb +51 -25
  21. data/lib/rdf/vocab/disco.rb +228 -1
  22. data/lib/rdf/vocab/doap.rb +175 -1
  23. data/lib/rdf/vocab/dwc.rb +753 -1
  24. data/lib/rdf/vocab/earl.rb +324 -0
  25. data/lib/rdf/vocab/ebucore.rb +7335 -1974
  26. data/lib/rdf/vocab/edm.rb +150 -1
  27. data/lib/rdf/vocab/exif.rb +650 -1
  28. data/lib/rdf/vocab/extensions.rb +265 -212
  29. data/lib/rdf/vocab/fcrepo4.rb +377 -1
  30. data/lib/rdf/vocab/foaf.rb +305 -1
  31. data/lib/rdf/vocab/geo.rb +39 -1
  32. data/lib/rdf/vocab/geojson.rb +66 -1
  33. data/lib/rdf/vocab/geonames.rb +166 -1
  34. data/lib/rdf/vocab/gr.rb +684 -1
  35. data/lib/rdf/vocab/gs1.rb +1597 -1
  36. data/lib/rdf/vocab/ht.rb +164 -1
  37. data/lib/rdf/vocab/hydra.rb +238 -4
  38. data/lib/rdf/vocab/iana.rb +230 -1
  39. data/lib/rdf/vocab/ical.rb +462 -1
  40. data/lib/rdf/vocab/identifiers.rb +462 -1
  41. data/lib/rdf/vocab/iiif.rb +136 -1
  42. data/lib/rdf/vocab/jsonld.rb +147 -3
  43. data/lib/rdf/vocab/ldp.rb +130 -1
  44. data/lib/rdf/vocab/lrmi.rb +69 -1
  45. data/lib/rdf/vocab/ma.rb +381 -1
  46. data/lib/rdf/vocab/mads.rb +610 -22
  47. data/lib/rdf/vocab/{marc_relators.rb → marcrelators.rb} +809 -1
  48. data/lib/rdf/vocab/mo.rb +919 -1
  49. data/lib/rdf/vocab/mods.rb +516 -1
  50. data/lib/rdf/vocab/nfo.rb +1 -1
  51. data/lib/rdf/vocab/oa.rb +275 -1
  52. data/lib/rdf/vocab/og.rb +100 -1
  53. data/lib/rdf/vocab/ogc.rb +34 -1
  54. data/lib/rdf/vocab/ore.rb +56 -1
  55. data/lib/rdf/vocab/org.rb +189 -1
  56. data/lib/rdf/vocab/pcdm.rb +47 -1
  57. data/lib/rdf/vocab/pplan.rb +64 -1
  58. data/lib/rdf/vocab/premis.rb +1266 -779
  59. data/lib/rdf/vocab/{premis_event_type.rb → premiseventtype.rb} +155 -1
  60. data/lib/rdf/vocab/prov.rb +619 -1
  61. data/lib/rdf/vocab/ptr.rb +138 -1
  62. data/lib/rdf/vocab/rightsstatements.rb +5 -1
  63. data/lib/rdf/vocab/rsa.rb +30 -1
  64. data/lib/rdf/vocab/rss.rb +42 -1
  65. data/lib/rdf/vocab/schema.rb +12470 -804
  66. data/lib/rdf/vocab/sd.rb +372 -0
  67. data/lib/rdf/vocab/sh.rb +736 -1
  68. data/lib/rdf/vocab/sioc.rb +401 -1
  69. data/lib/rdf/vocab/{sioc_services.rb → siocservices.rb} +38 -1
  70. data/lib/rdf/vocab/{sioct.rb → sioctypes.rb} +158 -1
  71. data/lib/rdf/vocab/skos.rb +119 -1
  72. data/lib/rdf/vocab/skosxl.rb +30 -1
  73. data/lib/rdf/vocab/v.rb +291 -1
  74. data/lib/rdf/vocab/vcard.rb +508 -1
  75. data/lib/rdf/vocab/vmd.rb +291 -1
  76. data/lib/rdf/vocab/void.rb +121 -1
  77. data/lib/rdf/vocab/vs.rb +19 -1
  78. data/lib/rdf/vocab/wdrs.rb +90 -1
  79. data/lib/rdf/vocab/wot.rb +78 -1
  80. data/lib/rdf/vocab/xhtml.rb +2 -1
  81. data/lib/rdf/vocab/xhv.rb +338 -1
  82. data/lib/rdf/vocab/xkos.rb +150 -1
  83. data/spec/extensions_spec.rb +68 -0
  84. data/spec/vocab_spec.rb +10 -0
  85. metadata +16 -8
@@ -5,9 +5,299 @@ require 'rdf'
5
5
  module RDF::Vocab
6
6
  # @!parse
7
7
  # # Vocabulary for <http://data-vocabulary.org/>
8
+ # #
8
9
  # class VMD < RDF::StrictVocabulary
10
+ # # Postal address for a Person or Organization.
11
+ # # @return [RDF::Vocabulary::Term]
12
+ # attr_reader :Address
13
+ #
14
+ # # Represents a single Breadcrumb in a Breadcrumb trail.
15
+ # # @return [RDF::Vocabulary::Term]
16
+ # attr_reader :Breadcrumb
17
+ #
18
+ # # Represents the steps to make a dish.
19
+ # # @return [RDF::Vocabulary::Term]
20
+ # attr_reader :Instructions
21
+ #
22
+ # # Represents the nutrition information about a recipe.
23
+ # # @return [RDF::Vocabulary::Term]
24
+ # attr_reader :Nutrition
25
+ #
26
+ # # Represents an offer to sell a product.
27
+ # # @return [RDF::Vocabulary::Term]
28
+ # attr_reader :Offer
29
+ #
30
+ # # Represents a collection of offers to sell a product.
31
+ # # @return [RDF::Vocabulary::Term]
32
+ # attr_reader :OfferAggregate
33
+ #
34
+ # # An Organization is a business, agency, school, etc.
35
+ # # @return [RDF::Vocabulary::Term]
36
+ # attr_reader :Organization
37
+ #
38
+ # # Represents a Person, living/dead/fictional.
39
+ # # @return [RDF::Vocabulary::Term]
40
+ # attr_reader :Person
41
+ #
42
+ # # Represents a product or service in a Review or Review-aggregate.
43
+ # # @return [RDF::Vocabulary::Term]
44
+ # attr_reader :Product
45
+ #
46
+ # # Represents a rating in a Review or Review-aggregate.
47
+ # # @return [RDF::Vocabulary::Term]
48
+ # attr_reader :Rating
49
+ #
50
+ # # A single instance of a Recipe.
51
+ # # @return [RDF::Vocabulary::Term]
52
+ # attr_reader :Recipe
53
+ #
54
+ # # Represents ingredients used in a recipe.
55
+ # # @return [RDF::Vocabulary::Term]
56
+ # attr_reader :RecipeIngredient
57
+ #
58
+ # # A single instance of a Review.
59
+ # # @return [RDF::Vocabulary::Term]
60
+ # attr_reader :Review
61
+ #
62
+ # # Represents the length of time it takes to prepare a recipe.
63
+ # # @return [RDF::Vocabulary::Term]
64
+ # attr_reader :TimeRange
65
+ #
66
+ # # @return [RDF::Vocabulary::Term]
67
+ # attr_reader :acquaintance
68
+ #
69
+ # # @return [RDF::Vocabulary::Term]
70
+ # attr_reader :address
71
+ #
72
+ # # An affiliation can be specified by a string literal or an Organization instance.
73
+ # # @return [RDF::Vocabulary::Term]
74
+ # attr_reader :affiliation
75
+ #
76
+ # # @return [RDF::Vocabulary::Term]
77
+ # attr_reader :amount
78
+ #
79
+ # # An author of the recipe can be specified by a string literal or a Person instance.
80
+ # # @return [RDF::Vocabulary::Term]
81
+ # attr_reader :author
82
+ #
83
+ # # @return [RDF::Vocabulary::Term]
84
+ # attr_reader :availability
85
+ #
86
+ # # The average of an aggregate value.
87
+ # # @return [RDF::Vocabulary::Term]
88
+ # attr_reader :average
89
+ #
90
+ # # The best value of a rating scale (default 5).
91
+ # # @return [RDF::Vocabulary::Term]
92
+ # attr_reader :best
93
+ #
94
+ # # @return [RDF::Vocabulary::Term]
95
+ # attr_reader :brand
96
+ #
97
+ # # @return [RDF::Vocabulary::Term]
98
+ # attr_reader :calories
99
+ #
100
+ # # @return [RDF::Vocabulary::Term]
101
+ # attr_reader :carbohydrates
102
+ #
103
+ # # @return [RDF::Vocabulary::Term]
104
+ # attr_reader :category
105
+ #
106
+ # # @return [RDF::Vocabulary::Term]
107
+ # attr_reader :child
108
+ #
109
+ # # @return [RDF::Vocabulary::Term]
110
+ # attr_reader :cholesterol
111
+ #
112
+ # # @return [RDF::Vocabulary::Term]
113
+ # attr_reader :colleague
114
+ #
115
+ # # @return [RDF::Vocabulary::Term]
116
+ # attr_reader :condition
117
+ #
118
+ # # @return [RDF::Vocabulary::Term]
119
+ # attr_reader :contact
120
+ #
121
+ # # @return [RDF::Vocabulary::Term]
122
+ # attr_reader :cookTime
123
+ #
124
+ # # The total number of items used in an aggregate (e.g., number of reviews).
125
+ # # @return [RDF::Vocabulary::Term]
126
+ # attr_reader :count
127
+ #
128
+ # # @return [RDF::Vocabulary::Term]
129
+ # attr_reader :currency
130
+ #
131
+ # # @return [RDF::Vocabulary::Term]
132
+ # attr_reader :description
133
+ #
134
+ # # The date of the review.
135
+ # # @return [RDF::Vocabulary::Term]
136
+ # attr_reader :dtreviewed
137
+ #
138
+ # # @return [RDF::Vocabulary::Term]
139
+ # attr_reader :duration
140
+ #
141
+ # # @return [RDF::Vocabulary::Term]
142
+ # attr_reader :fat
143
+ #
144
+ # # @return [RDF::Vocabulary::Term]
145
+ # attr_reader :fiber
146
+ #
147
+ # # @return [RDF::Vocabulary::Term]
148
+ # attr_reader :friend
149
+ #
150
+ # # @return [RDF::Vocabulary::Term]
151
+ # attr_reader :highprice
152
+ #
153
+ # # @return [RDF::Vocabulary::Term]
154
+ # attr_reader :identifier
155
+ #
156
+ # # @return [RDF::Vocabulary::Term]
157
+ # attr_reader :image
158
+ #
159
+ # # Represents ingredients used in a recipe.
160
+ # # @return [RDF::Vocabulary::Term]
161
+ # attr_reader :ingredient
162
+ #
163
+ # # @return [RDF::Vocabulary::Term]
164
+ # attr_reader :instruction
165
+ #
166
+ # # Represents the steps to make a dish.
167
+ # # @return [RDF::Vocabulary::Term]
168
+ # attr_reader :instructions
169
+ #
170
+ # # @return [RDF::Vocabulary::Term]
171
+ # attr_reader :itemoffered
172
+ #
173
+ # # @return [RDF::Vocabulary::Term]
174
+ # attr_reader :itemreviewed
175
+ #
176
+ # # @return [RDF::Vocabulary::Term]
177
+ # attr_reader :locality
178
+ #
179
+ # # @return [RDF::Vocabulary::Term]
180
+ # attr_reader :lowprice
181
+ #
182
+ # # The maximum value of an aggregated Rating.
183
+ # # @return [RDF::Vocabulary::Term]
184
+ # attr_reader :max
185
+ #
186
+ # # The minimum value of an aggregated Rating.
187
+ # # @return [RDF::Vocabulary::Term]
188
+ # attr_reader :min
189
+ #
190
+ # # @return [RDF::Vocabulary::Term]
191
+ # attr_reader :name
192
+ #
193
+ # # @return [RDF::Vocabulary::Term]
194
+ # attr_reader :nickname
195
+ #
196
+ # # Represents the nutrition information about a recipe.
197
+ # # @return [RDF::Vocabulary::Term]
198
+ # attr_reader :nutrition
199
+ #
200
+ # # @return [RDF::Vocabulary::Term]
201
+ # attr_reader :offercount
202
+ #
203
+ # # @return [RDF::Vocabulary::Term]
204
+ # attr_reader :offerdetails
205
+ #
206
+ # # @return [RDF::Vocabulary::Term]
207
+ # attr_reader :offerurl
208
+ #
209
+ # # @return [RDF::Vocabulary::Term]
210
+ # attr_reader :photo
211
+ #
212
+ # # @return [RDF::Vocabulary::Term]
213
+ # attr_reader :prepTime
214
+ #
215
+ # # @return [RDF::Vocabulary::Term]
216
+ # attr_reader :price
217
+ #
218
+ # # The price range of products and services offered by a restaurant, business or other organization.
219
+ # # @return [RDF::Vocabulary::Term]
220
+ # attr_reader :pricerange
221
+ #
222
+ # # @return [RDF::Vocabulary::Term]
223
+ # attr_reader :pricevaliduntil
224
+ #
225
+ # # @return [RDF::Vocabulary::Term]
226
+ # attr_reader :protein
227
+ #
228
+ # # @return [RDF::Vocabulary::Term]
229
+ # attr_reader :published
230
+ #
231
+ # # @return [RDF::Vocabulary::Term]
232
+ # attr_reader :quantity
233
+ #
234
+ # # A rating can be specified by a string literal or a Rating instance.
235
+ # # @return [RDF::Vocabulary::Term]
236
+ # attr_reader :rating
237
+ #
238
+ # # @return [RDF::Vocabulary::Term]
239
+ # attr_reader :recipeType
240
+ #
241
+ # # @return [RDF::Vocabulary::Term]
242
+ # attr_reader :region
243
+ #
244
+ # # A reviewer can be specified by a string literal or a Person instance.
245
+ # # @return [RDF::Vocabulary::Term]
246
+ # attr_reader :reviewer
247
+ #
248
+ # # @return [RDF::Vocabulary::Term]
249
+ # attr_reader :role
250
+ #
251
+ # # @return [RDF::Vocabulary::Term]
252
+ # attr_reader :saturatedFat
253
+ #
254
+ # # @return [RDF::Vocabulary::Term]
255
+ # attr_reader :seller
256
+ #
257
+ # # @return [RDF::Vocabulary::Term]
258
+ # attr_reader :servingSize
259
+ #
260
+ # # @return [RDF::Vocabulary::Term]
261
+ # attr_reader :sugar
262
+ #
263
+ # # @return [RDF::Vocabulary::Term]
264
+ # attr_reader :summary
265
+ #
266
+ # # @return [RDF::Vocabulary::Term]
267
+ # attr_reader :tag
268
+ #
269
+ # # @return [RDF::Vocabulary::Term]
270
+ # attr_reader :tel
271
+ #
272
+ # # Represents the length of time it takes to prepare a recipe.
273
+ # # @return [RDF::Vocabulary::Term]
274
+ # attr_reader :timeRange
275
+ #
276
+ # # @return [RDF::Vocabulary::Term]
277
+ # attr_reader :title
278
+ #
279
+ # # @return [RDF::Vocabulary::Term]
280
+ # attr_reader :totalTime
281
+ #
282
+ # # @return [RDF::Vocabulary::Term]
283
+ # attr_reader :unsaturatedFat
284
+ #
285
+ # # @return [RDF::Vocabulary::Term]
286
+ # attr_reader :url
287
+ #
288
+ # # The value of a single Rating.
289
+ # # @return [RDF::Vocabulary::Term]
290
+ # attr_reader :value
291
+ #
292
+ # # The poorest value of a rating scale (default 1).
293
+ # # @return [RDF::Vocabulary::Term]
294
+ # attr_reader :worst
295
+ #
296
+ # # @return [RDF::Vocabulary::Term]
297
+ # attr_reader :yield
298
+ #
9
299
  # end
10
- class VMD < RDF::StrictVocabulary("http://data-vocabulary.org/")
300
+ VMD = Class.new(RDF::StrictVocabulary("http://data-vocabulary.org/")) do
11
301
 
12
302
  # Class definitions
13
303
  term :Address,
@@ -5,9 +5,129 @@ require 'rdf'
5
5
  module RDF::Vocab
6
6
  # @!parse
7
7
  # # Vocabulary for <http://rdfs.org/ns/void#>
8
+ # #
8
9
  # class VOID < RDF::StrictVocabulary
10
+ # # A set of RDF triples that are published, maintained or aggregated by a single provider.
11
+ # # @return [RDF::Vocabulary::Term]
12
+ # attr_reader :Dataset
13
+ #
14
+ # # A web resource whose foaf:primaryTopic or foaf:topics include void:Datasets.
15
+ # # @return [RDF::Vocabulary::Term]
16
+ # attr_reader :DatasetDescription
17
+ #
18
+ # # A collection of RDF links between two void:Datasets.
19
+ # # @return [RDF::Vocabulary::Term]
20
+ # attr_reader :Linkset
21
+ #
22
+ # # A technical feature of a void:Dataset, such as a supported RDF serialization format.
23
+ # # @return [RDF::Vocabulary::Term]
24
+ # attr_reader :TechnicalFeature
25
+ #
26
+ # # The rdfs:Class that is the rdf:type of all entities in a class-based partition.
27
+ # # @return [RDF::Vocabulary::Term]
28
+ # attr_reader :class
29
+ #
30
+ # # A subset of a void:Dataset that contains only the entities of a certain rdfs:Class.
31
+ # # @return [RDF::Vocabulary::Term]
32
+ # attr_reader :classPartition
33
+ #
34
+ # # The total number of distinct classes in a void:Dataset. In other words, the number of distinct resources occuring as objects of rdf:type triples in the dataset.
35
+ # # @return [RDF::Vocabulary::Term]
36
+ # attr_reader :classes
37
+ #
38
+ # # An RDF dump, partial or complete, of a void:Dataset.
39
+ # # @return [RDF::Vocabulary::Term]
40
+ # attr_reader :dataDump
41
+ #
42
+ # # The total number of distinct objects in a void:Dataset. In other words, the number of distinct resources that occur in the object position of triples in the dataset. Literals are included in this count.
43
+ # # @return [RDF::Vocabulary::Term]
44
+ # attr_reader :distinctObjects
45
+ #
46
+ # # The total number of distinct subjects in a void:Dataset. In other words, the number of distinct resources that occur in the subject position of triples in the dataset.
47
+ # # @return [RDF::Vocabulary::Term]
48
+ # attr_reader :distinctSubjects
49
+ #
50
+ # # The total number of documents, for datasets that are published as a set of individual documents, such as RDF/XML documents or RDFa-annotated web pages. Non-RDF documents, such as web pages in HTML or images, are usually not included in this count. This property is intended for datasets where the total number of triples or entities is hard to determine. void:triples or void:entities should be preferred where practical.
51
+ # # @return [RDF::Vocabulary::Term]
52
+ # attr_reader :documents
53
+ #
54
+ # # The total number of entities that are described in a void:Dataset.
55
+ # # @return [RDF::Vocabulary::Term]
56
+ # attr_reader :entities
57
+ #
58
+ # # @return [RDF::Vocabulary::Term]
59
+ # attr_reader :exampleResource
60
+ #
61
+ # # @return [RDF::Vocabulary::Term]
62
+ # attr_reader :feature
63
+ #
64
+ # # Points to the void:Dataset that a document is a part of.
65
+ # # @return [RDF::Vocabulary::Term]
66
+ # attr_reader :inDataset
67
+ #
68
+ # # @return [RDF::Vocabulary::Term]
69
+ # attr_reader :linkPredicate
70
+ #
71
+ # # The dataset describing the objects of the triples contained in the Linkset.
72
+ # # @return [RDF::Vocabulary::Term]
73
+ # attr_reader :objectsTarget
74
+ #
75
+ # # An OpenSearch description document for a free-text search service over a void:Dataset.
76
+ # # @return [RDF::Vocabulary::Term]
77
+ # attr_reader :openSearchDescription
78
+ #
79
+ # # The total number of distinct properties in a void:Dataset. In other words, the number of distinct resources that occur in the predicate position of triples in the dataset.
80
+ # # @return [RDF::Vocabulary::Term]
81
+ # attr_reader :properties
82
+ #
83
+ # # The rdf:Property that is the predicate of all triples in a property-based partition.
84
+ # # @return [RDF::Vocabulary::Term]
85
+ # attr_reader :property
86
+ #
87
+ # # A subset of a void:Dataset that contains only the triples of a certain rdf:Property.
88
+ # # @return [RDF::Vocabulary::Term]
89
+ # attr_reader :propertyPartition
90
+ #
91
+ # # A top concept or entry point for a void:Dataset that is structured in a tree-like fashion. All resources in a dataset can be reached by following links from its root resources in a small number of steps.
92
+ # # @return [RDF::Vocabulary::Term]
93
+ # attr_reader :rootResource
94
+ #
95
+ # # @return [RDF::Vocabulary::Term]
96
+ # attr_reader :sparqlEndpoint
97
+ #
98
+ # # The dataset describing the subjects of triples contained in the Linkset.
99
+ # # @return [RDF::Vocabulary::Term]
100
+ # attr_reader :subjectsTarget
101
+ #
102
+ # # @return [RDF::Vocabulary::Term]
103
+ # attr_reader :subset
104
+ #
105
+ # # One of the two datasets linked by the Linkset.
106
+ # # @return [RDF::Vocabulary::Term]
107
+ # attr_reader :target
108
+ #
109
+ # # The total number of triples contained in a void:Dataset.
110
+ # # @return [RDF::Vocabulary::Term]
111
+ # attr_reader :triples
112
+ #
113
+ # # Defines a simple URI look-up protocol for accessing a dataset.
114
+ # # @return [RDF::Vocabulary::Term]
115
+ # attr_reader :uriLookupEndpoint
116
+ #
117
+ # # Defines a regular expression pattern matching URIs in the dataset.
118
+ # # @return [RDF::Vocabulary::Term]
119
+ # attr_reader :uriRegexPattern
120
+ #
121
+ # # A URI that is a common string prefix of all the entity URIs in a void:Dataset.
122
+ # # @return [RDF::Vocabulary::Term]
123
+ # attr_reader :uriSpace
124
+ #
125
+ # # A vocabulary that is used in the dataset.
126
+ # # @return [RDF::Vocabulary::Term]
127
+ # attr_reader :vocabulary
128
+ #
9
129
  # end
10
- class VOID < RDF::StrictVocabulary("http://rdfs.org/ns/void#")
130
+ VOID = Class.new(RDF::StrictVocabulary("http://rdfs.org/ns/void#")) do
11
131
 
12
132
  # Class definitions
13
133
  term :Dataset,
@@ -5,9 +5,27 @@ require 'rdf'
5
5
  module RDF::Vocab
6
6
  # @!parse
7
7
  # # Vocabulary for <http://www.w3.org/2003/06/sw-vocab-status/ns#>
8
+ # #
9
+ # # SemWeb Vocab Status ontology
10
+ # #
11
+ # # This vocabulary was created in the FOAF project, based on experience with FOAF, Dublin Core and other early RDF vocabularies. Deployment experience shows that changing namespace URIs is expensive and unrewarding, so this vocabulary provides terms to support in-place evolution of structured data vocabularies. By indicating status at the level of terms rather than vocabularies, dictionary-style, fine grained improvements become easier. Different organizations and parties can agree or disagree on the status of a vocabulary term; however the status published alongside the term may deserve special attention. Future work could include patterns for citing announcements and decisions, or using SKOS to decentralise the extension of the basic status levels.
12
+ # #
13
+ # # An RDF vocabulary for relating SW vocabulary terms to their status.
8
14
  # class VS < RDF::StrictVocabulary
15
+ # # more information about the status etc of a term, typically human oriented
16
+ # # @return [RDF::Vocabulary::Term]
17
+ # attr_reader :moreinfo
18
+ #
19
+ # # the status of a vocabulary term, expressed as a short symbolic string; known values include 'unstable','testing', 'stable' and 'archaic'
20
+ # # @return [RDF::Vocabulary::Term]
21
+ # attr_reader :term_status
22
+ #
23
+ # # human-oriented documentation, examples etc for use of this term
24
+ # # @return [RDF::Vocabulary::Term]
25
+ # attr_reader :userdocs
26
+ #
9
27
  # end
10
- class VS < RDF::StrictVocabulary("http://www.w3.org/2003/06/sw-vocab-status/ns#")
28
+ VS = Class.new(RDF::StrictVocabulary("http://www.w3.org/2003/06/sw-vocab-status/ns#")) do
11
29
 
12
30
  # Ontology definition
13
31
  ontology :"http://www.w3.org/2003/06/sw-vocab-status/ns#",