rdf-vocab 3.1.2 → 3.1.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +1 -1
- data/README.md +69 -45
- data/VERSION +1 -1
- data/lib/rdf/vocab.rb +60 -40
- data/lib/rdf/vocab/acl.rb +104 -61
- data/lib/rdf/vocab/as.rb +556 -91
- data/lib/rdf/vocab/bf2.rb +1791 -475
- data/lib/rdf/vocab/bibframe.rb +1 -2
- data/lib/rdf/vocab/bibo.rb +616 -124
- data/lib/rdf/vocab/cc.rb +125 -48
- data/lib/rdf/vocab/cert.rb +68 -1
- data/lib/rdf/vocab/cnt.rb +79 -1
- data/lib/rdf/vocab/crm.rb +1543 -776
- data/lib/rdf/vocab/datacite.rb +1 -1
- data/lib/rdf/vocab/dbo.rb +10463 -1
- data/lib/rdf/vocab/dc.rb +485 -99
- data/lib/rdf/vocab/dc11.rb +93 -31
- data/lib/rdf/vocab/dcat.rb +236 -88
- data/lib/rdf/vocab/dcmitype.rb +63 -13
- data/lib/rdf/vocab/disco.rb +286 -59
- data/lib/rdf/vocab/doap.rb +175 -1
- data/lib/rdf/vocab/dwc.rb +941 -189
- data/lib/rdf/vocab/earl.rb +324 -0
- data/lib/rdf/vocab/ebucore.rb +7255 -2184
- data/lib/rdf/vocab/edm.rb +202 -76
- data/lib/rdf/vocab/exif.rb +650 -1
- data/lib/rdf/vocab/extensions.rb +257 -203
- data/lib/rdf/vocab/fcrepo4.rb +398 -22
- data/lib/rdf/vocab/foaf.rb +380 -76
- data/lib/rdf/vocab/geo.rb +47 -110
- data/lib/rdf/vocab/geojson.rb +82 -17
- data/lib/rdf/vocab/geonames.rb +1508 -1351
- data/lib/rdf/vocab/gr.rb +861 -565
- data/lib/rdf/vocab/gs1.rb +1597 -1
- data/lib/rdf/vocab/ht.rb +204 -41
- data/lib/rdf/vocab/hydra.rb +335 -60
- data/lib/rdf/vocab/iana.rb +301 -114
- data/lib/rdf/vocab/ical.rb +534 -121
- data/lib/rdf/vocab/identifiers.rb +459 -499
- data/lib/rdf/vocab/iiif.rb +161 -26
- data/lib/rdf/vocab/jsonld.rb +179 -53
- data/lib/rdf/vocab/ldp.rb +130 -1
- data/lib/rdf/vocab/lrmi.rb +85 -17
- data/lib/rdf/vocab/ma.rb +460 -80
- data/lib/rdf/vocab/mads.rb +610 -22
- data/lib/rdf/vocab/{marc_relators.rb → marcrelators.rb} +813 -4
- data/lib/rdf/vocab/mo.rb +1115 -540
- data/lib/rdf/vocab/mods.rb +635 -124
- data/lib/rdf/vocab/nfo.rb +1 -1
- data/lib/rdf/vocab/oa.rb +343 -73
- data/lib/rdf/vocab/og.rb +100 -1
- data/lib/rdf/vocab/ogc.rb +42 -9
- data/lib/rdf/vocab/ore.rb +69 -14
- data/lib/rdf/vocab/org.rb +235 -47
- data/lib/rdf/vocab/pcdm.rb +58 -34
- data/lib/rdf/vocab/pplan.rb +21 -136
- data/lib/rdf/vocab/premis.rb +1171 -779
- data/lib/rdf/vocab/{premis_event_type.rb → premiseventtype.rb} +156 -2
- data/lib/rdf/vocab/prov.rb +700 -107
- data/lib/rdf/vocab/ptr.rb +172 -37
- data/lib/rdf/vocab/rightsstatements.rb +17 -13
- data/lib/rdf/vocab/rsa.rb +30 -1
- data/lib/rdf/vocab/rss.rb +52 -11
- data/lib/rdf/vocab/schema.rb +14970 -3993
- data/lib/rdf/vocab/schemas.rb +27066 -0
- data/lib/rdf/vocab/sd.rb +372 -0
- data/lib/rdf/vocab/sh.rb +919 -184
- data/lib/rdf/vocab/sioc.rb +498 -98
- data/lib/rdf/vocab/{sioc_services.rb → siocservices.rb} +46 -9
- data/lib/rdf/vocab/sioctypes.rb +434 -0
- data/lib/rdf/vocab/skos.rb +160 -44
- data/lib/rdf/vocab/skosxl.rb +40 -11
- data/lib/rdf/vocab/v.rb +323 -37
- data/lib/rdf/vocab/vcard.rb +625 -119
- data/lib/rdf/vocab/vmd.rb +323 -37
- data/lib/rdf/vocab/void.rb +147 -27
- data/lib/rdf/vocab/vs.rb +23 -5
- data/lib/rdf/vocab/wdrs.rb +112 -23
- data/lib/rdf/vocab/wot.rb +96 -19
- data/lib/rdf/vocab/xhtml.rb +2 -1
- data/lib/rdf/vocab/xhv.rb +422 -201
- data/lib/rdf/vocab/xkos.rb +156 -7
- data/spec/extensions_spec.rb +68 -0
- data/spec/vocab_spec.rb +10 -0
- metadata +20 -11
- data/lib/rdf/vocab/sioct.rb +0 -277
data/lib/rdf/vocab/iiif.rb
CHANGED
@@ -5,9 +5,144 @@ require 'rdf'
|
|
5
5
|
module RDF::Vocab
|
6
6
|
# @!parse
|
7
7
|
# # Vocabulary for <http://iiif.io/api/presentation/2#>
|
8
|
+
# #
|
9
|
+
# # @version 2015-12-13 23:00:00Z
|
8
10
|
# class IIIF < RDF::StrictVocabulary
|
11
|
+
# # AnnotationLists are an ordered list of Annotation objects. Typically all Annnotations in a list target the same Canvas
|
12
|
+
# # @return [RDF::Vocabulary::Term]
|
13
|
+
# attr_reader :AnnotationList
|
14
|
+
#
|
15
|
+
# # 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.
|
16
|
+
# # @return [RDF::Vocabulary::Term]
|
17
|
+
# attr_reader :Canvas
|
18
|
+
#
|
19
|
+
# # 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.
|
20
|
+
# # @return [RDF::Vocabulary::Term]
|
21
|
+
# attr_reader :Collection
|
22
|
+
#
|
23
|
+
# # 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
|
24
|
+
# # @return [RDF::Vocabulary::Term]
|
25
|
+
# attr_reader :Layer
|
26
|
+
#
|
27
|
+
# # The manifest resource represents a single object and any intellectual work or works embodied within that object
|
28
|
+
# # @return [RDF::Vocabulary::Term]
|
29
|
+
# attr_reader :Manifest
|
30
|
+
#
|
31
|
+
# # 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
|
32
|
+
# # @return [RDF::Vocabulary::Term]
|
33
|
+
# attr_reader :Range
|
34
|
+
#
|
35
|
+
# # The sequence conveys the ordering of the views of the object.
|
36
|
+
# # @return [RDF::Vocabulary::Term]
|
37
|
+
# attr_reader :Sequence
|
38
|
+
#
|
39
|
+
# # @return [RDF::Vocabulary::Term]
|
40
|
+
# attr_reader :ViewingDirection
|
41
|
+
#
|
42
|
+
# # @return [RDF::Vocabulary::Term]
|
43
|
+
# attr_reader :ViewingHint
|
44
|
+
#
|
45
|
+
# # 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.
|
46
|
+
# # @return [RDF::Vocabulary::Term]
|
47
|
+
# attr_reader :Zone
|
48
|
+
#
|
49
|
+
# # A string containing an attribution description that must be displayed when using the resource
|
50
|
+
# # @return [RDF::Vocabulary::Term]
|
51
|
+
# attr_reader :attributionLabel
|
52
|
+
#
|
53
|
+
# # @return [RDF::Vocabulary::Term]
|
54
|
+
# attr_reader :hasAnnotations
|
55
|
+
#
|
56
|
+
# # @return [RDF::Vocabulary::Term]
|
57
|
+
# attr_reader :hasCanvases
|
58
|
+
#
|
59
|
+
# # @return [RDF::Vocabulary::Term]
|
60
|
+
# attr_reader :hasCollections
|
61
|
+
#
|
62
|
+
# # A link from a Range to a Layer that provides the content resources of that Range
|
63
|
+
# # @return [RDF::Vocabulary::Term]
|
64
|
+
# attr_reader :hasContentLayer
|
65
|
+
#
|
66
|
+
# # @return [RDF::Vocabulary::Term]
|
67
|
+
# attr_reader :hasImageAnnotations
|
68
|
+
#
|
69
|
+
# # @return [RDF::Vocabulary::Term]
|
70
|
+
# attr_reader :hasLists
|
71
|
+
#
|
72
|
+
# # @return [RDF::Vocabulary::Term]
|
73
|
+
# attr_reader :hasManifests
|
74
|
+
#
|
75
|
+
# # @return [RDF::Vocabulary::Term]
|
76
|
+
# attr_reader :hasRanges
|
77
|
+
#
|
78
|
+
# # @return [RDF::Vocabulary::Term]
|
79
|
+
# attr_reader :hasSequences
|
80
|
+
#
|
81
|
+
# # A link from a Manifest or Sequence to the Canvas that the rendering agent should initialize their view with.
|
82
|
+
# # @return [RDF::Vocabulary::Term]
|
83
|
+
# attr_reader :hasStartCanvas
|
84
|
+
#
|
85
|
+
# # An rdf:List of label/value pairs providing descriptive metadata about the resource, intended for human audience
|
86
|
+
# # @return [RDF::Vocabulary::Term]
|
87
|
+
# attr_reader :metadataLabels
|
88
|
+
#
|
89
|
+
# # References the sc:ViewingDirection that defines the direction that the resource should be viewed in
|
90
|
+
# # @return [RDF::Vocabulary::Term]
|
91
|
+
# attr_reader :viewingDirection
|
92
|
+
#
|
93
|
+
# # A hint to a user agent as to how to render the resource
|
94
|
+
# # @return [RDF::Vocabulary::Term]
|
95
|
+
# attr_reader :viewingHint
|
96
|
+
#
|
97
|
+
# # Bottom-to-Top Viewing Direction
|
98
|
+
# # @return [RDF::Vocabulary::Term]
|
99
|
+
# attr_reader :bottomToTopDirection
|
100
|
+
#
|
101
|
+
# # Each canvas represents a segment of a continuous object such as a long scroll
|
102
|
+
# # @return [RDF::Vocabulary::Term]
|
103
|
+
# attr_reader :continuousHint
|
104
|
+
#
|
105
|
+
# # Canvases with this hint depict both parts of an opening.
|
106
|
+
# # @return [RDF::Vocabulary::Term]
|
107
|
+
# attr_reader :facingPagesHint
|
108
|
+
#
|
109
|
+
# # Each canvas represents a separate individual object, and should not have transitions
|
110
|
+
# # @return [RDF::Vocabulary::Term]
|
111
|
+
# attr_reader :individualsHint
|
112
|
+
#
|
113
|
+
# # Left-to-Right Viewing Direction
|
114
|
+
# # @return [RDF::Vocabulary::Term]
|
115
|
+
# attr_reader :leftToRightDirection
|
116
|
+
#
|
117
|
+
# # Collections with this hint consist of multiple manifests that each form part of a logical whole.
|
118
|
+
# # @return [RDF::Vocabulary::Term]
|
119
|
+
# attr_reader :multiPartHint
|
120
|
+
#
|
121
|
+
# # Viewing Hint that the Canvas MUST NOT be presented in a page turner
|
122
|
+
# # @return [RDF::Vocabulary::Term]
|
123
|
+
# attr_reader :nonPagedHint
|
124
|
+
#
|
125
|
+
# # Viewing Hint that object has canvases that represent pages that can be turned
|
126
|
+
# # @return [RDF::Vocabulary::Term]
|
127
|
+
# attr_reader :pagedHint
|
128
|
+
#
|
129
|
+
# # @return [RDF::Vocabulary::Term]
|
130
|
+
# attr_reader :painting
|
131
|
+
#
|
132
|
+
# # Right-to-Left Viewing Direction
|
133
|
+
# # @return [RDF::Vocabulary::Term]
|
134
|
+
# attr_reader :rightToLeftDirection
|
135
|
+
#
|
136
|
+
# # The topmost range in a nested hierarchy, such as a table of contents
|
137
|
+
# # @return [RDF::Vocabulary::Term]
|
138
|
+
# attr_reader :topHint
|
139
|
+
#
|
140
|
+
# # Top-to-Bottom Viewing Direction
|
141
|
+
# # @return [RDF::Vocabulary::Term]
|
142
|
+
# attr_reader :topToBottomDirection
|
143
|
+
#
|
9
144
|
# end
|
10
|
-
|
145
|
+
IIIF = Class.new(RDF::StrictVocabulary("http://iiif.io/api/presentation/2#")) do
|
11
146
|
|
12
147
|
# Ontology definition
|
13
148
|
ontology :"http://iiif.io/api/presentation/2#",
|
@@ -16,37 +151,37 @@ module RDF::Vocab
|
|
16
151
|
|
17
152
|
# Class definitions
|
18
153
|
term :AnnotationList,
|
19
|
-
comment:
|
154
|
+
comment: "AnnotationLists are an ordered list of Annotation objects. Typically all Annnotations in a list target the same Canvas".freeze,
|
20
155
|
isDefinedBy: "iiif:".freeze,
|
21
156
|
label: "AnnotationList".freeze,
|
22
157
|
type: "rdfs:Class".freeze
|
23
158
|
term :Canvas,
|
24
|
-
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,
|
25
160
|
isDefinedBy: "iiif:".freeze,
|
26
161
|
label: "Canvas".freeze,
|
27
162
|
type: "rdfs:Class".freeze
|
28
163
|
term :Collection,
|
29
|
-
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,
|
30
165
|
isDefinedBy: "iiif:".freeze,
|
31
166
|
label: "Collection".freeze,
|
32
167
|
type: "rdfs:Class".freeze
|
33
168
|
term :Layer,
|
34
|
-
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,
|
35
170
|
isDefinedBy: "iiif:".freeze,
|
36
171
|
label: "Layer".freeze,
|
37
172
|
type: "rdfs:Class".freeze
|
38
173
|
term :Manifest,
|
39
|
-
comment:
|
174
|
+
comment: "The manifest resource represents a single object and any intellectual work or works embodied within that object".freeze,
|
40
175
|
isDefinedBy: "iiif:".freeze,
|
41
176
|
label: "Manifest".freeze,
|
42
177
|
type: "rdfs:Class".freeze
|
43
178
|
term :Range,
|
44
|
-
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,
|
45
180
|
isDefinedBy: "iiif:".freeze,
|
46
181
|
label: "Range".freeze,
|
47
182
|
type: "rdfs:Class".freeze
|
48
183
|
term :Sequence,
|
49
|
-
comment:
|
184
|
+
comment: "The sequence conveys the ordering of the views of the object.".freeze,
|
50
185
|
isDefinedBy: "iiif:".freeze,
|
51
186
|
label: "Sequence".freeze,
|
52
187
|
type: "rdfs:Class".freeze
|
@@ -59,7 +194,7 @@ module RDF::Vocab
|
|
59
194
|
label: "ViewingHint".freeze,
|
60
195
|
type: "rdfs:Class".freeze
|
61
196
|
term :Zone,
|
62
|
-
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,
|
63
198
|
isDefinedBy: "iiif:".freeze,
|
64
199
|
label: "Zone".freeze,
|
65
200
|
subClassOf: "iiif:Canvas".freeze,
|
@@ -67,7 +202,7 @@ module RDF::Vocab
|
|
67
202
|
|
68
203
|
# Property definitions
|
69
204
|
property :attributionLabel,
|
70
|
-
comment:
|
205
|
+
comment: "A string containing an attribution description that must be displayed when using the resource".freeze,
|
71
206
|
isDefinedBy: "iiif:".freeze,
|
72
207
|
label: "attributionLabel".freeze,
|
73
208
|
type: "rdf:Property".freeze
|
@@ -88,7 +223,7 @@ module RDF::Vocab
|
|
88
223
|
range: "rdf:List".freeze,
|
89
224
|
type: "rdf:Property".freeze
|
90
225
|
property :hasContentLayer,
|
91
|
-
comment:
|
226
|
+
comment: "A link from a Range to a Layer that provides the content resources of that Range".freeze,
|
92
227
|
domain: "iiif:Range".freeze,
|
93
228
|
isDefinedBy: "iiif:".freeze,
|
94
229
|
label: "hasContentLayer".freeze,
|
@@ -123,25 +258,25 @@ module RDF::Vocab
|
|
123
258
|
range: "rdf:List".freeze,
|
124
259
|
type: "rdf:Property".freeze
|
125
260
|
property :hasStartCanvas,
|
126
|
-
comment:
|
261
|
+
comment: "A link from a Manifest or Sequence to the Canvas that the rendering agent should initialize their view with.".freeze,
|
127
262
|
isDefinedBy: "iiif:".freeze,
|
128
263
|
label: "hasStartCanvas".freeze,
|
129
264
|
range: "iiif:Canvas".freeze,
|
130
265
|
type: "rdf:Property".freeze
|
131
266
|
property :metadataLabels,
|
132
|
-
comment:
|
267
|
+
comment: "An rdf:List of label/value pairs providing descriptive metadata about the resource, intended for human audience".freeze,
|
133
268
|
isDefinedBy: "iiif:".freeze,
|
134
269
|
label: "metadataLabels".freeze,
|
135
270
|
range: "rdf:List".freeze,
|
136
271
|
type: "rdf:Property".freeze
|
137
272
|
property :viewingDirection,
|
138
|
-
comment:
|
273
|
+
comment: "References the sc:ViewingDirection that defines the direction that the resource should be viewed in".freeze,
|
139
274
|
isDefinedBy: "iiif:".freeze,
|
140
275
|
label: "viewingDirection".freeze,
|
141
276
|
range: "iiif:ViewingDirection".freeze,
|
142
277
|
type: "rdf:Property".freeze
|
143
278
|
property :viewingHint,
|
144
|
-
comment:
|
279
|
+
comment: "A hint to a user agent as to how to render the resource".freeze,
|
145
280
|
isDefinedBy: "iiif:".freeze,
|
146
281
|
label: "viewingHint".freeze,
|
147
282
|
range: "iiif:ViewingHint".freeze,
|
@@ -149,39 +284,39 @@ module RDF::Vocab
|
|
149
284
|
|
150
285
|
# Extra definitions
|
151
286
|
term :bottomToTopDirection,
|
152
|
-
comment:
|
287
|
+
comment: "Bottom-to-Top Viewing Direction".freeze,
|
153
288
|
type: "iiif:ViewingDirection".freeze
|
154
289
|
term :continuousHint,
|
155
|
-
comment:
|
290
|
+
comment: "Each canvas represents a segment of a continuous object such as a long scroll".freeze,
|
156
291
|
type: "iiif:ViewingHint".freeze
|
157
292
|
term :facingPagesHint,
|
158
|
-
comment:
|
293
|
+
comment: "Canvases with this hint depict both parts of an opening.".freeze,
|
159
294
|
type: "iiif:ViewingHint".freeze
|
160
295
|
term :individualsHint,
|
161
|
-
comment:
|
296
|
+
comment: "Each canvas represents a separate individual object, and should not have transitions".freeze,
|
162
297
|
type: "iiif:ViewingHint".freeze
|
163
298
|
term :leftToRightDirection,
|
164
|
-
comment:
|
299
|
+
comment: "Left-to-Right Viewing Direction".freeze,
|
165
300
|
type: "iiif:ViewingDirection".freeze
|
166
301
|
term :multiPartHint,
|
167
|
-
comment:
|
302
|
+
comment: "Collections with this hint consist of multiple manifests that each form part of a logical whole.".freeze,
|
168
303
|
type: "iiif:ViewingHint".freeze
|
169
304
|
term :nonPagedHint,
|
170
|
-
comment:
|
305
|
+
comment: "Viewing Hint that the Canvas MUST NOT be presented in a page turner".freeze,
|
171
306
|
type: "iiif:ViewingHint".freeze
|
172
307
|
term :pagedHint,
|
173
|
-
comment:
|
308
|
+
comment: "Viewing Hint that object has canvases that represent pages that can be turned".freeze,
|
174
309
|
type: "iiif:ViewingHint".freeze
|
175
310
|
term :painting,
|
176
311
|
type: "oa:Motivation".freeze
|
177
312
|
term :rightToLeftDirection,
|
178
|
-
comment:
|
313
|
+
comment: "Right-to-Left Viewing Direction".freeze,
|
179
314
|
type: "iiif:ViewingDirection".freeze
|
180
315
|
term :topHint,
|
181
|
-
comment:
|
316
|
+
comment: "The topmost range in a nested hierarchy, such as a table of contents".freeze,
|
182
317
|
type: "iiif:ViewingHint".freeze
|
183
318
|
term :topToBottomDirection,
|
184
|
-
comment:
|
319
|
+
comment: "Top-to-Bottom Viewing Direction".freeze,
|
185
320
|
type: "iiif:ViewingDirection".freeze
|
186
321
|
end
|
187
322
|
end
|
data/lib/rdf/vocab/jsonld.rb
CHANGED
@@ -5,40 +5,172 @@ require 'rdf'
|
|
5
5
|
module RDF::Vocab
|
6
6
|
# @!parse
|
7
7
|
# # Vocabulary for <http://www.w3.org/ns/json-ld#>
|
8
|
+
# #
|
9
|
+
# # The JSON-LD Vocabulary
|
10
|
+
# #
|
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/dfd1827c95a66bc36c01368e10b6e4f4bbb5c8b3
|
13
|
+
# # @see http://www.w3.org/TR/json-ld11
|
8
14
|
# class JSONLD < RDF::StrictVocabulary
|
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`.
|
16
|
+
# # @return [RDF::Vocabulary::Term]
|
17
|
+
# attr_reader :Context
|
18
|
+
#
|
19
|
+
# # A string ([simple term definition](http://www.w3.org/TR/json-ld11/#dfn-simple-term-definitions)), expanding to an IRI.
|
20
|
+
# # @return [RDF::Vocabulary::Term]
|
21
|
+
# attr_reader :PrefixDefinition
|
22
|
+
#
|
23
|
+
# # 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). 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.
|
24
|
+
# # @return [RDF::Vocabulary::Term]
|
25
|
+
# attr_reader :TermDefinition
|
26
|
+
#
|
27
|
+
# # 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`.
|
28
|
+
# # @return [RDF::Vocabulary::Term]
|
29
|
+
# attr_reader :base
|
30
|
+
#
|
31
|
+
# # The associated `@container` value in an [expanded term definition](https://www.w3.org/TR/json-ld11/#dfn-expanded-term-definitions). 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. `@container` may also be an array containing `@graph` along with either `@id` or `@index` and also optionally including `@set`. If the value is `@language`, when the term is used outside of the `@context`, the associated value MUST be a language map. If the value is `@index`, when the term is used outside of the `@context`, the associated value MUST be an index map.
|
32
|
+
# # @return [RDF::Vocabulary::Term]
|
33
|
+
# attr_reader :container
|
34
|
+
#
|
35
|
+
# # 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`.
|
36
|
+
# # @return [RDF::Vocabulary::Term]
|
37
|
+
# attr_reader :context
|
38
|
+
#
|
39
|
+
# # Term definition(s) associated with this context.
|
40
|
+
# # @return [RDF::Vocabulary::Term]
|
41
|
+
# attr_reader :definition
|
42
|
+
#
|
43
|
+
# # 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`.
|
44
|
+
# # @return [RDF::Vocabulary::Term]
|
45
|
+
# attr_reader :direction
|
46
|
+
#
|
47
|
+
# # The `@id` mapping of a [term definition](#TermDefinition).
|
48
|
+
# # @return [RDF::Vocabulary::Term]
|
49
|
+
# attr_reader :id
|
50
|
+
#
|
51
|
+
# # 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.
|
52
|
+
# # @return [RDF::Vocabulary::Term]
|
53
|
+
# attr_reader :import
|
54
|
+
#
|
55
|
+
# # 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.
|
56
|
+
# # @return [RDF::Vocabulary::Term]
|
57
|
+
# attr_reader :language
|
58
|
+
#
|
59
|
+
# # 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`.
|
60
|
+
# # @return [RDF::Vocabulary::Term]
|
61
|
+
# attr_reader :nest
|
62
|
+
#
|
63
|
+
# # With the value `true`, allows this term to be used to construct a compact IRI when compacting.
|
64
|
+
# # @return [RDF::Vocabulary::Term]
|
65
|
+
# attr_reader :prefix
|
66
|
+
#
|
67
|
+
# # 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`.
|
68
|
+
# # @return [RDF::Vocabulary::Term]
|
69
|
+
# attr_reader :propagate
|
70
|
+
#
|
71
|
+
# # 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`.
|
72
|
+
# # @return [RDF::Vocabulary::Term]
|
73
|
+
# attr_reader :protected
|
74
|
+
#
|
75
|
+
# # The `@reverse` mapping of an [expanded term definition](https://www.w3.org/TR/json-ld11/#dfn-expanded-term-definitions).
|
76
|
+
# # @return [RDF::Vocabulary::Term]
|
77
|
+
# attr_reader :reverse
|
78
|
+
#
|
79
|
+
# # The term associated with a [term definition](#TermDefinition).
|
80
|
+
# # @return [RDF::Vocabulary::Term]
|
81
|
+
# attr_reader :term
|
82
|
+
#
|
83
|
+
# # 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`. 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`.
|
84
|
+
# # @return [RDF::Vocabulary::Term]
|
85
|
+
# attr_reader :type
|
86
|
+
#
|
87
|
+
# # 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.
|
88
|
+
# # @return [RDF::Vocabulary::Term]
|
89
|
+
# attr_reader :version
|
90
|
+
#
|
91
|
+
# # Used to expand properties and values in `@type` with a common prefix IRI.
|
92
|
+
# # @return [RDF::Vocabulary::Term]
|
93
|
+
# attr_reader :vocab
|
94
|
+
#
|
95
|
+
# # This profile IRI is used to request or specify compacted JSON-LD document form.
|
96
|
+
# # @return [RDF::Vocabulary::Term]
|
97
|
+
# attr_reader :compacted
|
98
|
+
#
|
99
|
+
# # This profile URI is used to request or specify expanded JSON-LD document form.
|
100
|
+
# # @return [RDF::Vocabulary::Term]
|
101
|
+
# attr_reader :expanded
|
102
|
+
#
|
103
|
+
# # This profile URI is used to request or specify flattened JSON-LD document form.
|
104
|
+
# # @return [RDF::Vocabulary::Term]
|
105
|
+
# attr_reader :flattened
|
106
|
+
#
|
107
|
+
# # 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.
|
108
|
+
# # @return [RDF::Vocabulary::Term]
|
109
|
+
# attr_reader :frame
|
110
|
+
#
|
111
|
+
# # This profile URI is used to request or specify framed JSON-LD document form.
|
112
|
+
# # @return [RDF::Vocabulary::Term]
|
113
|
+
# attr_reader :framed
|
114
|
+
#
|
115
|
+
# # 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.
|
116
|
+
# # @return [RDF::Vocabulary::Term]
|
117
|
+
# attr_reader :graphContainerType
|
118
|
+
#
|
119
|
+
# # 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.
|
120
|
+
# # @return [RDF::Vocabulary::Term]
|
121
|
+
# attr_reader :idContainerType
|
122
|
+
#
|
123
|
+
# # 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.
|
124
|
+
# # @return [RDF::Vocabulary::Term]
|
125
|
+
# attr_reader :indexContainerType
|
126
|
+
#
|
127
|
+
# # 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.
|
128
|
+
# # @return [RDF::Vocabulary::Term]
|
129
|
+
# attr_reader :languageContainerType
|
130
|
+
#
|
131
|
+
# # 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.
|
132
|
+
# # @return [RDF::Vocabulary::Term]
|
133
|
+
# attr_reader :listContainerType
|
134
|
+
#
|
135
|
+
# # 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.
|
136
|
+
# # @return [RDF::Vocabulary::Term]
|
137
|
+
# attr_reader :setContainerType
|
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
|
+
#
|
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.
|
144
|
+
# # @return [RDF::Vocabulary::Term]
|
145
|
+
# attr_reader :typeContainerType
|
146
|
+
#
|
9
147
|
# end
|
10
|
-
|
148
|
+
JSONLD = Class.new(RDF::StrictVocabulary("http://www.w3.org/ns/json-ld#")) do
|
11
149
|
|
12
150
|
# Ontology definition
|
13
151
|
ontology :"http://www.w3.org/ns/json-ld#",
|
14
|
-
"dc:date": "2020-
|
152
|
+
"dc:date": "2020-03-30".freeze,
|
15
153
|
"dc:description": "This is a vocabulary document and is used to achieve certain features of the JSON-LD language.".freeze,
|
16
154
|
"dc:title": "The JSON-LD Vocabulary".freeze,
|
17
|
-
"owl:versionInfo": "https://github.com/w3c/json-ld-wg/commit/
|
155
|
+
"owl:versionInfo": "https://github.com/w3c/json-ld-wg/commit/dfd1827c95a66bc36c01368e10b6e4f4bbb5c8b3".freeze,
|
18
156
|
"rdfs:seeAlso": "http://www.w3.org/TR/json-ld11".freeze,
|
19
157
|
type: "owl:Ontology".freeze
|
20
158
|
|
21
159
|
# Class definitions
|
22
160
|
term :Context,
|
23
|
-
comment:
|
24
|
-
|
25
|
-
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,
|
26
162
|
isDefinedBy: "jsonld:".freeze,
|
27
163
|
label: "Context".freeze,
|
28
164
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#context-definitions".freeze,
|
29
165
|
type: "rdfs:Class".freeze
|
30
166
|
term :PrefixDefinition,
|
31
|
-
comment:
|
167
|
+
comment: "A string ([simple term definition](http://www.w3.org/TR/json-ld11/#dfn-simple-term-definitions)), expanding to an IRI.".freeze,
|
32
168
|
isDefinedBy: "jsonld:".freeze,
|
33
169
|
label: "Prefix Definition".freeze,
|
34
170
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#dfn-term-definition".freeze,
|
35
171
|
type: "rdfs:Class".freeze
|
36
172
|
term :TermDefinition,
|
37
|
-
comment:
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
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,
|
42
174
|
isDefinedBy: "jsonld:".freeze,
|
43
175
|
label: "Term Definition".freeze,
|
44
176
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#dfn-term-definition".freeze,
|
@@ -46,7 +178,7 @@ An [expanded term definition]\(https://www.w3.org/TR/json-ld11/#dfn-expanded-ter
|
|
46
178
|
|
47
179
|
# Property definitions
|
48
180
|
property :base,
|
49
|
-
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,
|
50
182
|
domainIncludes: "jsonld:Context".freeze,
|
51
183
|
isDefinedBy: "jsonld:".freeze,
|
52
184
|
label: "base".freeze,
|
@@ -54,15 +186,7 @@ An [expanded term definition]\(https://www.w3.org/TR/json-ld11/#dfn-expanded-ter
|
|
54
186
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#context-definitions".freeze,
|
55
187
|
type: "rdf:Property".freeze
|
56
188
|
property :container,
|
57
|
-
comment:
|
58
|
-
|
59
|
-
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.
|
60
|
-
|
61
|
-
`@container` may also be an array containing `@graph` along with either `@id` or `@index` and also optionally including `@set`.
|
62
|
-
|
63
|
-
If the value is `@language`, when the term is used outside of the `@context`, the associated value MUST be a language map.
|
64
|
-
|
65
|
-
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,
|
66
190
|
domainIncludes: "jsonld:TermDefinition".freeze,
|
67
191
|
isDefinedBy: "jsonld:".freeze,
|
68
192
|
label: "container".freeze,
|
@@ -70,21 +194,21 @@ If the value is `@index`, when the term is used outside of the `@context`, the a
|
|
70
194
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#expanded-term-definition".freeze,
|
71
195
|
type: "rdf:Property".freeze
|
72
196
|
property :context,
|
73
|
-
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,
|
74
198
|
isDefinedBy: "jsonld:".freeze,
|
75
199
|
label: "context".freeze,
|
76
200
|
rangeIncludes: ["jsonld:Context".freeze, "xsd:anyUri".freeze],
|
77
201
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#interpreting-json-as-json-ld".freeze,
|
78
202
|
type: "rdf:Property".freeze
|
79
203
|
property :definition,
|
80
|
-
comment:
|
204
|
+
comment: "Term definition(s) associated with this context.".freeze,
|
81
205
|
domainIncludes: "jsonld:Context".freeze,
|
82
206
|
isDefinedBy: "jsonld:".freeze,
|
83
207
|
label: "definition".freeze,
|
84
208
|
rangeIncludes: ["jsonld:PrefixDefinition".freeze, "jsonld:TermDefinition".freeze],
|
85
209
|
type: "rdf:Property".freeze
|
86
210
|
property :direction,
|
87
|
-
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,
|
88
212
|
domainIncludes: ["jsonld:Context".freeze, "jsonld:TermDefinition".freeze],
|
89
213
|
isDefinedBy: "jsonld:".freeze,
|
90
214
|
label: "direction".freeze,
|
@@ -92,7 +216,7 @@ If the value is `@index`, when the term is used outside of the `@context`, the a
|
|
92
216
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#context-definitions".freeze,
|
93
217
|
type: "rdf:Property".freeze
|
94
218
|
property :id,
|
95
|
-
comment:
|
219
|
+
comment: "The `@id` mapping of a [term definition](#TermDefinition).".freeze,
|
96
220
|
domainIncludes: ["jsonld:PrefixDefinition".freeze, "jsonld:TermDefinition".freeze],
|
97
221
|
isDefinedBy: "jsonld:".freeze,
|
98
222
|
label: "id".freeze,
|
@@ -100,7 +224,7 @@ If the value is `@index`, when the term is used outside of the `@context`, the a
|
|
100
224
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#expanded-term-definition".freeze,
|
101
225
|
type: "rdf:Property".freeze
|
102
226
|
property :import,
|
103
|
-
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,
|
104
228
|
domainIncludes: "jsonld:Context".freeze,
|
105
229
|
isDefinedBy: "jsonld:".freeze,
|
106
230
|
label: "import".freeze,
|
@@ -108,7 +232,7 @@ If the value is `@index`, when the term is used outside of the `@context`, the a
|
|
108
232
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#context-definitions".freeze,
|
109
233
|
type: "rdf:Property".freeze
|
110
234
|
property :language,
|
111
|
-
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,
|
112
236
|
domainIncludes: ["jsonld:Context".freeze, "jsonld:TermDefinition".freeze],
|
113
237
|
isDefinedBy: "jsonld:".freeze,
|
114
238
|
label: "language".freeze,
|
@@ -116,7 +240,7 @@ If the value is `@index`, when the term is used outside of the `@context`, the a
|
|
116
240
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#dfn-default-language".freeze,
|
117
241
|
type: "rdf:Property".freeze
|
118
242
|
property :nest,
|
119
|
-
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,
|
120
244
|
domainIncludes: "jsonld:TermDefinition".freeze,
|
121
245
|
isDefinedBy: "jsonld:".freeze,
|
122
246
|
label: "nest".freeze,
|
@@ -124,7 +248,7 @@ If the value is `@index`, when the term is used outside of the `@context`, the a
|
|
124
248
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#expanded-term-definition".freeze,
|
125
249
|
type: "rdf:Property".freeze
|
126
250
|
property :prefix,
|
127
|
-
comment:
|
251
|
+
comment: "With the value `true`, allows this term to be used to construct a compact IRI when compacting.".freeze,
|
128
252
|
domainIncludes: "jsonld:TermDefinition".freeze,
|
129
253
|
isDefinedBy: "jsonld:".freeze,
|
130
254
|
label: "prefix".freeze,
|
@@ -132,7 +256,7 @@ If the value is `@index`, when the term is used outside of the `@context`, the a
|
|
132
256
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#expanded-term-definition".freeze,
|
133
257
|
type: "rdf:Property".freeze
|
134
258
|
property :propagate,
|
135
|
-
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,
|
136
260
|
domainIncludes: ["jsonld:Context".freeze, "jsonld:TermDefinition".freeze],
|
137
261
|
isDefinedBy: "jsonld:".freeze,
|
138
262
|
label: "propagate".freeze,
|
@@ -140,7 +264,7 @@ If the value is `@index`, when the term is used outside of the `@context`, the a
|
|
140
264
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#context-definitions".freeze,
|
141
265
|
type: "rdf:Property".freeze
|
142
266
|
property :protected,
|
143
|
-
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,
|
144
268
|
domainIncludes: ["jsonld:Context".freeze, "jsonld:TermDefinition".freeze],
|
145
269
|
isDefinedBy: "jsonld:".freeze,
|
146
270
|
label: "protected".freeze,
|
@@ -148,7 +272,7 @@ If the value is `@index`, when the term is used outside of the `@context`, the a
|
|
148
272
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#context-definitions".freeze,
|
149
273
|
type: "rdf:Property".freeze
|
150
274
|
property :reverse,
|
151
|
-
comment:
|
275
|
+
comment: "The `@reverse` mapping of an [expanded term definition](https://www.w3.org/TR/json-ld11/#dfn-expanded-term-definitions).".freeze,
|
152
276
|
domainIncludes: "jsonld:TermDefinition".freeze,
|
153
277
|
isDefinedBy: "jsonld:".freeze,
|
154
278
|
label: "reverse".freeze,
|
@@ -156,7 +280,7 @@ If the value is `@index`, when the term is used outside of the `@context`, the a
|
|
156
280
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#expanded-term-definition".freeze,
|
157
281
|
type: "rdf:Property".freeze
|
158
282
|
property :term,
|
159
|
-
comment:
|
283
|
+
comment: "The term associated with a [term definition](#TermDefinition).".freeze,
|
160
284
|
domainIncludes: ["jsonld:PrefixDefinition".freeze, "jsonld:TermDefinition".freeze],
|
161
285
|
isDefinedBy: "jsonld:".freeze,
|
162
286
|
label: "term".freeze,
|
@@ -164,11 +288,7 @@ If the value is `@index`, when the term is used outside of the `@context`, the a
|
|
164
288
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#dfn-term".freeze,
|
165
289
|
type: "rdf:Property".freeze
|
166
290
|
property :type,
|
167
|
-
comment:
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
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,
|
172
292
|
domainIncludes: ["jsonld:Context".freeze, "jsonld:TermDefinition".freeze],
|
173
293
|
isDefinedBy: "jsonld:".freeze,
|
174
294
|
label: "type".freeze,
|
@@ -176,7 +296,7 @@ If the [expanded term definition]\(https://www.w3.org/TR/json-ld11/#dfn-expanded
|
|
176
296
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#context-definitions".freeze,
|
177
297
|
type: "rdf:Property".freeze
|
178
298
|
property :version,
|
179
|
-
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,
|
180
300
|
domainIncludes: "jsonld:Context".freeze,
|
181
301
|
isDefinedBy: "jsonld:".freeze,
|
182
302
|
label: "version".freeze,
|
@@ -184,7 +304,7 @@ If the [expanded term definition]\(https://www.w3.org/TR/json-ld11/#dfn-expanded
|
|
184
304
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#dfn-processing-mode".freeze,
|
185
305
|
type: "rdf:Property".freeze
|
186
306
|
property :vocab,
|
187
|
-
comment:
|
307
|
+
comment: "Used to expand properties and values in `@type` with a common prefix IRI.".freeze,
|
188
308
|
domainIncludes: "jsonld:Context".freeze,
|
189
309
|
isDefinedBy: "jsonld:".freeze,
|
190
310
|
label: "vocab".freeze,
|
@@ -194,73 +314,79 @@ If the [expanded term definition]\(https://www.w3.org/TR/json-ld11/#dfn-expanded
|
|
194
314
|
|
195
315
|
# Extra definitions
|
196
316
|
term :compacted,
|
197
|
-
comment:
|
317
|
+
comment: "This profile IRI is used to request or specify compacted JSON-LD document form.".freeze,
|
198
318
|
isDefinedBy: "jsonld:".freeze,
|
199
319
|
label: "compacted".freeze,
|
200
320
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#iana-considerations".freeze,
|
201
321
|
type: "owl:NamedIndividual".freeze
|
202
322
|
term :expanded,
|
203
|
-
comment:
|
323
|
+
comment: "This profile URI is used to request or specify expanded JSON-LD document form.".freeze,
|
204
324
|
isDefinedBy: "jsonld:".freeze,
|
205
325
|
label: "expanded".freeze,
|
206
326
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#iana-considerations".freeze,
|
207
327
|
type: "owl:NamedIndividual".freeze
|
208
328
|
term :flattened,
|
209
|
-
comment:
|
329
|
+
comment: "This profile URI is used to request or specify flattened JSON-LD document form.".freeze,
|
210
330
|
isDefinedBy: "jsonld:".freeze,
|
211
331
|
label: "flattened".freeze,
|
212
332
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#iana-considerations".freeze,
|
213
333
|
type: "owl:NamedIndividual".freeze
|
214
334
|
term :frame,
|
215
|
-
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,
|
216
336
|
isDefinedBy: "jsonld:".freeze,
|
217
337
|
label: "frame".freeze,
|
218
338
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#iana-considerations".freeze,
|
219
339
|
type: "owl:NamedIndividual".freeze
|
220
340
|
term :framed,
|
221
|
-
comment:
|
341
|
+
comment: "This profile URI is used to request or specify framed JSON-LD document form.".freeze,
|
222
342
|
isDefinedBy: "jsonld:".freeze,
|
223
343
|
label: "framed".freeze,
|
224
344
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#iana-considerations".freeze,
|
225
345
|
type: "owl:NamedIndividual".freeze
|
226
346
|
term :graphContainerType,
|
227
|
-
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,
|
228
348
|
isDefinedBy: "jsonld:".freeze,
|
229
349
|
label: "@graph".freeze,
|
230
350
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#context-definitions".freeze,
|
231
351
|
type: "http://www.w3.org/ns/ContainerType".freeze
|
232
352
|
term :idContainerType,
|
233
|
-
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,
|
234
354
|
isDefinedBy: "jsonld:".freeze,
|
235
355
|
label: "@id".freeze,
|
236
356
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#context-definitions".freeze,
|
237
357
|
type: "http://www.w3.org/ns/ContainerType".freeze
|
238
358
|
term :indexContainerType,
|
239
|
-
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,
|
240
360
|
isDefinedBy: "jsonld:".freeze,
|
241
361
|
label: "@index".freeze,
|
242
362
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#context-definitions".freeze,
|
243
363
|
type: "http://www.w3.org/ns/ContainerType".freeze
|
244
364
|
term :languageContainerType,
|
245
|
-
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,
|
246
366
|
isDefinedBy: "jsonld:".freeze,
|
247
367
|
label: "@language".freeze,
|
248
368
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#context-definitions".freeze,
|
249
369
|
type: "http://www.w3.org/ns/ContainerType".freeze
|
250
370
|
term :listContainerType,
|
251
|
-
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,
|
252
372
|
isDefinedBy: "jsonld:".freeze,
|
253
373
|
label: "@list".freeze,
|
254
374
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#context-definitions".freeze,
|
255
375
|
type: "http://www.w3.org/ns/ContainerType".freeze
|
256
376
|
term :setContainerType,
|
257
|
-
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,
|
258
378
|
isDefinedBy: "jsonld:".freeze,
|
259
379
|
label: "@set".freeze,
|
260
380
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#context-definitions".freeze,
|
261
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
|
262
388
|
term :typeContainerType,
|
263
|
-
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,
|
264
390
|
isDefinedBy: "jsonld:".freeze,
|
265
391
|
label: "@type".freeze,
|
266
392
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#context-definitions".freeze,
|