rdf-vocab 3.1.5 → 3.1.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +10 -3
- data/VERSION +1 -1
- data/lib/rdf/vocab.rb +46 -20
- data/lib/rdf/vocab/acl.rb +20 -60
- data/lib/rdf/vocab/as.rb +90 -90
- data/lib/rdf/vocab/bf2.rb +552 -552
- data/lib/rdf/vocab/bibframe.rb +3456 -1706
- data/lib/rdf/vocab/bibo.rb +120 -123
- data/lib/rdf/vocab/cc.rb +18 -47
- data/lib/rdf/vocab/cert.rb +19 -126
- data/lib/rdf/vocab/cnt.rb +19 -19
- data/lib/rdf/vocab/crm.rb +240 -775
- data/lib/rdf/vocab/dbo.rb +1 -6
- data/lib/rdf/vocab/dc.rb +533 -99
- data/lib/rdf/vocab/dc11.rb +30 -30
- data/lib/rdf/vocab/dcat.rb +97 -96
- data/lib/rdf/vocab/dcmitype.rb +62 -12
- data/lib/rdf/vocab/disco.rb +58 -58
- data/lib/rdf/vocab/doap.rb +53 -55
- data/lib/rdf/vocab/dwc.rb +188 -188
- data/lib/rdf/vocab/earl.rb +27 -27
- data/lib/rdf/vocab/ebucore.rb +1231 -1521
- data/lib/rdf/vocab/edm.rb +52 -75
- data/lib/rdf/vocab/exif.rb +161 -162
- data/lib/rdf/vocab/extensions.rb +7 -3
- 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 +1342 -1350
- data/lib/rdf/vocab/gr.rb +177 -564
- data/lib/rdf/vocab/gs1.rb +958 -958
- data/lib/rdf/vocab/ht.rb +41 -41
- data/lib/rdf/vocab/hydra.rb +133 -85
- data/lib/rdf/vocab/iana.rb +71 -113
- data/lib/rdf/vocab/ical.rb +103 -151
- data/lib/rdf/vocab/identifiers.rb +161 -662
- data/lib/rdf/vocab/iiif.rb +25 -25
- data/lib/rdf/vocab/jsonld.rb +45 -53
- data/lib/rdf/vocab/ldp.rb +31 -31
- data/lib/rdf/vocab/lrmi.rb +170 -38
- data/lib/rdf/vocab/ma.rb +79 -79
- data/lib/rdf/vocab/mads.rb +9 -9
- data/lib/rdf/vocab/marcrelators.rb +4 -3
- data/lib/rdf/vocab/mo.rb +196 -539
- data/lib/rdf/vocab/mods.rb +121 -125
- data/lib/rdf/vocab/oa.rb +68 -72
- data/lib/rdf/vocab/og.rb +57 -35
- 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 +315 -410
- data/lib/rdf/vocab/premiseventtype.rb +1 -1
- data/lib/rdf/vocab/prov.rb +87 -112
- data/lib/rdf/vocab/ptr.rb +34 -36
- data/lib/rdf/vocab/rdau.rb +10511 -0
- data/lib/rdf/vocab/rightsstatements.rb +12 -12
- data/lib/rdf/vocab/rsa.rb +8 -27
- data/lib/rdf/vocab/rss.rb +51 -10
- data/lib/rdf/vocab/schema.rb +5292 -4980
- data/lib/rdf/vocab/schemas.rb +26802 -0
- data/lib/rdf/vocab/sd.rb +38 -38
- data/lib/rdf/vocab/sh.rb +184 -184
- 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 +12 -12
- 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 +9 -9
- data/spec/spec_helper.rb +13 -0
- metadata +42 -14
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
@@ -9,7 +9,7 @@ module RDF::Vocab
|
|
9
9
|
# # The JSON-LD Vocabulary
|
10
10
|
# #
|
11
11
|
# # This is a vocabulary document and is used to achieve certain features of the JSON-LD language.
|
12
|
-
# # @version https://github.com/w3c/json-ld-wg/commit/
|
12
|
+
# # @version https://github.com/w3c/json-ld-wg/commit/dfd1827c95a66bc36c01368e10b6e4f4bbb5c8b3
|
13
13
|
# # @see http://www.w3.org/TR/json-ld11
|
14
14
|
# class JSONLD < RDF::StrictVocabulary
|
15
15
|
# # Defines term definitions and other aspects of a JSON-LD `Context`. 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`.
|
@@ -136,6 +136,10 @@ module RDF::Vocab
|
|
136
136
|
# # @return [RDF::Vocabulary::Term]
|
137
137
|
# attr_reader :setContainerType
|
138
138
|
#
|
139
|
+
# # This profile URI is used to request or specify streaming JSON-LD document form.
|
140
|
+
# # @return [RDF::Vocabulary::Term]
|
141
|
+
# attr_reader :streaming
|
142
|
+
#
|
139
143
|
# # 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.
|
140
144
|
# # @return [RDF::Vocabulary::Term]
|
141
145
|
# attr_reader :typeContainerType
|
@@ -145,34 +149,28 @@ module RDF::Vocab
|
|
145
149
|
|
146
150
|
# Ontology definition
|
147
151
|
ontology :"http://www.w3.org/ns/json-ld#",
|
148
|
-
"dc:date": "2020-
|
152
|
+
"dc:date": "2020-03-30".freeze,
|
149
153
|
"dc:description": "This is a vocabulary document and is used to achieve certain features of the JSON-LD language.".freeze,
|
150
154
|
"dc:title": "The JSON-LD Vocabulary".freeze,
|
151
|
-
"owl:versionInfo": "https://github.com/w3c/json-ld-wg/commit/
|
155
|
+
"owl:versionInfo": "https://github.com/w3c/json-ld-wg/commit/dfd1827c95a66bc36c01368e10b6e4f4bbb5c8b3".freeze,
|
152
156
|
"rdfs:seeAlso": "http://www.w3.org/TR/json-ld11".freeze,
|
153
157
|
type: "owl:Ontology".freeze
|
154
158
|
|
155
159
|
# Class definitions
|
156
160
|
term :Context,
|
157
|
-
comment:
|
158
|
-
|
159
|
-
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,
|
160
162
|
isDefinedBy: "jsonld:".freeze,
|
161
163
|
label: "Context".freeze,
|
162
164
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#context-definitions".freeze,
|
163
165
|
type: "rdfs:Class".freeze
|
164
166
|
term :PrefixDefinition,
|
165
|
-
comment:
|
167
|
+
comment: "A string ([simple term definition](http://www.w3.org/TR/json-ld11/#dfn-simple-term-definitions)), expanding to an IRI.".freeze,
|
166
168
|
isDefinedBy: "jsonld:".freeze,
|
167
169
|
label: "Prefix Definition".freeze,
|
168
170
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#dfn-term-definition".freeze,
|
169
171
|
type: "rdfs:Class".freeze
|
170
172
|
term :TermDefinition,
|
171
|
-
comment:
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
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,
|
176
174
|
isDefinedBy: "jsonld:".freeze,
|
177
175
|
label: "Term Definition".freeze,
|
178
176
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#dfn-term-definition".freeze,
|
@@ -180,7 +178,7 @@ An [expanded term definition]\(https://www.w3.org/TR/json-ld11/#dfn-expanded-ter
|
|
180
178
|
|
181
179
|
# Property definitions
|
182
180
|
property :base,
|
183
|
-
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,
|
184
182
|
domainIncludes: "jsonld:Context".freeze,
|
185
183
|
isDefinedBy: "jsonld:".freeze,
|
186
184
|
label: "base".freeze,
|
@@ -188,15 +186,7 @@ An [expanded term definition]\(https://www.w3.org/TR/json-ld11/#dfn-expanded-ter
|
|
188
186
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#context-definitions".freeze,
|
189
187
|
type: "rdf:Property".freeze
|
190
188
|
property :container,
|
191
|
-
comment:
|
192
|
-
|
193
|
-
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.
|
194
|
-
|
195
|
-
`@container` may also be an array containing `@graph` along with either `@id` or `@index` and also optionally including `@set`.
|
196
|
-
|
197
|
-
If the value is `@language`, when the term is used outside of the `@context`, the associated value MUST be a language map.
|
198
|
-
|
199
|
-
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,
|
200
190
|
domainIncludes: "jsonld:TermDefinition".freeze,
|
201
191
|
isDefinedBy: "jsonld:".freeze,
|
202
192
|
label: "container".freeze,
|
@@ -204,21 +194,21 @@ If the value is `@index`, when the term is used outside of the `@context`, the a
|
|
204
194
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#expanded-term-definition".freeze,
|
205
195
|
type: "rdf:Property".freeze
|
206
196
|
property :context,
|
207
|
-
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,
|
208
198
|
isDefinedBy: "jsonld:".freeze,
|
209
199
|
label: "context".freeze,
|
210
200
|
rangeIncludes: ["jsonld:Context".freeze, "xsd:anyUri".freeze],
|
211
201
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#interpreting-json-as-json-ld".freeze,
|
212
202
|
type: "rdf:Property".freeze
|
213
203
|
property :definition,
|
214
|
-
comment:
|
204
|
+
comment: "Term definition(s) associated with this context.".freeze,
|
215
205
|
domainIncludes: "jsonld:Context".freeze,
|
216
206
|
isDefinedBy: "jsonld:".freeze,
|
217
207
|
label: "definition".freeze,
|
218
208
|
rangeIncludes: ["jsonld:PrefixDefinition".freeze, "jsonld:TermDefinition".freeze],
|
219
209
|
type: "rdf:Property".freeze
|
220
210
|
property :direction,
|
221
|
-
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,
|
222
212
|
domainIncludes: ["jsonld:Context".freeze, "jsonld:TermDefinition".freeze],
|
223
213
|
isDefinedBy: "jsonld:".freeze,
|
224
214
|
label: "direction".freeze,
|
@@ -226,7 +216,7 @@ If the value is `@index`, when the term is used outside of the `@context`, the a
|
|
226
216
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#context-definitions".freeze,
|
227
217
|
type: "rdf:Property".freeze
|
228
218
|
property :id,
|
229
|
-
comment:
|
219
|
+
comment: "The `@id` mapping of a [term definition](#TermDefinition).".freeze,
|
230
220
|
domainIncludes: ["jsonld:PrefixDefinition".freeze, "jsonld:TermDefinition".freeze],
|
231
221
|
isDefinedBy: "jsonld:".freeze,
|
232
222
|
label: "id".freeze,
|
@@ -234,7 +224,7 @@ If the value is `@index`, when the term is used outside of the `@context`, the a
|
|
234
224
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#expanded-term-definition".freeze,
|
235
225
|
type: "rdf:Property".freeze
|
236
226
|
property :import,
|
237
|
-
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,
|
238
228
|
domainIncludes: "jsonld:Context".freeze,
|
239
229
|
isDefinedBy: "jsonld:".freeze,
|
240
230
|
label: "import".freeze,
|
@@ -242,7 +232,7 @@ If the value is `@index`, when the term is used outside of the `@context`, the a
|
|
242
232
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#context-definitions".freeze,
|
243
233
|
type: "rdf:Property".freeze
|
244
234
|
property :language,
|
245
|
-
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,
|
246
236
|
domainIncludes: ["jsonld:Context".freeze, "jsonld:TermDefinition".freeze],
|
247
237
|
isDefinedBy: "jsonld:".freeze,
|
248
238
|
label: "language".freeze,
|
@@ -250,7 +240,7 @@ If the value is `@index`, when the term is used outside of the `@context`, the a
|
|
250
240
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#dfn-default-language".freeze,
|
251
241
|
type: "rdf:Property".freeze
|
252
242
|
property :nest,
|
253
|
-
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,
|
254
244
|
domainIncludes: "jsonld:TermDefinition".freeze,
|
255
245
|
isDefinedBy: "jsonld:".freeze,
|
256
246
|
label: "nest".freeze,
|
@@ -258,7 +248,7 @@ If the value is `@index`, when the term is used outside of the `@context`, the a
|
|
258
248
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#expanded-term-definition".freeze,
|
259
249
|
type: "rdf:Property".freeze
|
260
250
|
property :prefix,
|
261
|
-
comment:
|
251
|
+
comment: "With the value `true`, allows this term to be used to construct a compact IRI when compacting.".freeze,
|
262
252
|
domainIncludes: "jsonld:TermDefinition".freeze,
|
263
253
|
isDefinedBy: "jsonld:".freeze,
|
264
254
|
label: "prefix".freeze,
|
@@ -266,7 +256,7 @@ If the value is `@index`, when the term is used outside of the `@context`, the a
|
|
266
256
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#expanded-term-definition".freeze,
|
267
257
|
type: "rdf:Property".freeze
|
268
258
|
property :propagate,
|
269
|
-
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,
|
270
260
|
domainIncludes: ["jsonld:Context".freeze, "jsonld:TermDefinition".freeze],
|
271
261
|
isDefinedBy: "jsonld:".freeze,
|
272
262
|
label: "propagate".freeze,
|
@@ -274,7 +264,7 @@ If the value is `@index`, when the term is used outside of the `@context`, the a
|
|
274
264
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#context-definitions".freeze,
|
275
265
|
type: "rdf:Property".freeze
|
276
266
|
property :protected,
|
277
|
-
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,
|
278
268
|
domainIncludes: ["jsonld:Context".freeze, "jsonld:TermDefinition".freeze],
|
279
269
|
isDefinedBy: "jsonld:".freeze,
|
280
270
|
label: "protected".freeze,
|
@@ -282,7 +272,7 @@ If the value is `@index`, when the term is used outside of the `@context`, the a
|
|
282
272
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#context-definitions".freeze,
|
283
273
|
type: "rdf:Property".freeze
|
284
274
|
property :reverse,
|
285
|
-
comment:
|
275
|
+
comment: "The `@reverse` mapping of an [expanded term definition](https://www.w3.org/TR/json-ld11/#dfn-expanded-term-definitions).".freeze,
|
286
276
|
domainIncludes: "jsonld:TermDefinition".freeze,
|
287
277
|
isDefinedBy: "jsonld:".freeze,
|
288
278
|
label: "reverse".freeze,
|
@@ -290,7 +280,7 @@ If the value is `@index`, when the term is used outside of the `@context`, the a
|
|
290
280
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#expanded-term-definition".freeze,
|
291
281
|
type: "rdf:Property".freeze
|
292
282
|
property :term,
|
293
|
-
comment:
|
283
|
+
comment: "The term associated with a [term definition](#TermDefinition).".freeze,
|
294
284
|
domainIncludes: ["jsonld:PrefixDefinition".freeze, "jsonld:TermDefinition".freeze],
|
295
285
|
isDefinedBy: "jsonld:".freeze,
|
296
286
|
label: "term".freeze,
|
@@ -298,11 +288,7 @@ If the value is `@index`, when the term is used outside of the `@context`, the a
|
|
298
288
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#dfn-term".freeze,
|
299
289
|
type: "rdf:Property".freeze
|
300
290
|
property :type,
|
301
|
-
comment:
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
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,
|
306
292
|
domainIncludes: ["jsonld:Context".freeze, "jsonld:TermDefinition".freeze],
|
307
293
|
isDefinedBy: "jsonld:".freeze,
|
308
294
|
label: "type".freeze,
|
@@ -310,7 +296,7 @@ If the [expanded term definition]\(https://www.w3.org/TR/json-ld11/#dfn-expanded
|
|
310
296
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#context-definitions".freeze,
|
311
297
|
type: "rdf:Property".freeze
|
312
298
|
property :version,
|
313
|
-
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,
|
314
300
|
domainIncludes: "jsonld:Context".freeze,
|
315
301
|
isDefinedBy: "jsonld:".freeze,
|
316
302
|
label: "version".freeze,
|
@@ -318,7 +304,7 @@ If the [expanded term definition]\(https://www.w3.org/TR/json-ld11/#dfn-expanded
|
|
318
304
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#dfn-processing-mode".freeze,
|
319
305
|
type: "rdf:Property".freeze
|
320
306
|
property :vocab,
|
321
|
-
comment:
|
307
|
+
comment: "Used to expand properties and values in `@type` with a common prefix IRI.".freeze,
|
322
308
|
domainIncludes: "jsonld:Context".freeze,
|
323
309
|
isDefinedBy: "jsonld:".freeze,
|
324
310
|
label: "vocab".freeze,
|
@@ -328,73 +314,79 @@ If the [expanded term definition]\(https://www.w3.org/TR/json-ld11/#dfn-expanded
|
|
328
314
|
|
329
315
|
# Extra definitions
|
330
316
|
term :compacted,
|
331
|
-
comment:
|
317
|
+
comment: "This profile IRI is used to request or specify compacted JSON-LD document form.".freeze,
|
332
318
|
isDefinedBy: "jsonld:".freeze,
|
333
319
|
label: "compacted".freeze,
|
334
320
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#iana-considerations".freeze,
|
335
321
|
type: "owl:NamedIndividual".freeze
|
336
322
|
term :expanded,
|
337
|
-
comment:
|
323
|
+
comment: "This profile URI is used to request or specify expanded JSON-LD document form.".freeze,
|
338
324
|
isDefinedBy: "jsonld:".freeze,
|
339
325
|
label: "expanded".freeze,
|
340
326
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#iana-considerations".freeze,
|
341
327
|
type: "owl:NamedIndividual".freeze
|
342
328
|
term :flattened,
|
343
|
-
comment:
|
329
|
+
comment: "This profile URI is used to request or specify flattened JSON-LD document form.".freeze,
|
344
330
|
isDefinedBy: "jsonld:".freeze,
|
345
331
|
label: "flattened".freeze,
|
346
332
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#iana-considerations".freeze,
|
347
333
|
type: "owl:NamedIndividual".freeze
|
348
334
|
term :frame,
|
349
|
-
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,
|
350
336
|
isDefinedBy: "jsonld:".freeze,
|
351
337
|
label: "frame".freeze,
|
352
338
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#iana-considerations".freeze,
|
353
339
|
type: "owl:NamedIndividual".freeze
|
354
340
|
term :framed,
|
355
|
-
comment:
|
341
|
+
comment: "This profile URI is used to request or specify framed JSON-LD document form.".freeze,
|
356
342
|
isDefinedBy: "jsonld:".freeze,
|
357
343
|
label: "framed".freeze,
|
358
344
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#iana-considerations".freeze,
|
359
345
|
type: "owl:NamedIndividual".freeze
|
360
346
|
term :graphContainerType,
|
361
|
-
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,
|
362
348
|
isDefinedBy: "jsonld:".freeze,
|
363
349
|
label: "@graph".freeze,
|
364
350
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#context-definitions".freeze,
|
365
351
|
type: "http://www.w3.org/ns/ContainerType".freeze
|
366
352
|
term :idContainerType,
|
367
|
-
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,
|
368
354
|
isDefinedBy: "jsonld:".freeze,
|
369
355
|
label: "@id".freeze,
|
370
356
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#context-definitions".freeze,
|
371
357
|
type: "http://www.w3.org/ns/ContainerType".freeze
|
372
358
|
term :indexContainerType,
|
373
|
-
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,
|
374
360
|
isDefinedBy: "jsonld:".freeze,
|
375
361
|
label: "@index".freeze,
|
376
362
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#context-definitions".freeze,
|
377
363
|
type: "http://www.w3.org/ns/ContainerType".freeze
|
378
364
|
term :languageContainerType,
|
379
|
-
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,
|
380
366
|
isDefinedBy: "jsonld:".freeze,
|
381
367
|
label: "@language".freeze,
|
382
368
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#context-definitions".freeze,
|
383
369
|
type: "http://www.w3.org/ns/ContainerType".freeze
|
384
370
|
term :listContainerType,
|
385
|
-
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,
|
386
372
|
isDefinedBy: "jsonld:".freeze,
|
387
373
|
label: "@list".freeze,
|
388
374
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#context-definitions".freeze,
|
389
375
|
type: "http://www.w3.org/ns/ContainerType".freeze
|
390
376
|
term :setContainerType,
|
391
|
-
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,
|
392
378
|
isDefinedBy: "jsonld:".freeze,
|
393
379
|
label: "@set".freeze,
|
394
380
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#context-definitions".freeze,
|
395
381
|
type: "http://www.w3.org/ns/ContainerType".freeze
|
382
|
+
term :streaming,
|
383
|
+
comment: "This profile URI is used to request or specify streaming JSON-LD document form.".freeze,
|
384
|
+
isDefinedBy: "jsonld:".freeze,
|
385
|
+
label: "streaming".freeze,
|
386
|
+
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11-streaming/#streaming-profile".freeze,
|
387
|
+
type: "owl:NamedIndividual".freeze
|
396
388
|
term :typeContainerType,
|
397
|
-
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,
|
398
390
|
isDefinedBy: "jsonld:".freeze,
|
399
391
|
label: "@type".freeze,
|
400
392
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#context-definitions".freeze,
|