rdf-vocab 3.1.7 → 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/VERSION +1 -1
- data/lib/rdf/vocab.rb +5 -1
- data/lib/rdf/vocab/acl.rb +20 -60
- data/lib/rdf/vocab/as.rb +90 -90
- data/lib/rdf/vocab/bf2.rb +488 -488
- data/lib/rdf/vocab/bibo.rb +120 -123
- data/lib/rdf/vocab/cc.rb +18 -47
- data/lib/rdf/vocab/crm.rb +240 -775
- data/lib/rdf/vocab/dc.rb +98 -98
- data/lib/rdf/vocab/dc11.rb +30 -30
- data/lib/rdf/vocab/dcat.rb +85 -85
- data/lib/rdf/vocab/dcmitype.rb +12 -12
- data/lib/rdf/vocab/disco.rb +58 -58
- data/lib/rdf/vocab/dwc.rb +188 -188
- data/lib/rdf/vocab/earl.rb +27 -27
- data/lib/rdf/vocab/ebucore.rb +1232 -1522
- data/lib/rdf/vocab/edm.rb +52 -75
- data/lib/rdf/vocab/fcrepo4.rb +21 -21
- data/lib/rdf/vocab/foaf.rb +75 -75
- data/lib/rdf/vocab/geo.rb +8 -109
- data/lib/rdf/vocab/geojson.rb +16 -16
- data/lib/rdf/vocab/geonames.rb +1344 -1352
- data/lib/rdf/vocab/gr.rb +177 -564
- data/lib/rdf/vocab/ht.rb +40 -40
- data/lib/rdf/vocab/hydra.rb +99 -58
- data/lib/rdf/vocab/iana.rb +71 -113
- data/lib/rdf/vocab/ical.rb +123 -171
- data/lib/rdf/vocab/identifiers.rb +161 -662
- data/lib/rdf/vocab/iiif.rb +25 -25
- data/lib/rdf/vocab/jsonld.rb +33 -51
- data/lib/rdf/vocab/lrmi.rb +16 -16
- data/lib/rdf/vocab/ma.rb +79 -79
- data/lib/rdf/vocab/marcrelators.rb +4 -3
- data/lib/rdf/vocab/mo.rb +196 -539
- data/lib/rdf/vocab/mods.rb +119 -123
- data/lib/rdf/vocab/oa.rb +68 -72
- data/lib/rdf/vocab/ogc.rb +8 -8
- data/lib/rdf/vocab/ore.rb +13 -13
- data/lib/rdf/vocab/org.rb +46 -46
- data/lib/rdf/vocab/pcdm.rb +11 -33
- data/lib/rdf/vocab/pplan.rb +18 -196
- data/lib/rdf/vocab/premis.rb +321 -416
- data/lib/rdf/vocab/premiseventtype.rb +1 -1
- data/lib/rdf/vocab/prov.rb +90 -115
- data/lib/rdf/vocab/ptr.rb +34 -36
- data/lib/rdf/vocab/rightsstatements.rb +12 -12
- data/lib/rdf/vocab/rss.rb +10 -10
- data/lib/rdf/vocab/schema.rb +3131 -3445
- data/lib/rdf/vocab/schemas.rb +27066 -0
- data/lib/rdf/vocab/sd.rb +38 -38
- data/lib/rdf/vocab/sh.rb +183 -183
- data/lib/rdf/vocab/sioc.rb +97 -97
- data/lib/rdf/vocab/siocservices.rb +8 -8
- data/lib/rdf/vocab/sioctypes.rb +38 -38
- data/lib/rdf/vocab/skos.rb +45 -47
- data/lib/rdf/vocab/skosxl.rb +10 -10
- data/lib/rdf/vocab/v.rb +32 -36
- data/lib/rdf/vocab/vcard.rb +117 -118
- data/lib/rdf/vocab/vmd.rb +32 -36
- data/lib/rdf/vocab/void.rb +26 -26
- data/lib/rdf/vocab/vs.rb +4 -4
- data/lib/rdf/vocab/wdrs.rb +22 -22
- data/lib/rdf/vocab/wot.rb +18 -18
- data/lib/rdf/vocab/xhv.rb +84 -200
- data/lib/rdf/vocab/xkos.rb +10 -10
- metadata +6 -5
data/lib/rdf/vocab/iiif.rb
CHANGED
@@ -151,37 +151,37 @@ module RDF::Vocab
|
|
151
151
|
|
152
152
|
# Class definitions
|
153
153
|
term :AnnotationList,
|
154
|
-
comment:
|
154
|
+
comment: "AnnotationLists are an ordered list of Annotation objects. Typically all Annnotations in a list target the same Canvas".freeze,
|
155
155
|
isDefinedBy: "iiif:".freeze,
|
156
156
|
label: "AnnotationList".freeze,
|
157
157
|
type: "rdfs:Class".freeze
|
158
158
|
term :Canvas,
|
159
|
-
comment:
|
159
|
+
comment: "The canvas represents an individual page or view and acts as a central point for laying out the different content resources that make up the display.".freeze,
|
160
160
|
isDefinedBy: "iiif:".freeze,
|
161
161
|
label: "Canvas".freeze,
|
162
162
|
type: "rdfs:Class".freeze
|
163
163
|
term :Collection,
|
164
|
-
comment:
|
164
|
+
comment: "Collections are used to list the manifests available for viewing, and to describe the structures, hierarchies or collections that the physical objects are part of.".freeze,
|
165
165
|
isDefinedBy: "iiif:".freeze,
|
166
166
|
label: "Collection".freeze,
|
167
167
|
type: "rdfs:Class".freeze
|
168
168
|
term :Layer,
|
169
|
-
comment:
|
169
|
+
comment: "Layers are lists of AnnotationLists to group them together, for example to create the set of lists that make up a particular translation/edition of a text".freeze,
|
170
170
|
isDefinedBy: "iiif:".freeze,
|
171
171
|
label: "Layer".freeze,
|
172
172
|
type: "rdfs:Class".freeze
|
173
173
|
term :Manifest,
|
174
|
-
comment:
|
174
|
+
comment: "The manifest resource represents a single object and any intellectual work or works embodied within that object".freeze,
|
175
175
|
isDefinedBy: "iiif:".freeze,
|
176
176
|
label: "Manifest".freeze,
|
177
177
|
type: "rdfs:Class".freeze
|
178
178
|
term :Range,
|
179
|
-
comment:
|
179
|
+
comment: "Ranges describe additional structure within an object, such as newspaper articles that span pages, the range of non-content-bearing pages at the beginning of a work, or chapters within a book".freeze,
|
180
180
|
isDefinedBy: "iiif:".freeze,
|
181
181
|
label: "Range".freeze,
|
182
182
|
type: "rdfs:Class".freeze
|
183
183
|
term :Sequence,
|
184
|
-
comment:
|
184
|
+
comment: "The sequence conveys the ordering of the views of the object.".freeze,
|
185
185
|
isDefinedBy: "iiif:".freeze,
|
186
186
|
label: "Sequence".freeze,
|
187
187
|
type: "rdfs:Class".freeze
|
@@ -194,7 +194,7 @@ module RDF::Vocab
|
|
194
194
|
label: "ViewingHint".freeze,
|
195
195
|
type: "rdfs:Class".freeze
|
196
196
|
term :Zone,
|
197
|
-
comment:
|
197
|
+
comment: "Used to group annotations together in an area of a Canvas, for example to model columns, foldouts or palimpsests; Note that Zones are not currently used in the IIIF Presentation API.".freeze,
|
198
198
|
isDefinedBy: "iiif:".freeze,
|
199
199
|
label: "Zone".freeze,
|
200
200
|
subClassOf: "iiif:Canvas".freeze,
|
@@ -202,7 +202,7 @@ module RDF::Vocab
|
|
202
202
|
|
203
203
|
# Property definitions
|
204
204
|
property :attributionLabel,
|
205
|
-
comment:
|
205
|
+
comment: "A string containing an attribution description that must be displayed when using the resource".freeze,
|
206
206
|
isDefinedBy: "iiif:".freeze,
|
207
207
|
label: "attributionLabel".freeze,
|
208
208
|
type: "rdf:Property".freeze
|
@@ -223,7 +223,7 @@ module RDF::Vocab
|
|
223
223
|
range: "rdf:List".freeze,
|
224
224
|
type: "rdf:Property".freeze
|
225
225
|
property :hasContentLayer,
|
226
|
-
comment:
|
226
|
+
comment: "A link from a Range to a Layer that provides the content resources of that Range".freeze,
|
227
227
|
domain: "iiif:Range".freeze,
|
228
228
|
isDefinedBy: "iiif:".freeze,
|
229
229
|
label: "hasContentLayer".freeze,
|
@@ -258,25 +258,25 @@ module RDF::Vocab
|
|
258
258
|
range: "rdf:List".freeze,
|
259
259
|
type: "rdf:Property".freeze
|
260
260
|
property :hasStartCanvas,
|
261
|
-
comment:
|
261
|
+
comment: "A link from a Manifest or Sequence to the Canvas that the rendering agent should initialize their view with.".freeze,
|
262
262
|
isDefinedBy: "iiif:".freeze,
|
263
263
|
label: "hasStartCanvas".freeze,
|
264
264
|
range: "iiif:Canvas".freeze,
|
265
265
|
type: "rdf:Property".freeze
|
266
266
|
property :metadataLabels,
|
267
|
-
comment:
|
267
|
+
comment: "An rdf:List of label/value pairs providing descriptive metadata about the resource, intended for human audience".freeze,
|
268
268
|
isDefinedBy: "iiif:".freeze,
|
269
269
|
label: "metadataLabels".freeze,
|
270
270
|
range: "rdf:List".freeze,
|
271
271
|
type: "rdf:Property".freeze
|
272
272
|
property :viewingDirection,
|
273
|
-
comment:
|
273
|
+
comment: "References the sc:ViewingDirection that defines the direction that the resource should be viewed in".freeze,
|
274
274
|
isDefinedBy: "iiif:".freeze,
|
275
275
|
label: "viewingDirection".freeze,
|
276
276
|
range: "iiif:ViewingDirection".freeze,
|
277
277
|
type: "rdf:Property".freeze
|
278
278
|
property :viewingHint,
|
279
|
-
comment:
|
279
|
+
comment: "A hint to a user agent as to how to render the resource".freeze,
|
280
280
|
isDefinedBy: "iiif:".freeze,
|
281
281
|
label: "viewingHint".freeze,
|
282
282
|
range: "iiif:ViewingHint".freeze,
|
@@ -284,39 +284,39 @@ module RDF::Vocab
|
|
284
284
|
|
285
285
|
# Extra definitions
|
286
286
|
term :bottomToTopDirection,
|
287
|
-
comment:
|
287
|
+
comment: "Bottom-to-Top Viewing Direction".freeze,
|
288
288
|
type: "iiif:ViewingDirection".freeze
|
289
289
|
term :continuousHint,
|
290
|
-
comment:
|
290
|
+
comment: "Each canvas represents a segment of a continuous object such as a long scroll".freeze,
|
291
291
|
type: "iiif:ViewingHint".freeze
|
292
292
|
term :facingPagesHint,
|
293
|
-
comment:
|
293
|
+
comment: "Canvases with this hint depict both parts of an opening.".freeze,
|
294
294
|
type: "iiif:ViewingHint".freeze
|
295
295
|
term :individualsHint,
|
296
|
-
comment:
|
296
|
+
comment: "Each canvas represents a separate individual object, and should not have transitions".freeze,
|
297
297
|
type: "iiif:ViewingHint".freeze
|
298
298
|
term :leftToRightDirection,
|
299
|
-
comment:
|
299
|
+
comment: "Left-to-Right Viewing Direction".freeze,
|
300
300
|
type: "iiif:ViewingDirection".freeze
|
301
301
|
term :multiPartHint,
|
302
|
-
comment:
|
302
|
+
comment: "Collections with this hint consist of multiple manifests that each form part of a logical whole.".freeze,
|
303
303
|
type: "iiif:ViewingHint".freeze
|
304
304
|
term :nonPagedHint,
|
305
|
-
comment:
|
305
|
+
comment: "Viewing Hint that the Canvas MUST NOT be presented in a page turner".freeze,
|
306
306
|
type: "iiif:ViewingHint".freeze
|
307
307
|
term :pagedHint,
|
308
|
-
comment:
|
308
|
+
comment: "Viewing Hint that object has canvases that represent pages that can be turned".freeze,
|
309
309
|
type: "iiif:ViewingHint".freeze
|
310
310
|
term :painting,
|
311
311
|
type: "oa:Motivation".freeze
|
312
312
|
term :rightToLeftDirection,
|
313
|
-
comment:
|
313
|
+
comment: "Right-to-Left Viewing Direction".freeze,
|
314
314
|
type: "iiif:ViewingDirection".freeze
|
315
315
|
term :topHint,
|
316
|
-
comment:
|
316
|
+
comment: "The topmost range in a nested hierarchy, such as a table of contents".freeze,
|
317
317
|
type: "iiif:ViewingHint".freeze
|
318
318
|
term :topToBottomDirection,
|
319
|
-
comment:
|
319
|
+
comment: "Top-to-Bottom Viewing Direction".freeze,
|
320
320
|
type: "iiif:ViewingDirection".freeze
|
321
321
|
end
|
322
322
|
end
|
data/lib/rdf/vocab/jsonld.rb
CHANGED
@@ -158,25 +158,19 @@ module RDF::Vocab
|
|
158
158
|
|
159
159
|
# Class definitions
|
160
160
|
term :Context,
|
161
|
-
comment:
|
162
|
-
|
163
|
-
A [context definition]\(https://www.w3.org/TR/json-ld11/#dfn-context-definition\) MUST be a map whose keys MUST be either _terms_, _compact IRIs_, _IRIs_, or one of the keywords `@base`, `@import`, `@language`, `@propagate`, `@protected`, `@type`, `@version`, or `@vocab`.).freeze,
|
161
|
+
comment: "Defines term definitions and other aspects of a JSON-LD `Context`.\n\nA [context definition](https://www.w3.org/TR/json-ld11/#dfn-context-definition) MUST be a map whose keys MUST be either _terms_, _compact IRIs_, _IRIs_, or one of the keywords `@base`, `@import`, `@language`, `@propagate`, `@protected`, `@type`, `@version`, or `@vocab`.".freeze,
|
164
162
|
isDefinedBy: "jsonld:".freeze,
|
165
163
|
label: "Context".freeze,
|
166
164
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#context-definitions".freeze,
|
167
165
|
type: "rdfs:Class".freeze
|
168
166
|
term :PrefixDefinition,
|
169
|
-
comment:
|
167
|
+
comment: "A string ([simple term definition](http://www.w3.org/TR/json-ld11/#dfn-simple-term-definitions)), expanding to an IRI.".freeze,
|
170
168
|
isDefinedBy: "jsonld:".freeze,
|
171
169
|
label: "Prefix Definition".freeze,
|
172
170
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#dfn-term-definition".freeze,
|
173
171
|
type: "rdfs:Class".freeze
|
174
172
|
term :TermDefinition,
|
175
|
-
comment:
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
An [expanded term definition]\(https://www.w3.org/TR/json-ld11/#dfn-expanded-term-definition\) MUST be a map composed of zero or more keys from `@id`, `@reverse`, `@type`, `@language`, `@container`, `@context`, `@prefix`, `@propagate`, or `@protected`. An expanded term definition SHOULD NOT contain any other keys.).freeze,
|
173
|
+
comment: "A [term definition](http://www.w3.org/TR/json-ld11/#dfn-term-definitions) is an entry in a [context](#Context), where the key defines a term which may be used within a dictionary as a key, type, or elsewhere that a string is interpreted as a vocabulary item. Its value is an [expanded term definition](https://www.w3.org/TR/json-ld11/#dfn-expanded-term-definitions).\n\n\n\nAn [expanded term definition](https://www.w3.org/TR/json-ld11/#dfn-expanded-term-definition) MUST be a map composed of zero or more keys from `@id`, `@reverse`, `@type`, `@language`, `@container`, `@context`, `@prefix`, `@propagate`, or `@protected`. An expanded term definition SHOULD NOT contain any other keys.".freeze,
|
180
174
|
isDefinedBy: "jsonld:".freeze,
|
181
175
|
label: "Term Definition".freeze,
|
182
176
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#dfn-term-definition".freeze,
|
@@ -184,7 +178,7 @@ An [expanded term definition]\(https://www.w3.org/TR/json-ld11/#dfn-expanded-ter
|
|
184
178
|
|
185
179
|
# Property definitions
|
186
180
|
property :base,
|
187
|
-
comment:
|
181
|
+
comment: "If the [context definition](https://www.w3.org/TR/json-ld11/#dfn-context-definition) has an `@base` key, its value MUST be an _IRI reference_, or `null`.".freeze,
|
188
182
|
domainIncludes: "jsonld:Context".freeze,
|
189
183
|
isDefinedBy: "jsonld:".freeze,
|
190
184
|
label: "base".freeze,
|
@@ -192,15 +186,7 @@ An [expanded term definition]\(https://www.w3.org/TR/json-ld11/#dfn-expanded-ter
|
|
192
186
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#context-definitions".freeze,
|
193
187
|
type: "rdf:Property".freeze
|
194
188
|
property :container,
|
195
|
-
comment:
|
196
|
-
|
197
|
-
If the [expanded term definition]\(https://www.w3.org/TR/json-ld11/#dfn-expanded-term-definitions\) contains the `@container` keyword, its value MUST be either `@list`, `@set`, `@language`, `@index`, `@id`, `@graph`, `@type`, or be `null` or an array containing exactly any one of those keywords, or a combination of `@set` and any of `@index`, `@id`, `@graph`, `@type`, `@language` in any order.
|
198
|
-
|
199
|
-
`@container` may also be an array containing `@graph` along with either `@id` or `@index` and also optionally including `@set`.
|
200
|
-
|
201
|
-
If the value is `@language`, when the term is used outside of the `@context`, the associated value MUST be a language map.
|
202
|
-
|
203
|
-
If the value is `@index`, when the term is used outside of the `@context`, the associated value MUST be an index map.).freeze,
|
189
|
+
comment: "The associated `@container` value in an [expanded term definition](https://www.w3.org/TR/json-ld11/#dfn-expanded-term-definitions).\n\nIf the [expanded term definition](https://www.w3.org/TR/json-ld11/#dfn-expanded-term-definitions) contains the `@container` keyword, its value MUST be either `@list`, `@set`, `@language`, `@index`, `@id`, `@graph`, `@type`, or be `null` or an array containing exactly any one of those keywords, or a combination of `@set` and any of `@index`, `@id`, `@graph`, `@type`, `@language` in any order.\n\n`@container` may also be an array containing `@graph` along with either `@id` or `@index` and also optionally including `@set`.\n\nIf the value is `@language`, when the term is used outside of the `@context`, the associated value MUST be a language map.\n\nIf the value is `@index`, when the term is used outside of the `@context`, the associated value MUST be an index map.".freeze,
|
204
190
|
domainIncludes: "jsonld:TermDefinition".freeze,
|
205
191
|
isDefinedBy: "jsonld:".freeze,
|
206
192
|
label: "container".freeze,
|
@@ -208,21 +194,21 @@ If the value is `@index`, when the term is used outside of the `@context`, the a
|
|
208
194
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#expanded-term-definition".freeze,
|
209
195
|
type: "rdf:Property".freeze
|
210
196
|
property :context,
|
211
|
-
comment:
|
197
|
+
comment: "As an IRI, this link relation is used to associate a JSON-LD context with a JSON document so that it can be interpreted as JSON-LD. In an HTTP request header, specifies the location of a context to use for compaction. As a Context, defines an inline `context definition`.".freeze,
|
212
198
|
isDefinedBy: "jsonld:".freeze,
|
213
199
|
label: "context".freeze,
|
214
200
|
rangeIncludes: ["jsonld:Context".freeze, "xsd:anyUri".freeze],
|
215
201
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#interpreting-json-as-json-ld".freeze,
|
216
202
|
type: "rdf:Property".freeze
|
217
203
|
property :definition,
|
218
|
-
comment:
|
204
|
+
comment: "Term definition(s) associated with this context.".freeze,
|
219
205
|
domainIncludes: "jsonld:Context".freeze,
|
220
206
|
isDefinedBy: "jsonld:".freeze,
|
221
207
|
label: "definition".freeze,
|
222
208
|
rangeIncludes: ["jsonld:PrefixDefinition".freeze, "jsonld:TermDefinition".freeze],
|
223
209
|
type: "rdf:Property".freeze
|
224
210
|
property :direction,
|
225
|
-
comment:
|
211
|
+
comment: "If the [context definition](https://www.w3.org/TR/json-ld11/#dfn-context-definition) has an `@direction` key, its value MUST be one of `\"ltr\"` or `\"rtl\"`, or be `null`.".freeze,
|
226
212
|
domainIncludes: ["jsonld:Context".freeze, "jsonld:TermDefinition".freeze],
|
227
213
|
isDefinedBy: "jsonld:".freeze,
|
228
214
|
label: "direction".freeze,
|
@@ -230,7 +216,7 @@ If the value is `@index`, when the term is used outside of the `@context`, the a
|
|
230
216
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#context-definitions".freeze,
|
231
217
|
type: "rdf:Property".freeze
|
232
218
|
property :id,
|
233
|
-
comment:
|
219
|
+
comment: "The `@id` mapping of a [term definition](#TermDefinition).".freeze,
|
234
220
|
domainIncludes: ["jsonld:PrefixDefinition".freeze, "jsonld:TermDefinition".freeze],
|
235
221
|
isDefinedBy: "jsonld:".freeze,
|
236
222
|
label: "id".freeze,
|
@@ -238,7 +224,7 @@ If the value is `@index`, when the term is used outside of the `@context`, the a
|
|
238
224
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#expanded-term-definition".freeze,
|
239
225
|
type: "rdf:Property".freeze
|
240
226
|
property :import,
|
241
|
-
comment:
|
227
|
+
comment: "If the [context definition](https://www.w3.org/TR/json-ld11/#dfn-context-definition) contains the `@import` keyword, its value MUST be an _IRI reference_. When used as a reference from an `@import`, the referenced context definition MUST NOT include an `@import` key, itself.".freeze,
|
242
228
|
domainIncludes: "jsonld:Context".freeze,
|
243
229
|
isDefinedBy: "jsonld:".freeze,
|
244
230
|
label: "import".freeze,
|
@@ -246,7 +232,7 @@ If the value is `@index`, when the term is used outside of the `@context`, the a
|
|
246
232
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#context-definitions".freeze,
|
247
233
|
type: "rdf:Property".freeze
|
248
234
|
property :language,
|
249
|
-
comment:
|
235
|
+
comment: "The [default language](https://www.w3.org/TR/json-ld11/#dfn-default-language) is set in the context using the `@language` key whose value MUST be a string representing a [BCP47](https://tools.ietf.org/html/bcp47) language code or null.".freeze,
|
250
236
|
domainIncludes: ["jsonld:Context".freeze, "jsonld:TermDefinition".freeze],
|
251
237
|
isDefinedBy: "jsonld:".freeze,
|
252
238
|
label: "language".freeze,
|
@@ -254,7 +240,7 @@ If the value is `@index`, when the term is used outside of the `@context`, the a
|
|
254
240
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#dfn-default-language".freeze,
|
255
241
|
type: "rdf:Property".freeze
|
256
242
|
property :nest,
|
257
|
-
comment:
|
243
|
+
comment: "If the [expanded term definition](https://www.w3.org/TR/json-ld11/#dfn-expanded-term-definitions) contains the `@nest` keyword, its value MUST be either `@nest`, or a _term_ which expands to `@nest`.".freeze,
|
258
244
|
domainIncludes: "jsonld:TermDefinition".freeze,
|
259
245
|
isDefinedBy: "jsonld:".freeze,
|
260
246
|
label: "nest".freeze,
|
@@ -262,7 +248,7 @@ If the value is `@index`, when the term is used outside of the `@context`, the a
|
|
262
248
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#expanded-term-definition".freeze,
|
263
249
|
type: "rdf:Property".freeze
|
264
250
|
property :prefix,
|
265
|
-
comment:
|
251
|
+
comment: "With the value `true`, allows this term to be used to construct a compact IRI when compacting.".freeze,
|
266
252
|
domainIncludes: "jsonld:TermDefinition".freeze,
|
267
253
|
isDefinedBy: "jsonld:".freeze,
|
268
254
|
label: "prefix".freeze,
|
@@ -270,7 +256,7 @@ If the value is `@index`, when the term is used outside of the `@context`, the a
|
|
270
256
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#expanded-term-definition".freeze,
|
271
257
|
type: "rdf:Property".freeze
|
272
258
|
property :propagate,
|
273
|
-
comment:
|
259
|
+
comment: "If the [context definition](https://www.w3.org/TR/json-ld11/#dfn-context-definition) contains the `@propagate` keyword, its value MUST be `true` or `false`.".freeze,
|
274
260
|
domainIncludes: ["jsonld:Context".freeze, "jsonld:TermDefinition".freeze],
|
275
261
|
isDefinedBy: "jsonld:".freeze,
|
276
262
|
label: "propagate".freeze,
|
@@ -278,7 +264,7 @@ If the value is `@index`, when the term is used outside of the `@context`, the a
|
|
278
264
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#context-definitions".freeze,
|
279
265
|
type: "rdf:Property".freeze
|
280
266
|
property :protected,
|
281
|
-
comment:
|
267
|
+
comment: "If the [context definition](https://www.w3.org/TR/json-ld11/#dfn-context-definition) contains the `@protected` keyword, its value MUST be `true` or `false`.".freeze,
|
282
268
|
domainIncludes: ["jsonld:Context".freeze, "jsonld:TermDefinition".freeze],
|
283
269
|
isDefinedBy: "jsonld:".freeze,
|
284
270
|
label: "protected".freeze,
|
@@ -286,7 +272,7 @@ If the value is `@index`, when the term is used outside of the `@context`, the a
|
|
286
272
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#context-definitions".freeze,
|
287
273
|
type: "rdf:Property".freeze
|
288
274
|
property :reverse,
|
289
|
-
comment:
|
275
|
+
comment: "The `@reverse` mapping of an [expanded term definition](https://www.w3.org/TR/json-ld11/#dfn-expanded-term-definitions).".freeze,
|
290
276
|
domainIncludes: "jsonld:TermDefinition".freeze,
|
291
277
|
isDefinedBy: "jsonld:".freeze,
|
292
278
|
label: "reverse".freeze,
|
@@ -294,7 +280,7 @@ If the value is `@index`, when the term is used outside of the `@context`, the a
|
|
294
280
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#expanded-term-definition".freeze,
|
295
281
|
type: "rdf:Property".freeze
|
296
282
|
property :term,
|
297
|
-
comment:
|
283
|
+
comment: "The term associated with a [term definition](#TermDefinition).".freeze,
|
298
284
|
domainIncludes: ["jsonld:PrefixDefinition".freeze, "jsonld:TermDefinition".freeze],
|
299
285
|
isDefinedBy: "jsonld:".freeze,
|
300
286
|
label: "term".freeze,
|
@@ -302,11 +288,7 @@ If the value is `@index`, when the term is used outside of the `@context`, the a
|
|
302
288
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#dfn-term".freeze,
|
303
289
|
type: "rdf:Property".freeze
|
304
290
|
property :type,
|
305
|
-
comment:
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
If the [expanded term definition]\(https://www.w3.org/TR/json-ld11/#dfn-expanded-term-definitions\) contains the `@type` keyword, its value MUST be an _IRI reference_, a _term_, `null`, or one of the keywords `@id`, `@json`, `@none`, or `@vocab`.).freeze,
|
291
|
+
comment: "If the [context definition](https://www.w3.org/TR/json-ld11/#dfn-context-definition) contains the `@type` keyword, its value MUST be a map with only the entry `@container` set to `@set`, and optionally an entry `@protected`.\n\n\n\nIf the [expanded term definition](https://www.w3.org/TR/json-ld11/#dfn-expanded-term-definitions) contains the `@type` keyword, its value MUST be an _IRI reference_, a _term_, `null`, or one of the keywords `@id`, `@json`, `@none`, or `@vocab`.".freeze,
|
310
292
|
domainIncludes: ["jsonld:Context".freeze, "jsonld:TermDefinition".freeze],
|
311
293
|
isDefinedBy: "jsonld:".freeze,
|
312
294
|
label: "type".freeze,
|
@@ -314,7 +296,7 @@ If the [expanded term definition]\(https://www.w3.org/TR/json-ld11/#dfn-expanded
|
|
314
296
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#context-definitions".freeze,
|
315
297
|
type: "rdf:Property".freeze
|
316
298
|
property :version,
|
317
|
-
comment:
|
299
|
+
comment: "The [processing mode](https://www.w3.org/TR/json-ld11/#dfn-processing-mode) defines how a JSON-LD document is processed. By default, all documents are assumed to be conformant with [JSON-LD 1.1`](http://www.w3.org/TR/json-ld11). By defining a different version via explicit API option, other processing modes can be accessed. This specification defines extensions for the `json-ld-1.1` processing mode.".freeze,
|
318
300
|
domainIncludes: "jsonld:Context".freeze,
|
319
301
|
isDefinedBy: "jsonld:".freeze,
|
320
302
|
label: "version".freeze,
|
@@ -322,7 +304,7 @@ If the [expanded term definition]\(https://www.w3.org/TR/json-ld11/#dfn-expanded
|
|
322
304
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#dfn-processing-mode".freeze,
|
323
305
|
type: "rdf:Property".freeze
|
324
306
|
property :vocab,
|
325
|
-
comment:
|
307
|
+
comment: "Used to expand properties and values in `@type` with a common prefix IRI.".freeze,
|
326
308
|
domainIncludes: "jsonld:Context".freeze,
|
327
309
|
isDefinedBy: "jsonld:".freeze,
|
328
310
|
label: "vocab".freeze,
|
@@ -332,79 +314,79 @@ If the [expanded term definition]\(https://www.w3.org/TR/json-ld11/#dfn-expanded
|
|
332
314
|
|
333
315
|
# Extra definitions
|
334
316
|
term :compacted,
|
335
|
-
comment:
|
317
|
+
comment: "This profile IRI is used to request or specify compacted JSON-LD document form.".freeze,
|
336
318
|
isDefinedBy: "jsonld:".freeze,
|
337
319
|
label: "compacted".freeze,
|
338
320
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#iana-considerations".freeze,
|
339
321
|
type: "owl:NamedIndividual".freeze
|
340
322
|
term :expanded,
|
341
|
-
comment:
|
323
|
+
comment: "This profile URI is used to request or specify expanded JSON-LD document form.".freeze,
|
342
324
|
isDefinedBy: "jsonld:".freeze,
|
343
325
|
label: "expanded".freeze,
|
344
326
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#iana-considerations".freeze,
|
345
327
|
type: "owl:NamedIndividual".freeze
|
346
328
|
term :flattened,
|
347
|
-
comment:
|
329
|
+
comment: "This profile URI is used to request or specify flattened JSON-LD document form.".freeze,
|
348
330
|
isDefinedBy: "jsonld:".freeze,
|
349
331
|
label: "flattened".freeze,
|
350
332
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#iana-considerations".freeze,
|
351
333
|
type: "owl:NamedIndividual".freeze
|
352
334
|
term :frame,
|
353
|
-
comment:
|
335
|
+
comment: "As an IRI, this link relation is used to associate a JSON-LD frame with a JSON-LD document. In an HTTP request header, specifies the location of a frame to use for framing.".freeze,
|
354
336
|
isDefinedBy: "jsonld:".freeze,
|
355
337
|
label: "frame".freeze,
|
356
338
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#iana-considerations".freeze,
|
357
339
|
type: "owl:NamedIndividual".freeze
|
358
340
|
term :framed,
|
359
|
-
comment:
|
341
|
+
comment: "This profile URI is used to request or specify framed JSON-LD document form.".freeze,
|
360
342
|
isDefinedBy: "jsonld:".freeze,
|
361
343
|
label: "framed".freeze,
|
362
344
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#iana-considerations".freeze,
|
363
345
|
type: "owl:NamedIndividual".freeze
|
364
346
|
term :graphContainerType,
|
365
|
-
comment:
|
347
|
+
comment: "If the [expanded term definition](https://www.w3.org/TR/json-ld11/#dfn-expanded-term-definitions) contains the `@container` keyword, its value MUST be either `@list`, `@set`, `@language`, `@index`, `@id`, `@graph`, `@type`, or be `null` or an _array_ containing exactly any one of those keywords.".freeze,
|
366
348
|
isDefinedBy: "jsonld:".freeze,
|
367
349
|
label: "@graph".freeze,
|
368
350
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#context-definitions".freeze,
|
369
351
|
type: "http://www.w3.org/ns/ContainerType".freeze
|
370
352
|
term :idContainerType,
|
371
|
-
comment:
|
353
|
+
comment: "If the [expanded term definition](https://www.w3.org/TR/json-ld11/#dfn-expanded-term-definitions) contains the `@container` keyword, its value MUST be either `@list`, `@set`, `@language`, `@index`, `@id`, `@graph`, `@type`, or be `null` or an _array_ containing exactly any one of those keywords.".freeze,
|
372
354
|
isDefinedBy: "jsonld:".freeze,
|
373
355
|
label: "@id".freeze,
|
374
356
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#context-definitions".freeze,
|
375
357
|
type: "http://www.w3.org/ns/ContainerType".freeze
|
376
358
|
term :indexContainerType,
|
377
|
-
comment:
|
359
|
+
comment: "If the [expanded term definition](https://www.w3.org/TR/json-ld11/#dfn-expanded-term-definitions) contains the `@container` keyword, its value MUST be either `@list`, `@set`, `@language`, `@index`, `@id`, `@graph`, `@type`, or be `null` or an _array_ containing exactly any one of those keywords.".freeze,
|
378
360
|
isDefinedBy: "jsonld:".freeze,
|
379
361
|
label: "@index".freeze,
|
380
362
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#context-definitions".freeze,
|
381
363
|
type: "http://www.w3.org/ns/ContainerType".freeze
|
382
364
|
term :languageContainerType,
|
383
|
-
comment:
|
365
|
+
comment: "If the [expanded term definition](https://www.w3.org/TR/json-ld11/#dfn-expanded-term-definitions) contains the `@container` keyword, its value MUST be either `@list`, `@set`, `@language`, `@index`, `@id`, `@graph`, `@type`, or be `null` or an _array_ containing exactly any one of those keywords.".freeze,
|
384
366
|
isDefinedBy: "jsonld:".freeze,
|
385
367
|
label: "@language".freeze,
|
386
368
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#context-definitions".freeze,
|
387
369
|
type: "http://www.w3.org/ns/ContainerType".freeze
|
388
370
|
term :listContainerType,
|
389
|
-
comment:
|
371
|
+
comment: "If the [expanded term definition](https://www.w3.org/TR/json-ld11/#dfn-expanded-term-definitions) contains the `@container` keyword, its value MUST be either `@list`, `@set`, `@language`, `@index`, `@id`, `@graph`, `@type`, or be `null` or an _array_ containing exactly any one of those keywords.".freeze,
|
390
372
|
isDefinedBy: "jsonld:".freeze,
|
391
373
|
label: "@list".freeze,
|
392
374
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#context-definitions".freeze,
|
393
375
|
type: "http://www.w3.org/ns/ContainerType".freeze
|
394
376
|
term :setContainerType,
|
395
|
-
comment:
|
377
|
+
comment: "If the [expanded term definition](https://www.w3.org/TR/json-ld11/#dfn-expanded-term-definitions) contains the `@container` keyword, its value MUST be either `@list`, `@set`, `@language`, `@index`, `@id`, `@graph`, `@type`, or be `null` or an _array_ containing exactly any one of those keywords.".freeze,
|
396
378
|
isDefinedBy: "jsonld:".freeze,
|
397
379
|
label: "@set".freeze,
|
398
380
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#context-definitions".freeze,
|
399
381
|
type: "http://www.w3.org/ns/ContainerType".freeze
|
400
382
|
term :streaming,
|
401
|
-
comment:
|
383
|
+
comment: "This profile URI is used to request or specify streaming JSON-LD document form.".freeze,
|
402
384
|
isDefinedBy: "jsonld:".freeze,
|
403
385
|
label: "streaming".freeze,
|
404
386
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11-streaming/#streaming-profile".freeze,
|
405
387
|
type: "owl:NamedIndividual".freeze
|
406
388
|
term :typeContainerType,
|
407
|
-
comment:
|
389
|
+
comment: "If the [expanded term definition](https://www.w3.org/TR/json-ld11/#dfn-expanded-term-definitions) contains the `@container` keyword, its value MUST be either `@list`, `@set`, `@language`, `@index`, `@id`, `@graph`, `@type`, or be `null` or an _array_ containing exactly any one of those keywords.".freeze,
|
408
390
|
isDefinedBy: "jsonld:".freeze,
|
409
391
|
label: "@type".freeze,
|
410
392
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#context-definitions".freeze,
|
data/lib/rdf/vocab/lrmi.rb
CHANGED
@@ -89,7 +89,7 @@ module RDF::Vocab
|
|
89
89
|
|
90
90
|
# Class definitions
|
91
91
|
term :AlignmentObject,
|
92
|
-
comment:
|
92
|
+
comment: "An intangible item that describes an alignment between a learning resource and a node in an educational framework.".freeze,
|
93
93
|
"dc:issued": "2015-02-09".freeze,
|
94
94
|
equivalentClass: "schema:AlignmentObject".freeze,
|
95
95
|
isDefinedBy: "lrmi:".freeze,
|
@@ -97,7 +97,7 @@ module RDF::Vocab
|
|
97
97
|
subClassOf: "schema:Intangible".freeze,
|
98
98
|
type: "rdfs:Class".freeze
|
99
99
|
term :EducationalAudience,
|
100
|
-
comment:
|
100
|
+
comment: "An individual or group for whom the learning resource was created or useful.".freeze,
|
101
101
|
"dc:issued": "2015-02-09".freeze,
|
102
102
|
equivalentClass: "schema:EducationalAudience".freeze,
|
103
103
|
isDefinedBy: "lrmi:".freeze,
|
@@ -107,7 +107,7 @@ module RDF::Vocab
|
|
107
107
|
|
108
108
|
# Property definitions
|
109
109
|
property :alignmentType,
|
110
|
-
comment:
|
110
|
+
comment: "A category of alignment between the learning resource and the framework node.".freeze,
|
111
111
|
"dc:description": "Recommended values include: 'assesses', 'teaches', 'requires', 'textComplexity', 'readingLevel', 'educationalSubject', and 'educationLevel'.".freeze,
|
112
112
|
"dc:issued": "2015-02-09".freeze,
|
113
113
|
domainIncludes: ["lrmi:AlignmentObject".freeze, "schema:AlignmentObject".freeze],
|
@@ -117,7 +117,7 @@ module RDF::Vocab
|
|
117
117
|
rangeIncludes: "xsd:string".freeze,
|
118
118
|
type: "rdf:Property".freeze
|
119
119
|
property :educationalAlignment,
|
120
|
-
comment:
|
120
|
+
comment: "An alignment to an established educational framework.".freeze,
|
121
121
|
"dc:issued": "2015-02-09".freeze,
|
122
122
|
domainIncludes: "schema:CreativeWork".freeze,
|
123
123
|
equivalentProperty: "schema:educationalAlignment".freeze,
|
@@ -126,7 +126,7 @@ module RDF::Vocab
|
|
126
126
|
rangeIncludes: ["lrmi:AlignmentObject".freeze, "schema:AlignmentObject".freeze],
|
127
127
|
type: "rdf:Property".freeze
|
128
128
|
property :educationalFramework,
|
129
|
-
comment:
|
129
|
+
comment: "The framework to which the resource being described is aligned.".freeze,
|
130
130
|
"dc:issued": "2015-02-09".freeze,
|
131
131
|
domainIncludes: ["lrmi:AlignmentObject".freeze, "schema:AlignmentObject".freeze],
|
132
132
|
equivalentProperty: "schema:educationalFramework".freeze,
|
@@ -135,7 +135,7 @@ module RDF::Vocab
|
|
135
135
|
rangeIncludes: "xsd:string".freeze,
|
136
136
|
type: "rdf:Property".freeze
|
137
137
|
property :educationalRole,
|
138
|
-
comment:
|
138
|
+
comment: "The role that describes the target audience of the content.".freeze,
|
139
139
|
"dc:description": "The educational function assumed or part played by the group for whom the resource is intended.".freeze,
|
140
140
|
"dc:issued": "2015-02-09".freeze,
|
141
141
|
domainIncludes: ["lrmi:EducationalAudience".freeze, "schema:EducationalAudience".freeze],
|
@@ -145,7 +145,7 @@ module RDF::Vocab
|
|
145
145
|
rangeIncludes: "xsd:string".freeze,
|
146
146
|
type: "rdf:Property".freeze
|
147
147
|
property :educationalUse,
|
148
|
-
comment:
|
148
|
+
comment: "The purpose of a work in the context of education.".freeze,
|
149
149
|
"dc:description": "For example, 'assignment', 'group work'.".freeze,
|
150
150
|
"dc:issued": "2015-02-09".freeze,
|
151
151
|
domainIncludes: "schema:CreativeWork".freeze,
|
@@ -155,7 +155,7 @@ module RDF::Vocab
|
|
155
155
|
rangeIncludes: "xsd:string".freeze,
|
156
156
|
type: "rdf:Property".freeze
|
157
157
|
property :interactivityType,
|
158
|
-
comment:
|
158
|
+
comment: "The predominant mode of learning supported by the learning resource.".freeze,
|
159
159
|
"dc:description": ["Acceptable values are 'active', 'expositive', or 'mixed'.".freeze, "Based on, and mappable from, IEEE LOM 5.1: Interactivity Type.".freeze],
|
160
160
|
"dc:issued": "2015-02-09".freeze,
|
161
161
|
domainIncludes: "schema:CreativeWork".freeze,
|
@@ -165,7 +165,7 @@ module RDF::Vocab
|
|
165
165
|
rangeIncludes: "xsd:string".freeze,
|
166
166
|
type: "rdf:Property".freeze
|
167
167
|
property :isBasedOnUrl,
|
168
|
-
comment:
|
168
|
+
comment: "A resource that was used in the creation of this resource.".freeze,
|
169
169
|
"dc:description": "This term can be repeated for multiple sources.".freeze,
|
170
170
|
"dc:issued": "2015-02-09".freeze,
|
171
171
|
domainIncludes: "schema:CreativeWork".freeze,
|
@@ -175,7 +175,7 @@ module RDF::Vocab
|
|
175
175
|
rangeIncludes: "xsd:anyURI".freeze,
|
176
176
|
type: "rdf:Property".freeze
|
177
177
|
property :learningResourceType,
|
178
|
-
comment:
|
178
|
+
comment: "The predominant type or kind characterizing the learning resource.".freeze,
|
179
179
|
"dc:description": "For example, 'presentation', 'handout'.".freeze,
|
180
180
|
"dc:issued": "2015-02-09".freeze,
|
181
181
|
domainIncludes: "schema:CreativeWork".freeze,
|
@@ -185,7 +185,7 @@ module RDF::Vocab
|
|
185
185
|
rangeIncludes: "xsd:string".freeze,
|
186
186
|
type: "rdf:Property".freeze
|
187
187
|
property :targetDescription,
|
188
|
-
comment:
|
188
|
+
comment: "The description of a node in an established educational framework.".freeze,
|
189
189
|
"dc:issued": "2015-02-09".freeze,
|
190
190
|
domainIncludes: ["lrmi:AlignmentObject".freeze, "schema:AlignmentObject".freeze],
|
191
191
|
equivalentProperty: "schema:targetDescription".freeze,
|
@@ -194,7 +194,7 @@ module RDF::Vocab
|
|
194
194
|
rangeIncludes: "xsd:string".freeze,
|
195
195
|
type: "rdf:Property".freeze
|
196
196
|
property :targetName,
|
197
|
-
comment:
|
197
|
+
comment: "The name of a node in an established educational framework.".freeze,
|
198
198
|
"dc:issued": "2015-02-09".freeze,
|
199
199
|
domainIncludes: ["lrmi:AlignmentObject".freeze, "schema:AlignmentObject".freeze],
|
200
200
|
equivalentProperty: "schema:targetName".freeze,
|
@@ -203,7 +203,7 @@ module RDF::Vocab
|
|
203
203
|
rangeIncludes: "xsd:string".freeze,
|
204
204
|
type: "rdf:Property".freeze
|
205
205
|
property :targetUrl,
|
206
|
-
comment:
|
206
|
+
comment: "The URL of a node in an established educational framework.".freeze,
|
207
207
|
"dc:issued": "2015-02-09".freeze,
|
208
208
|
domainIncludes: ["lrmi:AlignmentObject".freeze, "schema:AlignmentObject".freeze],
|
209
209
|
equivalentProperty: "schema:targetUrl".freeze,
|
@@ -212,7 +212,7 @@ module RDF::Vocab
|
|
212
212
|
rangeIncludes: "xsd:anyURI".freeze,
|
213
213
|
type: "rdf:Property".freeze
|
214
214
|
property :timeRequired,
|
215
|
-
comment:
|
215
|
+
comment: "Approximate or typical time it takes to work with or through this learning resource for the typical intended target audience.".freeze,
|
216
216
|
"dc:description": ["Based on, and mappable from, IEEE LOM 5.9: Typical Learning Time.".freeze, "For example, 'PT30M' and 'PT1H25M'".freeze],
|
217
217
|
"dc:issued": "2015-02-09".freeze,
|
218
218
|
domainIncludes: ["lrmi:AlignmentObject".freeze, "schema:AlignmentObject".freeze],
|
@@ -222,7 +222,7 @@ module RDF::Vocab
|
|
222
222
|
rangeIncludes: "schema:Duration".freeze,
|
223
223
|
type: "rdf:Property".freeze
|
224
224
|
property :typicalAgeRange,
|
225
|
-
comment:
|
225
|
+
comment: "The typical expected age range.".freeze,
|
226
226
|
"dc:description": ["Based on, and mappable from, IEEE LOM 5.7: Typical Age Range.".freeze, "For example, '7-9', '18-'.".freeze],
|
227
227
|
"dc:issued": "2015-02-09".freeze,
|
228
228
|
domainIncludes: "schema:CreativeWork".freeze,
|
@@ -232,7 +232,7 @@ module RDF::Vocab
|
|
232
232
|
rangeIncludes: "xsd:string".freeze,
|
233
233
|
type: "rdf:Property".freeze
|
234
234
|
property :useRightsUrl,
|
235
|
-
comment:
|
235
|
+
comment: "The URL where the owner specifies permissions for using the resource.".freeze,
|
236
236
|
"dc:description": "For example: 'http://creativecommons.org/licenses/by/3.0/', 'http://publisher.com/content-use-description'.".freeze,
|
237
237
|
"dc:issued": "2015-02-09".freeze,
|
238
238
|
domainIncludes: "schema:CreativeWork".freeze,
|