rdf-vocab 0.8.4 → 0.8.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -0
- data/lib/rdf/vocab.rb +7 -4
- data/lib/rdf/vocab/bibo.rb +1004 -0
- data/lib/rdf/vocab/cnt.rb +17 -17
- data/lib/rdf/vocab/dcmitype.rb +14 -14
- data/lib/rdf/vocab/ebucore.rb +446 -446
- data/lib/rdf/vocab/extensions.rb +6 -1
- data/lib/rdf/vocab/fcrepo4.rb +7 -31
- data/lib/rdf/vocab/geonames.rb +1430 -1430
- data/lib/rdf/vocab/hydra.rb +82 -82
- data/lib/rdf/vocab/iiif.rb +39 -39
- data/lib/rdf/vocab/lrmi.rb +24 -24
- data/lib/rdf/vocab/nfo.rb +125 -124
- data/lib/rdf/vocab/ore.rb +1 -1
- data/lib/rdf/vocab/org.rb +349 -0
- data/lib/rdf/vocab/pplan.rb +146 -0
- data/lib/rdf/vocab/sioc_services.rb +17 -17
- metadata +5 -2
data/lib/rdf/vocab/hydra.rb
CHANGED
@@ -9,113 +9,113 @@ module RDF::Vocab
|
|
9
9
|
comment: %(The Hydra API documentation class).freeze,
|
10
10
|
label: "ApiDocumentation".freeze,
|
11
11
|
"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
12
|
-
subClassOf: "
|
13
|
-
type: "
|
12
|
+
subClassOf: "hydra:Resource".freeze,
|
13
|
+
type: "hydra:Class".freeze,
|
14
14
|
"vs:term_status" => %(testing).freeze
|
15
15
|
term :Class,
|
16
16
|
comment: %(The class of Hydra classes. Hydra classes and their instances are dereferenceable resources.).freeze,
|
17
17
|
label: "Hydra Class".freeze,
|
18
18
|
"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
19
|
-
subClassOf: ["
|
20
|
-
type: ["
|
19
|
+
subClassOf: ["hydra:Resource".freeze, "rdfs:Class".freeze],
|
20
|
+
type: ["hydra:Resource".freeze, "rdfs:Class".freeze],
|
21
21
|
"vs:term_status" => %(testing).freeze
|
22
22
|
term :Collection,
|
23
23
|
comment: %(A collection holding references to a number of related resources.).freeze,
|
24
24
|
label: "Collection".freeze,
|
25
25
|
"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
26
|
-
subClassOf: "
|
27
|
-
type: "
|
26
|
+
subClassOf: "hydra:Resource".freeze,
|
27
|
+
type: "hydra:Class".freeze,
|
28
28
|
"vs:term_status" => %(testing).freeze
|
29
29
|
term :CreateResourceOperation,
|
30
30
|
comment: %(A CreateResourceOperation is a HTTP operation which expects an input of the type specified by hydra:expects and creates a resource of the type specified by hydra:returns.).freeze,
|
31
31
|
label: "CreateResourceOperation".freeze,
|
32
32
|
"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
33
|
-
subClassOf: "
|
34
|
-
type: "
|
33
|
+
subClassOf: "hydra:Operation".freeze,
|
34
|
+
type: "hydra:Class".freeze,
|
35
35
|
"vs:term_status" => %(testing).freeze
|
36
36
|
term :DeleteResourceOperation,
|
37
37
|
comment: %(A DeleteResourceOperation is a HTTP operation that deletes a resource.).freeze,
|
38
38
|
label: "DeleteResourceOperation".freeze,
|
39
39
|
"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
40
|
-
subClassOf: "
|
41
|
-
type: "
|
40
|
+
subClassOf: "hydra:Operation".freeze,
|
41
|
+
type: "hydra:Class".freeze,
|
42
42
|
"vs:term_status" => %(testing).freeze
|
43
43
|
term :Error,
|
44
44
|
comment: %(A runtime error, used to report information beyond the returned status code.).freeze,
|
45
45
|
label: "Error".freeze,
|
46
46
|
"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
47
|
-
subClassOf: "
|
48
|
-
type: "
|
47
|
+
subClassOf: "hydra:StatusCodeDescription".freeze,
|
48
|
+
type: "hydra:Class".freeze,
|
49
49
|
"vs:term_status" => %(testing).freeze
|
50
50
|
term :IriTemplate,
|
51
51
|
comment: %(The class of IRI templates.).freeze,
|
52
52
|
label: "IRI Template".freeze,
|
53
53
|
"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
54
|
-
subClassOf: "
|
55
|
-
type: "
|
54
|
+
subClassOf: "hydra:Resource".freeze,
|
55
|
+
type: "hydra:Class".freeze,
|
56
56
|
"vs:term_status" => %(testing).freeze
|
57
57
|
term :IriTemplateMapping,
|
58
58
|
comment: %(A mapping from an IRI template variable to a property.).freeze,
|
59
59
|
label: "IriTemplateMapping".freeze,
|
60
60
|
"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
61
|
-
subClassOf: "
|
62
|
-
type: "
|
61
|
+
subClassOf: "hydra:Resource".freeze,
|
62
|
+
type: "hydra:Class".freeze,
|
63
63
|
"vs:term_status" => %(testing).freeze
|
64
64
|
term :Link,
|
65
65
|
comment: %(The class of properties representing links.).freeze,
|
66
66
|
label: "Link".freeze,
|
67
67
|
"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
68
|
-
subClassOf: ["
|
69
|
-
type: "
|
68
|
+
subClassOf: ["hydra:Resource".freeze, "rdf:Property".freeze],
|
69
|
+
type: "hydra:Class".freeze,
|
70
70
|
"vs:term_status" => %(testing).freeze
|
71
71
|
term :Operation,
|
72
72
|
comment: %(An operation.).freeze,
|
73
73
|
label: "Operation".freeze,
|
74
74
|
"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
75
|
-
subClassOf: "
|
76
|
-
type: "
|
75
|
+
subClassOf: "hydra:Resource".freeze,
|
76
|
+
type: "hydra:Class".freeze,
|
77
77
|
"vs:term_status" => %(testing).freeze
|
78
78
|
term :PagedCollection,
|
79
79
|
comment: %(A PagedCollection is a subclass of Collection with the only difference that its members are sorted and only a subset of all members are returned in a single PagedCollection. To get the other members, the nextPage/previousPage properties have to be used.).freeze,
|
80
80
|
label: "PagedCollection".freeze,
|
81
81
|
"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
82
|
-
subClassOf: "
|
83
|
-
type: "
|
82
|
+
subClassOf: "hydra:Collection".freeze,
|
83
|
+
type: "hydra:Class".freeze,
|
84
84
|
"vs:term_status" => %(testing).freeze
|
85
85
|
term :ReplaceResourceOperation,
|
86
86
|
comment: %(A ReplaceResourceOperation is a HTTP operation which overwrites a resource. It expects data of the type specified in hydra:expects and results in a resource of the type specified by hydra:returns.).freeze,
|
87
87
|
label: "ReplaceResourceOperation".freeze,
|
88
88
|
"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
89
|
-
subClassOf: "
|
90
|
-
type: "
|
89
|
+
subClassOf: "hydra:Operation".freeze,
|
90
|
+
type: "hydra:Class".freeze,
|
91
91
|
"vs:term_status" => %(testing).freeze
|
92
92
|
term :Resource,
|
93
93
|
comment: %(The class of dereferenceable resources.).freeze,
|
94
94
|
label: "Hydra Resource".freeze,
|
95
95
|
"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
96
96
|
subClassOf: "rdfs:Resource".freeze,
|
97
|
-
type: "
|
97
|
+
type: "hydra:Class".freeze,
|
98
98
|
"vs:term_status" => %(testing).freeze
|
99
99
|
term :StatusCodeDescription,
|
100
100
|
comment: %(Additional information about a status code that might be returned.).freeze,
|
101
101
|
label: "Status code description".freeze,
|
102
102
|
"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
103
|
-
subClassOf: "
|
104
|
-
type: "
|
103
|
+
subClassOf: "hydra:Resource".freeze,
|
104
|
+
type: "hydra:Class".freeze,
|
105
105
|
"vs:term_status" => %(testing).freeze
|
106
106
|
term :SupportedProperty,
|
107
107
|
comment: %(A property known to be supported by a Hydra class.).freeze,
|
108
108
|
label: "Supported Property".freeze,
|
109
109
|
"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
110
|
-
subClassOf: "
|
111
|
-
type: "
|
110
|
+
subClassOf: "hydra:Resource".freeze,
|
111
|
+
type: "hydra:Class".freeze,
|
112
112
|
"vs:term_status" => %(testing).freeze
|
113
113
|
term :TemplatedLink,
|
114
114
|
comment: %(A templated link.).freeze,
|
115
115
|
label: "Templated Link".freeze,
|
116
116
|
"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
117
|
-
subClassOf: ["
|
118
|
-
type: "
|
117
|
+
subClassOf: ["hydra:Resource".freeze, "rdf:Property".freeze],
|
118
|
+
type: "hydra:Class".freeze,
|
119
119
|
"vs:term_status" => %(testing).freeze
|
120
120
|
|
121
121
|
# Property definitions
|
@@ -136,7 +136,7 @@ module RDF::Vocab
|
|
136
136
|
"vs:term_status" => %(testing).freeze
|
137
137
|
property :itemsPerPage,
|
138
138
|
comment: %(The maximum number of items referenced by each single PagedCollection in a set of interlinked PagedCollections.).freeze,
|
139
|
-
domain: "
|
139
|
+
domain: "hydra:PagedCollection".freeze,
|
140
140
|
label: "items per page".freeze,
|
141
141
|
range: "xsd:integer".freeze,
|
142
142
|
"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
@@ -144,15 +144,15 @@ module RDF::Vocab
|
|
144
144
|
"vs:term_status" => %(testing).freeze
|
145
145
|
property :mapping,
|
146
146
|
comment: %(A variable-to-property mapping of the IRI template.).freeze,
|
147
|
-
domain: "
|
147
|
+
domain: "hydra:IriTemplate".freeze,
|
148
148
|
label: "mapping".freeze,
|
149
|
-
range: "
|
149
|
+
range: "hydra:IriTemplateMapping".freeze,
|
150
150
|
"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
151
151
|
type: "rdf:Property".freeze,
|
152
152
|
"vs:term_status" => %(testing).freeze
|
153
153
|
property :method,
|
154
154
|
comment: %(The HTTP method.).freeze,
|
155
|
-
domain: "
|
155
|
+
domain: "hydra:Operation".freeze,
|
156
156
|
label: "method".freeze,
|
157
157
|
range: "xsd:string".freeze,
|
158
158
|
"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
@@ -167,7 +167,7 @@ module RDF::Vocab
|
|
167
167
|
"vs:term_status" => %(testing).freeze
|
168
168
|
property :readonly,
|
169
169
|
comment: %(True if the property is read-only, false otherwise.).freeze,
|
170
|
-
domain: "
|
170
|
+
domain: "hydra:SupportedProperty".freeze,
|
171
171
|
label: "ready-only".freeze,
|
172
172
|
range: "xsd:boolean".freeze,
|
173
173
|
"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
@@ -182,7 +182,7 @@ module RDF::Vocab
|
|
182
182
|
"vs:term_status" => %(testing).freeze
|
183
183
|
property :statusCode,
|
184
184
|
comment: %(The HTTP status code).freeze,
|
185
|
-
domain: "
|
185
|
+
domain: "hydra:StatusCodeDescription".freeze,
|
186
186
|
label: "status code".freeze,
|
187
187
|
range: "xsd:integer".freeze,
|
188
188
|
"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
@@ -190,7 +190,7 @@ module RDF::Vocab
|
|
190
190
|
"vs:term_status" => %(testing).freeze
|
191
191
|
property :template,
|
192
192
|
comment: %(An IRI template as defined by RFC6570.).freeze,
|
193
|
-
domain: "
|
193
|
+
domain: "hydra:IriTemplate".freeze,
|
194
194
|
label: "template".freeze,
|
195
195
|
range: "xsd:string".freeze,
|
196
196
|
"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
@@ -207,7 +207,7 @@ module RDF::Vocab
|
|
207
207
|
"vs:term_status" => %(testing).freeze
|
208
208
|
property :totalItems,
|
209
209
|
comment: %(The total number of items referenced by a collection or a set of interlinked PagedCollections.).freeze,
|
210
|
-
domain: "
|
210
|
+
domain: "hydra:Collection".freeze,
|
211
211
|
label: "total items".freeze,
|
212
212
|
range: "xsd:integer".freeze,
|
213
213
|
"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
@@ -215,7 +215,7 @@ module RDF::Vocab
|
|
215
215
|
"vs:term_status" => %(testing).freeze
|
216
216
|
property :variable,
|
217
217
|
comment: %(An IRI template variable).freeze,
|
218
|
-
domain: "
|
218
|
+
domain: "hydra:IriTemplateMapping".freeze,
|
219
219
|
label: "variable".freeze,
|
220
220
|
range: "xsd:string".freeze,
|
221
221
|
"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
@@ -223,7 +223,7 @@ module RDF::Vocab
|
|
223
223
|
"vs:term_status" => %(testing).freeze
|
224
224
|
property :writeonly,
|
225
225
|
comment: %(True if the property is write-only, false otherwise.).freeze,
|
226
|
-
domain: "
|
226
|
+
domain: "hydra:SupportedProperty".freeze,
|
227
227
|
label: "write-only".freeze,
|
228
228
|
range: "xsd:boolean".freeze,
|
229
229
|
"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
@@ -234,118 +234,118 @@ module RDF::Vocab
|
|
234
234
|
term :apiDocumentation,
|
235
235
|
comment: %(A link to the API documentation).freeze,
|
236
236
|
label: "apiDocumentation".freeze,
|
237
|
-
range: "
|
237
|
+
range: "hydra:ApiDocumentation".freeze,
|
238
238
|
"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
239
|
-
type: "
|
239
|
+
type: "hydra:Link".freeze,
|
240
240
|
"vs:term_status" => %(testing).freeze
|
241
241
|
term :entrypoint,
|
242
242
|
comment: %(A link to main entry point of the Web API).freeze,
|
243
|
-
domain: "
|
243
|
+
domain: "hydra:ApiDocumentation".freeze,
|
244
244
|
label: "entrypoint".freeze,
|
245
|
-
range: "
|
245
|
+
range: "hydra:Resource".freeze,
|
246
246
|
"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
247
|
-
type: "
|
247
|
+
type: "hydra:Link".freeze,
|
248
248
|
"vs:term_status" => %(testing).freeze
|
249
249
|
term :expects,
|
250
250
|
comment: %(The information expected by the Web API.).freeze,
|
251
|
-
domain: "
|
251
|
+
domain: "hydra:Operation".freeze,
|
252
252
|
label: "expects".freeze,
|
253
|
-
range: "
|
253
|
+
range: "hydra:Class".freeze,
|
254
254
|
"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
255
|
-
type: "
|
255
|
+
type: "hydra:Link".freeze,
|
256
256
|
"vs:term_status" => %(testing).freeze
|
257
257
|
term :firstPage,
|
258
258
|
comment: %(The first page of an interlinked set of PagedCollections).freeze,
|
259
|
-
domain: "
|
259
|
+
domain: "hydra:PagedCollection".freeze,
|
260
260
|
label: "first page".freeze,
|
261
|
-
range: "
|
261
|
+
range: "hydra:PagedCollection".freeze,
|
262
262
|
"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
263
|
-
type: "
|
263
|
+
type: "hydra:Link".freeze,
|
264
264
|
"vs:term_status" => %(testing).freeze
|
265
265
|
term :lastPage,
|
266
266
|
comment: %(The last page of an interlinked set of PagedCollections).freeze,
|
267
|
-
domain: "
|
267
|
+
domain: "hydra:PagedCollection".freeze,
|
268
268
|
label: "last page".freeze,
|
269
|
-
range: "
|
269
|
+
range: "hydra:PagedCollection".freeze,
|
270
270
|
"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
271
|
-
type: "
|
271
|
+
type: "hydra:Link".freeze,
|
272
272
|
"vs:term_status" => %(testing).freeze
|
273
273
|
term :member,
|
274
274
|
comment: %(A member of the collection).freeze,
|
275
|
-
domain: "
|
275
|
+
domain: "hydra:Collection".freeze,
|
276
276
|
label: "member".freeze,
|
277
|
-
range: "
|
277
|
+
range: "hydra:Resource".freeze,
|
278
278
|
"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
279
|
-
type: "
|
279
|
+
type: "hydra:Link".freeze,
|
280
280
|
"vs:term_status" => %(testing).freeze
|
281
281
|
term :nextPage,
|
282
282
|
comment: %(The page following the current instance in an interlinked set of PagedCollections).freeze,
|
283
|
-
domain: "
|
283
|
+
domain: "hydra:PagedCollection".freeze,
|
284
284
|
label: "next page".freeze,
|
285
|
-
range: "
|
285
|
+
range: "hydra:PagedCollection".freeze,
|
286
286
|
"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
287
|
-
type: "
|
287
|
+
type: "hydra:Link".freeze,
|
288
288
|
"vs:term_status" => %(testing).freeze
|
289
289
|
term :operation,
|
290
290
|
comment: %(An operation supported by the Hydra resource).freeze,
|
291
|
-
domain: "
|
291
|
+
domain: "hydra:Resource".freeze,
|
292
292
|
label: "operation".freeze,
|
293
|
-
range: "
|
293
|
+
range: "hydra:Operation".freeze,
|
294
294
|
"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
295
|
-
type: "
|
295
|
+
type: "hydra:Link".freeze,
|
296
296
|
"vs:term_status" => %(testing).freeze
|
297
297
|
term :previousPage,
|
298
298
|
comment: %(The page preceding the current instance in an interlinked set of PagedCollections).freeze,
|
299
|
-
domain: "
|
299
|
+
domain: "hydra:PagedCollection".freeze,
|
300
300
|
label: "previous page".freeze,
|
301
|
-
range: "
|
301
|
+
range: "hydra:PagedCollection".freeze,
|
302
302
|
"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
303
|
-
type: "
|
303
|
+
type: "hydra:Link".freeze,
|
304
304
|
"vs:term_status" => %(testing).freeze
|
305
305
|
term :returns,
|
306
306
|
comment: %(The information returned by the Web API on success).freeze,
|
307
|
-
domain: "
|
307
|
+
domain: "hydra:Operation".freeze,
|
308
308
|
label: "returns".freeze,
|
309
|
-
range: "
|
309
|
+
range: "hydra:Class".freeze,
|
310
310
|
"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
311
|
-
type: "
|
311
|
+
type: "hydra:Link".freeze,
|
312
312
|
"vs:term_status" => %(testing).freeze
|
313
313
|
term :search,
|
314
314
|
comment: %(A IRI template that can be used to query a collection).freeze,
|
315
315
|
label: "search".freeze,
|
316
|
-
range: "
|
316
|
+
range: "hydra:IriTemplate".freeze,
|
317
317
|
"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
318
|
-
type: "
|
318
|
+
type: "hydra:TemplatedLink".freeze,
|
319
319
|
"vs:term_status" => %(testing).freeze
|
320
320
|
term :statusCodes,
|
321
321
|
comment: %(Additional information about status codes that might be returned by the Web API).freeze,
|
322
322
|
label: "status codes".freeze,
|
323
|
-
range: "
|
323
|
+
range: "hydra:StatusCodeDescription".freeze,
|
324
324
|
"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
325
|
-
type: "
|
325
|
+
type: "hydra:Link".freeze,
|
326
326
|
"vs:term_status" => %(testing).freeze
|
327
327
|
term :supportedClass,
|
328
328
|
comment: %(A class known to be supported by the Web API).freeze,
|
329
|
-
domain: "
|
329
|
+
domain: "hydra:ApiDocumentation".freeze,
|
330
330
|
label: "supported classes".freeze,
|
331
|
-
range: "
|
331
|
+
range: "hydra:Class".freeze,
|
332
332
|
"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
333
|
-
type: "
|
333
|
+
type: "hydra:Link".freeze,
|
334
334
|
"vs:term_status" => %(testing).freeze
|
335
335
|
term :supportedOperation,
|
336
336
|
comment: %(An operation supported by instances of the specific Hydra class or the target of the Hydra link).freeze,
|
337
337
|
label: "supported operation".freeze,
|
338
|
-
range: "
|
338
|
+
range: "hydra:Operation".freeze,
|
339
339
|
"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
340
|
-
type: "
|
340
|
+
type: "hydra:Link".freeze,
|
341
341
|
"vs:term_status" => %(testing).freeze
|
342
342
|
term :supportedProperty,
|
343
343
|
comment: %(The properties known to be supported by a Hydra class).freeze,
|
344
|
-
domain: "
|
344
|
+
domain: "hydra:Class".freeze,
|
345
345
|
label: "supported properties".freeze,
|
346
|
-
range: "
|
346
|
+
range: "hydra:SupportedProperty".freeze,
|
347
347
|
"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
348
|
-
type: "
|
348
|
+
type: "hydra:Link".freeze,
|
349
349
|
"vs:term_status" => %(testing).freeze
|
350
350
|
end
|
351
351
|
end
|
data/lib/rdf/vocab/iiif.rb
CHANGED
@@ -8,121 +8,121 @@ module RDF::Vocab
|
|
8
8
|
term :AnnotationList,
|
9
9
|
comment: %(AnnotationLists are an ordered list of Annotation objects. Typically all Annnotations in a list target the same Canvas).freeze,
|
10
10
|
label: "AnnotationList".freeze,
|
11
|
-
"rdfs:isDefinedBy" => %(
|
11
|
+
"rdfs:isDefinedBy" => %(iiif:).freeze,
|
12
12
|
type: "rdfs:Class".freeze
|
13
13
|
term :Canvas,
|
14
14
|
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,
|
15
15
|
label: "Canvas".freeze,
|
16
|
-
"rdfs:isDefinedBy" => %(
|
16
|
+
"rdfs:isDefinedBy" => %(iiif:).freeze,
|
17
17
|
type: "rdfs:Class".freeze
|
18
18
|
term :Collection,
|
19
19
|
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,
|
20
20
|
label: "Collection".freeze,
|
21
|
-
"rdfs:isDefinedBy" => %(
|
21
|
+
"rdfs:isDefinedBy" => %(iiif:).freeze,
|
22
22
|
type: "rdfs:Class".freeze
|
23
23
|
term :Layer,
|
24
24
|
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,
|
25
25
|
label: "Layer".freeze,
|
26
|
-
"rdfs:isDefinedBy" => %(
|
26
|
+
"rdfs:isDefinedBy" => %(iiif:).freeze,
|
27
27
|
type: "rdfs:Class".freeze
|
28
28
|
term :Manifest,
|
29
29
|
comment: %(The manifest resource represents a single object and any intellectual work or works embodied within that object).freeze,
|
30
30
|
label: "Manifest".freeze,
|
31
|
-
"rdfs:isDefinedBy" => %(
|
31
|
+
"rdfs:isDefinedBy" => %(iiif:).freeze,
|
32
32
|
type: "rdfs:Class".freeze
|
33
33
|
term :Range,
|
34
34
|
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,
|
35
35
|
label: "Range".freeze,
|
36
|
-
"rdfs:isDefinedBy" => %(
|
36
|
+
"rdfs:isDefinedBy" => %(iiif:).freeze,
|
37
37
|
type: "rdfs:Class".freeze
|
38
38
|
term :Sequence,
|
39
39
|
comment: %(The sequence conveys the ordering of the views of the object.).freeze,
|
40
40
|
label: "Sequence".freeze,
|
41
|
-
"rdfs:isDefinedBy" => %(
|
41
|
+
"rdfs:isDefinedBy" => %(iiif:).freeze,
|
42
42
|
type: "rdfs:Class".freeze
|
43
43
|
term :ViewingDirection,
|
44
44
|
label: "ViewingDirection".freeze,
|
45
|
-
"rdfs:isDefinedBy" => %(
|
45
|
+
"rdfs:isDefinedBy" => %(iiif:).freeze,
|
46
46
|
type: "rdfs:Class".freeze
|
47
47
|
term :ViewingHint,
|
48
48
|
label: "ViewingHint".freeze,
|
49
|
-
"rdfs:isDefinedBy" => %(
|
49
|
+
"rdfs:isDefinedBy" => %(iiif:).freeze,
|
50
50
|
type: "rdfs:Class".freeze
|
51
51
|
term :Zone,
|
52
52
|
comment: %(Used to group annotations together in an area of a Canvas, for example to model columns, foldouts or palimpsests).freeze,
|
53
53
|
label: "Zone".freeze,
|
54
|
-
"rdfs:isDefinedBy" => %(
|
55
|
-
subClassOf: "
|
54
|
+
"rdfs:isDefinedBy" => %(iiif:).freeze,
|
55
|
+
subClassOf: "iiif:Canvas".freeze,
|
56
56
|
type: "rdfs:Class".freeze
|
57
57
|
|
58
58
|
# Property definitions
|
59
59
|
property :attributionLabel,
|
60
60
|
label: "attributionLabel".freeze,
|
61
|
-
"rdfs:isDefinedBy" => %(
|
61
|
+
"rdfs:isDefinedBy" => %(iiif:).freeze,
|
62
62
|
type: "rdf:Property".freeze
|
63
63
|
property :hasAnnotations,
|
64
64
|
label: "hasAnnotations".freeze,
|
65
65
|
range: "rdf:List".freeze,
|
66
|
-
"rdfs:isDefinedBy" => %(
|
66
|
+
"rdfs:isDefinedBy" => %(iiif:).freeze,
|
67
67
|
type: "rdf:Property".freeze
|
68
68
|
property :hasCanvases,
|
69
69
|
label: "hasCanvases".freeze,
|
70
70
|
range: "rdf:List".freeze,
|
71
|
-
"rdfs:isDefinedBy" => %(
|
71
|
+
"rdfs:isDefinedBy" => %(iiif:).freeze,
|
72
72
|
type: "rdf:Property".freeze
|
73
73
|
property :hasCollections,
|
74
|
-
domain: "
|
74
|
+
domain: "iiif:Collection".freeze,
|
75
75
|
label: "hasCollections".freeze,
|
76
76
|
range: "rdf:List".freeze,
|
77
|
-
"rdfs:isDefinedBy" => %(
|
77
|
+
"rdfs:isDefinedBy" => %(iiif:).freeze,
|
78
78
|
type: "rdf:Property".freeze
|
79
79
|
property :hasImageAnnotations,
|
80
80
|
label: "hasImageAnnotations".freeze,
|
81
81
|
range: "rdf:List".freeze,
|
82
|
-
"rdfs:isDefinedBy" => %(
|
83
|
-
subPropertyOf: "
|
82
|
+
"rdfs:isDefinedBy" => %(iiif:).freeze,
|
83
|
+
subPropertyOf: "iiif:hasAnnotations".freeze,
|
84
84
|
type: "rdf:Property".freeze
|
85
85
|
property :hasLists,
|
86
86
|
label: "hasLists".freeze,
|
87
87
|
range: "rdf:List".freeze,
|
88
|
-
"rdfs:isDefinedBy" => %(
|
88
|
+
"rdfs:isDefinedBy" => %(iiif:).freeze,
|
89
89
|
type: "rdf:Property".freeze
|
90
90
|
property :hasManifests,
|
91
|
-
domain: "
|
91
|
+
domain: "iiif:Collection".freeze,
|
92
92
|
label: "hasManifests".freeze,
|
93
93
|
range: "rdf:List".freeze,
|
94
|
-
"rdfs:isDefinedBy" => %(
|
94
|
+
"rdfs:isDefinedBy" => %(iiif:).freeze,
|
95
95
|
type: "rdf:Property".freeze
|
96
96
|
property :hasRanges,
|
97
97
|
label: "hasRanges".freeze,
|
98
98
|
range: "rdf:List".freeze,
|
99
|
-
"rdfs:isDefinedBy" => %(
|
99
|
+
"rdfs:isDefinedBy" => %(iiif:).freeze,
|
100
100
|
type: "rdf:Property".freeze
|
101
101
|
property :hasSequences,
|
102
|
-
domain: "
|
102
|
+
domain: "iiif:Manifest".freeze,
|
103
103
|
label: "hasSequences".freeze,
|
104
104
|
range: "rdf:List".freeze,
|
105
|
-
"rdfs:isDefinedBy" => %(
|
105
|
+
"rdfs:isDefinedBy" => %(iiif:).freeze,
|
106
106
|
type: "rdf:Property".freeze
|
107
107
|
property :hasStartCanvas,
|
108
108
|
label: "hasStartCanvas".freeze,
|
109
109
|
range: "rdf:List".freeze,
|
110
|
-
"rdfs:isDefinedBy" => %(
|
110
|
+
"rdfs:isDefinedBy" => %(iiif:).freeze,
|
111
111
|
type: "rdf:Property".freeze
|
112
112
|
property :metadataLabels,
|
113
113
|
label: "metadataLabels".freeze,
|
114
114
|
range: "rdf:List".freeze,
|
115
|
-
"rdfs:isDefinedBy" => %(
|
115
|
+
"rdfs:isDefinedBy" => %(iiif:).freeze,
|
116
116
|
type: "rdf:Property".freeze
|
117
117
|
property :viewingDirection,
|
118
118
|
label: "viewingDirection".freeze,
|
119
|
-
range: "
|
120
|
-
"rdfs:isDefinedBy" => %(
|
119
|
+
range: "iiif:ViewingDirection".freeze,
|
120
|
+
"rdfs:isDefinedBy" => %(iiif:).freeze,
|
121
121
|
type: "rdf:Property".freeze
|
122
122
|
property :viewingHint,
|
123
123
|
label: "viewingHint".freeze,
|
124
|
-
range: "
|
125
|
-
"rdfs:isDefinedBy" => %(
|
124
|
+
range: "iiif:ViewingHint".freeze,
|
125
|
+
"rdfs:isDefinedBy" => %(iiif:).freeze,
|
126
126
|
type: "rdf:Property".freeze
|
127
127
|
|
128
128
|
# Extra definitions
|
@@ -133,41 +133,41 @@ module RDF::Vocab
|
|
133
133
|
term :bottomToTopDirection,
|
134
134
|
comment: %(Bottom-to-Top Viewing Direction).freeze,
|
135
135
|
label: "bottomToTopDirection".freeze,
|
136
|
-
type: "
|
136
|
+
type: "iiif:ViewingDirection".freeze
|
137
137
|
term :continuousHint,
|
138
138
|
comment: %(Each canvas represents a segment of a continuous object such as a long scroll).freeze,
|
139
139
|
label: "continuousHint".freeze,
|
140
|
-
type: "
|
140
|
+
type: "iiif:ViewingHint".freeze
|
141
141
|
term :individualsHint,
|
142
142
|
comment: %(Each canvas represents a separate individual object, and should not have transitions).freeze,
|
143
143
|
label: "individualsHint".freeze,
|
144
|
-
type: "
|
144
|
+
type: "iiif:ViewingHint".freeze
|
145
145
|
term :leftToRightDirection,
|
146
146
|
comment: %(Left-to-Right Viewing Direction).freeze,
|
147
147
|
label: "leftToRightDirection".freeze,
|
148
|
-
type: "
|
148
|
+
type: "iiif:ViewingDirection".freeze
|
149
149
|
term :nonPagedHint,
|
150
150
|
comment: %(Viewing Hint that the Canvas MUST NOT be presented in a page turner).freeze,
|
151
151
|
label: "nonPagedHint".freeze,
|
152
|
-
type: "
|
152
|
+
type: "iiif:ViewingHint".freeze
|
153
153
|
term :pagedHint,
|
154
154
|
comment: %(Viewing Hint that object has canvases that represent pages that can be turned).freeze,
|
155
155
|
label: "pagedHint".freeze,
|
156
|
-
type: "
|
156
|
+
type: "iiif:ViewingHint".freeze
|
157
157
|
term :painting,
|
158
158
|
label: "painting".freeze,
|
159
159
|
type: "oa:Motivation".freeze
|
160
160
|
term :rightToLeftDirection,
|
161
161
|
comment: %(Right-to-Left Viewing Direction).freeze,
|
162
162
|
label: "rightToLeftDirection".freeze,
|
163
|
-
type: "
|
163
|
+
type: "iiif:ViewingDirection".freeze
|
164
164
|
term :topHint,
|
165
165
|
comment: %(The topmost range in a nested hierarchy, such as a table of contents).freeze,
|
166
166
|
label: "topHint".freeze,
|
167
|
-
type: "
|
167
|
+
type: "iiif:ViewingHint".freeze
|
168
168
|
term :topToBottomDirection,
|
169
169
|
comment: %(Top-to-Bottom Viewing Direction).freeze,
|
170
170
|
label: "topToBottomDirection".freeze,
|
171
|
-
type: "
|
171
|
+
type: "iiif:ViewingDirection".freeze
|
172
172
|
end
|
173
173
|
end
|