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/ht.rb
CHANGED
@@ -10,8 +10,8 @@ module RDF::Vocab
|
|
10
10
|
# #
|
11
11
|
# # A namespace for describing HTTP messages (http://www.w3.org/Protocols/rfc2616/rfc2616.html)
|
12
12
|
# # @version Working Draft 29 April 2011
|
13
|
-
# # @see http://www.w3.org/TR/Content-in-RDF/
|
14
13
|
# # @see http://www.w3.org/WAI/intro/earl
|
14
|
+
# # @see http://www.w3.org/TR/Content-in-RDF/
|
15
15
|
# class HT < RDF::StrictVocabulary
|
16
16
|
# # A connection used for HTTP transfer.
|
17
17
|
# # @return [RDF::Vocabulary::Term]
|
@@ -174,7 +174,7 @@ module RDF::Vocab
|
|
174
174
|
|
175
175
|
# Ontology definition
|
176
176
|
ontology :"http://www.w3.org/2011/http#",
|
177
|
-
comment:
|
177
|
+
comment: "A namespace for describing HTTP messages (http://www.w3.org/Protocols/rfc2616/rfc2616.html)".freeze,
|
178
178
|
isDefinedBy: "http://www.w3.org/TR/HTTP-in-RDF/".freeze,
|
179
179
|
label: "HTTP in RDF".freeze,
|
180
180
|
"owl:imports": ["cnt:".freeze, "dc:".freeze],
|
@@ -184,218 +184,218 @@ module RDF::Vocab
|
|
184
184
|
|
185
185
|
# Class definitions
|
186
186
|
term :Connection,
|
187
|
-
comment:
|
187
|
+
comment: "A connection used for HTTP transfer.".freeze,
|
188
188
|
isDefinedBy: "http://www.ietf.org/rfc/rfc2616.txt".freeze,
|
189
189
|
label: "Connection".freeze,
|
190
190
|
type: ["owl:Class".freeze, "rdfs:Class".freeze]
|
191
191
|
term :EntityHeader,
|
192
|
-
comment:
|
192
|
+
comment: "An entity header in an HTTP message.".freeze,
|
193
193
|
label: "Entity Header".freeze,
|
194
194
|
subClassOf: "ht:MessageHeader".freeze,
|
195
195
|
type: ["owl:Class".freeze, "rdfs:Class".freeze]
|
196
196
|
term :GeneralHeader,
|
197
|
-
comment:
|
197
|
+
comment: "A general header in an HTTP message.".freeze,
|
198
198
|
label: "General Header".freeze,
|
199
199
|
subClassOf: "ht:MessageHeader".freeze,
|
200
200
|
type: ["owl:Class".freeze, "rdfs:Class".freeze]
|
201
201
|
term :HeaderElement,
|
202
|
-
comment:
|
202
|
+
comment: "A part of a deconstructed header value.".freeze,
|
203
203
|
label: "Header Element".freeze,
|
204
204
|
type: ["owl:Class".freeze, "rdfs:Class".freeze]
|
205
205
|
term :HeaderName,
|
206
|
-
comment:
|
206
|
+
comment: "A header name.".freeze,
|
207
207
|
label: "Header Name".freeze,
|
208
208
|
type: ["owl:Class".freeze, "rdfs:Class".freeze]
|
209
209
|
term :Message,
|
210
|
-
comment:
|
210
|
+
comment: "An HTTP message.".freeze,
|
211
211
|
isDefinedBy: "http://www.ietf.org/rfc/rfc2616.txt".freeze,
|
212
212
|
label: "Message".freeze,
|
213
213
|
type: ["owl:Class".freeze, "rdfs:Class".freeze]
|
214
214
|
term :MessageHeader,
|
215
|
-
comment:
|
215
|
+
comment: "A header in an HTTP message.".freeze,
|
216
216
|
label: "Message Header".freeze,
|
217
217
|
type: ["owl:Class".freeze, "rdfs:Class".freeze]
|
218
218
|
term :Method,
|
219
|
-
comment:
|
219
|
+
comment: "The HTTP method used for the request.".freeze,
|
220
220
|
isDefinedBy: "http://www.ietf.org/rfc/rfc2616.txt".freeze,
|
221
221
|
label: "Method".freeze,
|
222
222
|
type: ["owl:Class".freeze, "rdfs:Class".freeze]
|
223
223
|
term :Parameter,
|
224
|
-
comment:
|
224
|
+
comment: "A parameter for a part of a header value.".freeze,
|
225
225
|
label: "Parameter".freeze,
|
226
226
|
type: ["owl:Class".freeze, "rdfs:Class".freeze]
|
227
227
|
term :Request,
|
228
|
-
comment:
|
228
|
+
comment: "An HTTP request.".freeze,
|
229
229
|
isDefinedBy: "http://www.ietf.org/rfc/rfc2616.txt".freeze,
|
230
230
|
label: "Request".freeze,
|
231
231
|
subClassOf: "ht:Message".freeze,
|
232
232
|
type: ["owl:Class".freeze, "rdfs:Class".freeze]
|
233
233
|
term :RequestHeader,
|
234
|
-
comment:
|
234
|
+
comment: "A header in an HTTP request message.".freeze,
|
235
235
|
label: "Request Header".freeze,
|
236
236
|
subClassOf: "ht:MessageHeader".freeze,
|
237
237
|
type: ["owl:Class".freeze, "rdfs:Class".freeze]
|
238
238
|
term :Response,
|
239
|
-
comment:
|
239
|
+
comment: "An HTTP response.".freeze,
|
240
240
|
isDefinedBy: "http://www.ietf.org/rfc/rfc2616.txt".freeze,
|
241
241
|
label: "Response".freeze,
|
242
242
|
subClassOf: "ht:Message".freeze,
|
243
243
|
type: ["owl:Class".freeze, "rdfs:Class".freeze]
|
244
244
|
term :ResponseHeader,
|
245
|
-
comment:
|
245
|
+
comment: "A header in an HTTP response message.".freeze,
|
246
246
|
label: "Response Header".freeze,
|
247
247
|
subClassOf: "ht:MessageHeader".freeze,
|
248
248
|
type: ["owl:Class".freeze, "rdfs:Class".freeze]
|
249
249
|
term :StatusCode,
|
250
|
-
comment:
|
250
|
+
comment: "The status code of an HTTP response.".freeze,
|
251
251
|
isDefinedBy: "http://www.ietf.org/rfc/rfc2616.txt".freeze,
|
252
252
|
label: "Status code".freeze,
|
253
253
|
type: ["owl:Class".freeze, "rdfs:Class".freeze]
|
254
254
|
|
255
255
|
# Property definitions
|
256
256
|
property :absolutePath,
|
257
|
-
comment:
|
257
|
+
comment: "The absolute path sort of request URI.".freeze,
|
258
258
|
label: "Absolute path".freeze,
|
259
259
|
subPropertyOf: "ht:requestURI".freeze,
|
260
260
|
type: "rdf:Property".freeze
|
261
261
|
property :absoluteURI,
|
262
|
-
comment:
|
262
|
+
comment: "The absolute request URI.".freeze,
|
263
263
|
label: "Absolute URI".freeze,
|
264
264
|
subPropertyOf: "ht:requestURI".freeze,
|
265
265
|
type: "rdf:Property".freeze
|
266
266
|
property :authority,
|
267
|
-
comment:
|
267
|
+
comment: "The authority sort of request URI.".freeze,
|
268
268
|
label: "Authority".freeze,
|
269
269
|
subPropertyOf: "ht:requestURI".freeze,
|
270
270
|
type: "rdf:Property".freeze
|
271
271
|
property :body,
|
272
|
-
comment:
|
272
|
+
comment: "The entity body of an HTTP message.".freeze,
|
273
273
|
domain: "ht:Message".freeze,
|
274
274
|
isDefinedBy: "http://www.ietf.org/rfc/rfc2616.txt".freeze,
|
275
275
|
label: "Entity Body".freeze,
|
276
276
|
range: "cnt:ContentAsBase64".freeze,
|
277
277
|
type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
|
278
278
|
property :connectionAuthority,
|
279
|
-
comment:
|
279
|
+
comment: "The authority of a connection used for the HTTP transfer.".freeze,
|
280
280
|
domain: "ht:Connection".freeze,
|
281
281
|
label: "Connection authority".freeze,
|
282
282
|
range: "rdfs:Literal".freeze,
|
283
283
|
type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
|
284
284
|
property :elementName,
|
285
|
-
comment:
|
285
|
+
comment: "The name of a header element.".freeze,
|
286
286
|
domain: "ht:HeaderElement".freeze,
|
287
287
|
label: "Header element name".freeze,
|
288
288
|
range: "rdfs:Literal".freeze,
|
289
289
|
type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
|
290
290
|
property :elementValue,
|
291
|
-
comment:
|
291
|
+
comment: "The value of a header element.".freeze,
|
292
292
|
domain: "ht:HeaderElement".freeze,
|
293
293
|
label: "Header element value".freeze,
|
294
294
|
range: "rdfs:Literal".freeze,
|
295
295
|
type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
|
296
296
|
property :fieldName,
|
297
|
-
comment:
|
297
|
+
comment: "The name of an HTTP header field.".freeze,
|
298
298
|
domain: "ht:MessageHeader".freeze,
|
299
299
|
label: "Field name".freeze,
|
300
300
|
range: "rdfs:Literal".freeze,
|
301
301
|
type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
|
302
302
|
property :fieldValue,
|
303
|
-
comment:
|
303
|
+
comment: "The value of an HTTP header field.".freeze,
|
304
304
|
domain: "ht:MessageHeader".freeze,
|
305
305
|
label: "Field value".freeze,
|
306
306
|
range: "rdfs:Literal".freeze,
|
307
307
|
type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
|
308
308
|
property :hdrName,
|
309
|
-
comment:
|
309
|
+
comment: "The name of an HTTP header.".freeze,
|
310
310
|
domain: "ht:MessageHeader".freeze,
|
311
311
|
label: "Header name".freeze,
|
312
312
|
range: "ht:HeaderName".freeze,
|
313
313
|
type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
|
314
314
|
property :headerElements,
|
315
|
-
comment:
|
315
|
+
comment: "The deconstructed parts of an HTTP header value.".freeze,
|
316
316
|
domain: "ht:MessageHeader".freeze,
|
317
317
|
label: "Header elements".freeze,
|
318
318
|
type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
|
319
319
|
property :headers,
|
320
|
-
comment:
|
320
|
+
comment: "The headers in an HTTP message.".freeze,
|
321
321
|
domain: "ht:Message".freeze,
|
322
322
|
isDefinedBy: "http://www.ietf.org/rfc/rfc2616.txt".freeze,
|
323
323
|
label: "Headers".freeze,
|
324
324
|
type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
|
325
325
|
property :httpVersion,
|
326
|
-
comment:
|
326
|
+
comment: "The HTTP version of an HTTP message.".freeze,
|
327
327
|
domain: "ht:Message".freeze,
|
328
328
|
isDefinedBy: "http://www.ietf.org/rfc/rfc2616.txt".freeze,
|
329
329
|
label: "HTTP version".freeze,
|
330
330
|
range: "rdfs:Literal".freeze,
|
331
331
|
type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
|
332
332
|
property :methodName,
|
333
|
-
comment:
|
333
|
+
comment: "The HTTP method name used for the HTTP request.".freeze,
|
334
334
|
domain: "ht:Request".freeze,
|
335
335
|
isDefinedBy: "http://www.ietf.org/rfc/rfc2616.txt".freeze,
|
336
336
|
label: "Method name".freeze,
|
337
337
|
range: "rdfs:Literal".freeze,
|
338
338
|
type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
|
339
339
|
property :mthd,
|
340
|
-
comment:
|
340
|
+
comment: "The HTTP method used for the HTTP request.".freeze,
|
341
341
|
domain: "ht:Request".freeze,
|
342
342
|
isDefinedBy: "http://www.ietf.org/rfc/rfc2616.txt".freeze,
|
343
343
|
label: "Method".freeze,
|
344
344
|
range: "ht:Method".freeze,
|
345
345
|
type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
|
346
346
|
property :paramName,
|
347
|
-
comment:
|
347
|
+
comment: "The name of a parameter in a part of a deconstructed HTTP header value.".freeze,
|
348
348
|
domain: "ht:Parameter".freeze,
|
349
349
|
label: "Parameter name".freeze,
|
350
350
|
range: "rdfs:Literal".freeze,
|
351
351
|
type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
|
352
352
|
property :paramValue,
|
353
|
-
comment:
|
353
|
+
comment: "The value of a parameter in a part of a deconstructed HTTP header value.".freeze,
|
354
354
|
domain: "ht:Parameter".freeze,
|
355
355
|
label: "Parameter value".freeze,
|
356
356
|
range: "rdfs:Literal".freeze,
|
357
357
|
type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
|
358
358
|
property :params,
|
359
|
-
comment:
|
359
|
+
comment: "The parameters in a part of a deconstructed HTTP header value.".freeze,
|
360
360
|
domain: "ht:HeaderElement".freeze,
|
361
361
|
label: "Header parameters".freeze,
|
362
362
|
type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
|
363
363
|
property :reasonPhrase,
|
364
|
-
comment:
|
364
|
+
comment: "The reason phrase (status text) of an HTTP response.".freeze,
|
365
365
|
domain: "ht:Response".freeze,
|
366
366
|
isDefinedBy: "http://www.ietf.org/rfc/rfc2616.txt".freeze,
|
367
367
|
label: "Reason phrase".freeze,
|
368
368
|
range: "rdfs:Literal".freeze,
|
369
369
|
type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
|
370
370
|
property :requestURI,
|
371
|
-
comment:
|
371
|
+
comment: "The request URI of an HTTP request.".freeze,
|
372
372
|
domain: "ht:Request".freeze,
|
373
373
|
isDefinedBy: "http://www.ietf.org/rfc/rfc2616.txt".freeze,
|
374
374
|
label: "Request URI".freeze,
|
375
375
|
range: "rdfs:Literal".freeze,
|
376
376
|
type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
|
377
377
|
property :requests,
|
378
|
-
comment:
|
378
|
+
comment: "The HTTP requests made via a connection.".freeze,
|
379
379
|
domain: "ht:Connection".freeze,
|
380
380
|
isDefinedBy: "http://www.ietf.org/rfc/rfc2616.txt".freeze,
|
381
381
|
label: "Requests".freeze,
|
382
382
|
type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
|
383
383
|
property :resp,
|
384
|
-
comment:
|
384
|
+
comment: "The HTTP response sent in answer to an HTTP request.".freeze,
|
385
385
|
domain: "ht:Request".freeze,
|
386
386
|
isDefinedBy: "http://www.ietf.org/rfc/rfc2616.txt".freeze,
|
387
387
|
label: "Response".freeze,
|
388
388
|
range: "ht:Response".freeze,
|
389
389
|
type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
|
390
390
|
property :sc,
|
391
|
-
comment:
|
391
|
+
comment: "The status code of an HTTP response.".freeze,
|
392
392
|
domain: "ht:Response".freeze,
|
393
393
|
isDefinedBy: "http://www.ietf.org/rfc/rfc2616.txt".freeze,
|
394
394
|
label: "Status code".freeze,
|
395
395
|
range: "ht:StatusCode".freeze,
|
396
396
|
type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
|
397
397
|
property :statusCodeNumber,
|
398
|
-
comment:
|
398
|
+
comment: "The status code number.".freeze,
|
399
399
|
domain: "ht:StatusCode".freeze,
|
400
400
|
isDefinedBy: "http://www.ietf.org/rfc/rfc2616.txt".freeze,
|
401
401
|
label: "Status code".freeze,
|
@@ -403,7 +403,7 @@ module RDF::Vocab
|
|
403
403
|
subPropertyOf: "dc:identifier".freeze,
|
404
404
|
type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
|
405
405
|
property :statusCodeValue,
|
406
|
-
comment:
|
406
|
+
comment: "The status code value of an HTTP response.".freeze,
|
407
407
|
domain: "ht:Response".freeze,
|
408
408
|
isDefinedBy: "http://www.ietf.org/rfc/rfc2616.txt".freeze,
|
409
409
|
label: "Status code".freeze,
|
data/lib/rdf/vocab/hydra.rb
CHANGED
@@ -16,7 +16,11 @@ module RDF::Vocab
|
|
16
16
|
# # @return [RDF::Vocabulary::Term]
|
17
17
|
# attr_reader :ApiDocumentation
|
18
18
|
#
|
19
|
-
# #
|
19
|
+
# # Provides a base abstract for base Uri source for Iri template resolution.
|
20
|
+
# # @return [RDF::Vocabulary::Term]
|
21
|
+
# attr_reader :BaseUriSource
|
22
|
+
#
|
23
|
+
# # The class of Hydra classes.
|
20
24
|
# # @return [RDF::Vocabulary::Term]
|
21
25
|
# attr_reader :Class
|
22
26
|
#
|
@@ -48,7 +52,7 @@ module RDF::Vocab
|
|
48
52
|
# # @return [RDF::Vocabulary::Term]
|
49
53
|
# attr_reader :PartialCollectionView
|
50
54
|
#
|
51
|
-
# # The class of dereferenceable resources.
|
55
|
+
# # The class of dereferenceable resources by means a client can attempt to dereference; however, the received responses should still be verified.
|
52
56
|
# # @return [RDF::Vocabulary::Term]
|
53
57
|
# attr_reader :Resource
|
54
58
|
#
|
@@ -116,6 +120,9 @@ module RDF::Vocab
|
|
116
120
|
# # @return [RDF::Vocabulary::Term]
|
117
121
|
# attr_reader :required
|
118
122
|
#
|
123
|
+
# # @return [RDF::Vocabulary::Term]
|
124
|
+
# attr_reader :resolveRelativeUsing
|
125
|
+
#
|
119
126
|
# # Name of the header returned by the operation.
|
120
127
|
# # @return [RDF::Vocabulary::Term]
|
121
128
|
# attr_reader :returnsHeader
|
@@ -146,7 +153,7 @@ module RDF::Vocab
|
|
146
153
|
#
|
147
154
|
# # True if the client can change the property's value, false otherwise.
|
148
155
|
# # @return [RDF::Vocabulary::Term]
|
149
|
-
# attr_reader :
|
156
|
+
# attr_reader :writable
|
150
157
|
#
|
151
158
|
# # An IRI template as defined by RFC6570.
|
152
159
|
# # @return [RDF::Vocabulary::Term]
|
@@ -160,6 +167,14 @@ module RDF::Vocab
|
|
160
167
|
# # @return [RDF::Vocabulary::Term]
|
161
168
|
# attr_reader :ExplicitRepresentation
|
162
169
|
#
|
170
|
+
# # States that the link's context IRI, as defined in RFC 5988, should be used as the base Uri
|
171
|
+
# # @return [RDF::Vocabulary::Term]
|
172
|
+
# attr_reader :LinkContext
|
173
|
+
#
|
174
|
+
# # States that the base Uri should be established using RFC 3986 reference resolution algorithm specified in section 5.
|
175
|
+
# # @return [RDF::Vocabulary::Term]
|
176
|
+
# attr_reader :Rfc3986
|
177
|
+
#
|
163
178
|
# # A link to the API documentation
|
164
179
|
# # @return [RDF::Vocabulary::Term]
|
165
180
|
# attr_reader :apiDocumentation
|
@@ -184,7 +199,7 @@ module RDF::Vocab
|
|
184
199
|
# # @return [RDF::Vocabulary::Term]
|
185
200
|
# attr_reader :last
|
186
201
|
#
|
187
|
-
# #
|
202
|
+
# # This predicate is left for compatibility purposes and hydra:memberAssertion should be used instead.
|
188
203
|
# # @return [RDF::Vocabulary::Term]
|
189
204
|
# attr_reader :manages
|
190
205
|
#
|
@@ -192,6 +207,10 @@ module RDF::Vocab
|
|
192
207
|
# # @return [RDF::Vocabulary::Term]
|
193
208
|
# attr_reader :member
|
194
209
|
#
|
210
|
+
# # Semantics of each member provided by the collection.
|
211
|
+
# # @return [RDF::Vocabulary::Term]
|
212
|
+
# attr_reader :memberAssertion
|
213
|
+
#
|
195
214
|
# # The resource following the current instance in an interlinked set of resources.
|
196
215
|
# # @return [RDF::Vocabulary::Term]
|
197
216
|
# attr_reader :next
|
@@ -240,6 +259,10 @@ module RDF::Vocab
|
|
240
259
|
# # @return [RDF::Vocabulary::Term]
|
241
260
|
# attr_reader :view
|
242
261
|
#
|
262
|
+
# # This property is left for compatibility purposes and hydra:writable should be used instead.
|
263
|
+
# # @return [RDF::Vocabulary::Term]
|
264
|
+
# attr_reader :writeable
|
265
|
+
#
|
243
266
|
# end
|
244
267
|
HYDRA = Class.new(RDF::StrictVocabulary("http://www.w3.org/ns/hydra/core#")) do
|
245
268
|
|
@@ -248,7 +271,7 @@ module RDF::Vocab
|
|
248
271
|
"cc:attributionName": "Hydra W3C Community Group".freeze,
|
249
272
|
"cc:attributionURL": "http://www.hydra-cg.com/".freeze,
|
250
273
|
"cc:license": "http://creativecommons.org/licenses/by/4.0/".freeze,
|
251
|
-
comment:
|
274
|
+
comment: "A lightweight vocabulary for hypermedia-driven Web APIs".freeze,
|
252
275
|
"dc:description": "The Hydra Core Vocabulary is a lightweight vocabulary to create hypermedia-driven Web APIs. By specifying a number of concepts commonly used in Web APIs it enables the creation of generic API clients.".freeze,
|
253
276
|
"dc:publisher": "Hydra W3C Community Group".freeze,
|
254
277
|
"dc:rights": "Copyright © 2012-2014 the Contributors to the Hydra Core Vocabulary Specification".freeze,
|
@@ -258,107 +281,107 @@ module RDF::Vocab
|
|
258
281
|
|
259
282
|
# Class definitions
|
260
283
|
term :ApiDocumentation,
|
261
|
-
comment:
|
284
|
+
comment: "The Hydra API documentation class".freeze,
|
262
285
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
263
286
|
label: "ApiDocumentation".freeze,
|
264
287
|
subClassOf: "hydra:Resource".freeze,
|
265
288
|
type: "hydra:Class".freeze,
|
266
289
|
"vs:term_status": "testing".freeze
|
290
|
+
term :BaseUriSource,
|
291
|
+
comment: "Provides a base abstract for base Uri source for Iri template resolution.".freeze,
|
292
|
+
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
293
|
+
label: "Base Uri source".freeze,
|
294
|
+
subClassOf: "hydra:Resource".freeze,
|
295
|
+
type: "hydra:Class".freeze,
|
296
|
+
"vs:term_status": "testing".freeze
|
267
297
|
term :Class,
|
268
|
-
comment:
|
298
|
+
comment: "The class of Hydra classes.".freeze,
|
269
299
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
270
300
|
label: "Hydra Class".freeze,
|
271
|
-
subClassOf:
|
301
|
+
subClassOf: "rdfs:Class".freeze,
|
272
302
|
type: ["hydra:Resource".freeze, "rdfs:Class".freeze],
|
273
303
|
"vs:term_status": "testing".freeze
|
274
304
|
term :Collection,
|
275
|
-
comment:
|
305
|
+
comment: "A collection holding references to a number of related resources.".freeze,
|
276
306
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
277
307
|
label: "Collection".freeze,
|
278
308
|
subClassOf: "hydra:Resource".freeze,
|
279
309
|
type: "hydra:Class".freeze,
|
280
310
|
"vs:term_status": "testing".freeze
|
281
311
|
term :Error,
|
282
|
-
comment:
|
312
|
+
comment: "A runtime error, used to report information beyond the returned status code.".freeze,
|
283
313
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
284
314
|
label: "Error".freeze,
|
285
315
|
subClassOf: "hydra:Status".freeze,
|
286
316
|
type: "hydra:Class".freeze,
|
287
317
|
"vs:term_status": "testing".freeze
|
288
318
|
term :IriTemplate,
|
289
|
-
comment:
|
319
|
+
comment: "The class of IRI templates.".freeze,
|
290
320
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
291
321
|
label: "IRI Template".freeze,
|
292
|
-
subClassOf: "hydra:Resource".freeze,
|
293
322
|
type: "hydra:Class".freeze,
|
294
323
|
"vs:term_status": "testing".freeze
|
295
324
|
term :IriTemplateMapping,
|
296
|
-
comment:
|
325
|
+
comment: "A mapping from an IRI template variable to a property.".freeze,
|
297
326
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
298
327
|
label: "IriTemplateMapping".freeze,
|
299
|
-
subClassOf: "hydra:Resource".freeze,
|
300
328
|
type: "hydra:Class".freeze,
|
301
329
|
"vs:term_status": "testing".freeze
|
302
330
|
term :Link,
|
303
|
-
comment:
|
331
|
+
comment: "The class of properties representing links.".freeze,
|
304
332
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
305
333
|
label: "Link".freeze,
|
306
334
|
subClassOf: ["hydra:Resource".freeze, "rdf:Property".freeze],
|
307
335
|
type: "hydra:Class".freeze,
|
308
336
|
"vs:term_status": "testing".freeze
|
309
337
|
term :Operation,
|
310
|
-
comment:
|
338
|
+
comment: "An operation.".freeze,
|
311
339
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
312
340
|
label: "Operation".freeze,
|
313
|
-
subClassOf: "hydra:Resource".freeze,
|
314
341
|
type: "hydra:Class".freeze,
|
315
342
|
"vs:term_status": "testing".freeze
|
316
343
|
term :PartialCollectionView,
|
317
|
-
comment:
|
344
|
+
comment: "A PartialCollectionView describes a partial view of a Collection. Multiple PartialCollectionViews can be connected with the the next/previous properties to allow a client to retrieve all members of the collection.".freeze,
|
318
345
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
319
346
|
label: "PartialCollectionView".freeze,
|
320
347
|
subClassOf: "hydra:Resource".freeze,
|
321
348
|
type: "hydra:Class".freeze,
|
322
349
|
"vs:term_status": "testing".freeze
|
323
350
|
term :Resource,
|
324
|
-
comment:
|
351
|
+
comment: "The class of dereferenceable resources by means a client can attempt to dereference; however, the received responses should still be verified.".freeze,
|
325
352
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
326
353
|
label: "Hydra Resource".freeze,
|
327
|
-
subClassOf: "rdfs:Resource".freeze,
|
328
354
|
type: "hydra:Class".freeze,
|
329
355
|
"vs:term_status": "testing".freeze
|
330
356
|
term :Status,
|
331
|
-
comment:
|
357
|
+
comment: "Additional information about a status code that might be returned.".freeze,
|
332
358
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
333
359
|
label: "Status code description".freeze,
|
334
|
-
subClassOf: "hydra:Resource".freeze,
|
335
360
|
type: "hydra:Class".freeze,
|
336
361
|
"vs:term_status": "testing".freeze
|
337
362
|
term :SupportedProperty,
|
338
|
-
comment:
|
363
|
+
comment: "A property known to be supported by a Hydra class.".freeze,
|
339
364
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
340
365
|
label: "Supported Property".freeze,
|
341
|
-
subClassOf: "hydra:Resource".freeze,
|
342
366
|
type: "hydra:Class".freeze,
|
343
367
|
"vs:term_status": "testing".freeze
|
344
368
|
term :TemplatedLink,
|
345
|
-
comment:
|
369
|
+
comment: "A templated link.".freeze,
|
346
370
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
347
371
|
label: "Templated Link".freeze,
|
348
372
|
subClassOf: ["hydra:Resource".freeze, "rdf:Property".freeze],
|
349
373
|
type: "hydra:Class".freeze,
|
350
374
|
"vs:term_status": "testing".freeze
|
351
375
|
term :VariableRepresentation,
|
352
|
-
comment:
|
376
|
+
comment: "A representation specifies how to serialize variable values into strings.".freeze,
|
353
377
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
354
378
|
label: "VariableRepresentation".freeze,
|
355
|
-
subClassOf: "hydra:Resource".freeze,
|
356
379
|
type: "hydra:Class".freeze,
|
357
380
|
"vs:term_status": "testing".freeze
|
358
381
|
|
359
382
|
# Property definitions
|
360
383
|
property :description,
|
361
|
-
comment:
|
384
|
+
comment: "A description.".freeze,
|
362
385
|
domainIncludes: ["hydra:ApiDocumentation".freeze, "hydra:Class".freeze, "hydra:Link".freeze, "hydra:Operation".freeze, "hydra:Status".freeze, "hydra:SupportedProperty".freeze, "hydra:TemplatedLink".freeze],
|
363
386
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
364
387
|
label: "description".freeze,
|
@@ -367,7 +390,7 @@ module RDF::Vocab
|
|
367
390
|
type: "rdf:Property".freeze,
|
368
391
|
"vs:term_status": "testing".freeze
|
369
392
|
property :expectsHeader,
|
370
|
-
comment:
|
393
|
+
comment: "Specification of the header expected by the operation.".freeze,
|
371
394
|
domain: "hydra:Operation".freeze,
|
372
395
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
373
396
|
label: "expects header".freeze,
|
@@ -375,7 +398,7 @@ module RDF::Vocab
|
|
375
398
|
type: "rdf:Property".freeze,
|
376
399
|
"vs:term_status": "testing".freeze
|
377
400
|
property :freetextQuery,
|
378
|
-
comment:
|
401
|
+
comment: "A property representing a freetext query.".freeze,
|
379
402
|
domain: "hydra:Resource".freeze,
|
380
403
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
381
404
|
label: "freetext query".freeze,
|
@@ -383,14 +406,14 @@ module RDF::Vocab
|
|
383
406
|
type: "rdf:Property".freeze,
|
384
407
|
"vs:term_status": "testing".freeze
|
385
408
|
property :limit,
|
386
|
-
comment:
|
409
|
+
comment: "Instructs to limit set only to N elements.".freeze,
|
387
410
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
388
411
|
label: "take".freeze,
|
389
412
|
range: "xsd:nonNegativeInteger".freeze,
|
390
413
|
type: "rdf:Property".freeze,
|
391
414
|
"vs:term_status": "testing".freeze
|
392
415
|
property :mapping,
|
393
|
-
comment:
|
416
|
+
comment: "A variable-to-property mapping of the IRI template.".freeze,
|
394
417
|
domain: "hydra:IriTemplate".freeze,
|
395
418
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
396
419
|
label: "mapping".freeze,
|
@@ -398,7 +421,7 @@ module RDF::Vocab
|
|
398
421
|
type: "rdf:Property".freeze,
|
399
422
|
"vs:term_status": "testing".freeze
|
400
423
|
property :method,
|
401
|
-
comment:
|
424
|
+
comment: "The HTTP method.".freeze,
|
402
425
|
domain: "hydra:Operation".freeze,
|
403
426
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
404
427
|
label: "method".freeze,
|
@@ -406,14 +429,14 @@ module RDF::Vocab
|
|
406
429
|
type: "rdf:Property".freeze,
|
407
430
|
"vs:term_status": "testing".freeze
|
408
431
|
property :offset,
|
409
|
-
comment:
|
432
|
+
comment: "Instructs to skip N elements of the set.".freeze,
|
410
433
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
411
434
|
label: "skip".freeze,
|
412
435
|
range: "xsd:nonNegativeInteger".freeze,
|
413
436
|
type: "rdf:Property".freeze,
|
414
437
|
"vs:term_status": "testing".freeze
|
415
438
|
property :pageIndex,
|
416
|
-
comment:
|
439
|
+
comment: "Instructs to provide a specific page of the collection at a given index.".freeze,
|
417
440
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
418
441
|
label: "page index".freeze,
|
419
442
|
range: "xsd:nonNegativeInteger".freeze,
|
@@ -421,13 +444,13 @@ module RDF::Vocab
|
|
421
444
|
type: "rdf:Property".freeze,
|
422
445
|
"vs:term_status": "testing".freeze
|
423
446
|
property :pageReference,
|
424
|
-
comment:
|
447
|
+
comment: "Instructs to provide a specific page reference of the collection.".freeze,
|
425
448
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
426
449
|
label: "page reference".freeze,
|
427
450
|
type: "rdf:Property".freeze,
|
428
451
|
"vs:term_status": "testing".freeze
|
429
452
|
property :property,
|
430
|
-
comment:
|
453
|
+
comment: "A property".freeze,
|
431
454
|
domainIncludes: ["hydra:IriTemplateMapping".freeze, "hydra:SupportedProperty".freeze],
|
432
455
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
433
456
|
label: "property".freeze,
|
@@ -435,7 +458,7 @@ module RDF::Vocab
|
|
435
458
|
type: "rdf:Property".freeze,
|
436
459
|
"vs:term_status": "testing".freeze
|
437
460
|
property :readable,
|
438
|
-
comment:
|
461
|
+
comment: "True if the client can retrieve the property's value, false otherwise.".freeze,
|
439
462
|
domain: "hydra:SupportedProperty".freeze,
|
440
463
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
441
464
|
label: "readable".freeze,
|
@@ -443,15 +466,22 @@ module RDF::Vocab
|
|
443
466
|
type: "rdf:Property".freeze,
|
444
467
|
"vs:term_status": "testing".freeze
|
445
468
|
property :required,
|
446
|
-
comment:
|
469
|
+
comment: "True if the property is required, false otherwise.".freeze,
|
447
470
|
domainIncludes: ["hydra:IriTemplateMapping".freeze, "hydra:SupportedProperty".freeze],
|
448
471
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
449
472
|
label: "required".freeze,
|
450
473
|
range: "xsd:boolean".freeze,
|
451
474
|
type: "rdf:Property".freeze,
|
452
475
|
"vs:term_status": "testing".freeze
|
476
|
+
property :resolveRelativeUsing,
|
477
|
+
domain: "hydra:IriTemplate".freeze,
|
478
|
+
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
479
|
+
label: "relative Uri resolution".freeze,
|
480
|
+
range: "hydra:BaseUriSource".freeze,
|
481
|
+
type: "rdf:Property".freeze,
|
482
|
+
"vs:term_status": "testing".freeze
|
453
483
|
property :returnsHeader,
|
454
|
-
comment:
|
484
|
+
comment: "Name of the header returned by the operation.".freeze,
|
455
485
|
domain: "hydra:Operation".freeze,
|
456
486
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
457
487
|
label: "returns header".freeze,
|
@@ -459,7 +489,7 @@ module RDF::Vocab
|
|
459
489
|
type: "rdf:Property".freeze,
|
460
490
|
"vs:term_status": "testing".freeze
|
461
491
|
property :statusCode,
|
462
|
-
comment:
|
492
|
+
comment: "The HTTP status code".freeze,
|
463
493
|
domain: "hydra:Status".freeze,
|
464
494
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
465
495
|
label: "status code".freeze,
|
@@ -467,7 +497,7 @@ module RDF::Vocab
|
|
467
497
|
type: "rdf:Property".freeze,
|
468
498
|
"vs:term_status": "testing".freeze
|
469
499
|
property :template,
|
470
|
-
comment:
|
500
|
+
comment: "A templated string with placeholders. The literal's datatype indicates the template syntax; if not specified, hydra:Rfc6570Template is assumed.".freeze,
|
471
501
|
domain: "hydra:IriTemplate".freeze,
|
472
502
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
473
503
|
label: "template".freeze,
|
@@ -476,7 +506,7 @@ module RDF::Vocab
|
|
476
506
|
type: "rdf:Property".freeze,
|
477
507
|
"vs:term_status": "testing".freeze
|
478
508
|
property :title,
|
479
|
-
comment:
|
509
|
+
comment: "A title, often used along with a description.".freeze,
|
480
510
|
domainIncludes: ["hydra:ApiDocumentation".freeze, "hydra:Class".freeze, "hydra:Link".freeze, "hydra:Operation".freeze, "hydra:Status".freeze, "hydra:SupportedProperty".freeze, "hydra:TemplatedLink".freeze],
|
481
511
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
482
512
|
label: "title".freeze,
|
@@ -485,7 +515,7 @@ module RDF::Vocab
|
|
485
515
|
type: "rdf:Property".freeze,
|
486
516
|
"vs:term_status": "testing".freeze
|
487
517
|
property :totalItems,
|
488
|
-
comment:
|
518
|
+
comment: "The total number of items referenced by a collection.".freeze,
|
489
519
|
domain: "hydra:Collection".freeze,
|
490
520
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
491
521
|
label: "total items".freeze,
|
@@ -493,7 +523,7 @@ module RDF::Vocab
|
|
493
523
|
type: "rdf:Property".freeze,
|
494
524
|
"vs:term_status": "testing".freeze
|
495
525
|
property :variable,
|
496
|
-
comment:
|
526
|
+
comment: "An IRI template variable".freeze,
|
497
527
|
domain: "hydra:IriTemplateMapping".freeze,
|
498
528
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
499
529
|
label: "variable".freeze,
|
@@ -501,25 +531,25 @@ module RDF::Vocab
|
|
501
531
|
type: "rdf:Property".freeze,
|
502
532
|
"vs:term_status": "testing".freeze
|
503
533
|
property :variableRepresentation,
|
504
|
-
comment:
|
534
|
+
comment: "The representation format to use when expanding the IRI template.".freeze,
|
505
535
|
domain: "hydra:IriTemplateMapping".freeze,
|
506
536
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
507
537
|
label: "variable representation".freeze,
|
508
538
|
range: "hydra:VariableRepresentation".freeze,
|
509
539
|
type: "rdf:Property".freeze,
|
510
540
|
"vs:term_status": "testing".freeze
|
511
|
-
property :
|
512
|
-
comment:
|
541
|
+
property :writable,
|
542
|
+
comment: "True if the client can change the property's value, false otherwise.".freeze,
|
513
543
|
domain: "hydra:SupportedProperty".freeze,
|
514
544
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
515
|
-
label: "
|
545
|
+
label: "writable".freeze,
|
516
546
|
range: "xsd:boolean".freeze,
|
517
547
|
type: "rdf:Property".freeze,
|
518
548
|
"vs:term_status": "testing".freeze
|
519
549
|
|
520
550
|
# Datatype definitions
|
521
551
|
term :Rfc6570Template,
|
522
|
-
comment:
|
552
|
+
comment: "An IRI template as defined by RFC6570.".freeze,
|
523
553
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
524
554
|
label: "RFC6570 IRI template".freeze,
|
525
555
|
range: "xsd:string".freeze,
|
@@ -529,19 +559,31 @@ module RDF::Vocab
|
|
529
559
|
|
530
560
|
# Extra definitions
|
531
561
|
term :BasicRepresentation,
|
532
|
-
comment:
|
562
|
+
comment: "A representation that serializes just the lexical form of a variable value, but omits language and type information.".freeze,
|
533
563
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
534
564
|
label: "BasicRepresentation".freeze,
|
535
565
|
type: "hydra:VariableRepresentation".freeze,
|
536
566
|
"vs:term_status": "testing".freeze
|
537
567
|
term :ExplicitRepresentation,
|
538
|
-
comment:
|
568
|
+
comment: "A representation that serializes a variable value including its language and type information and thus differentiating between IRIs and literals.".freeze,
|
539
569
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
540
570
|
label: "ExplicitRepresentation".freeze,
|
541
571
|
type: "hydra:VariableRepresentation".freeze,
|
542
572
|
"vs:term_status": "testing".freeze
|
573
|
+
term :LinkContext,
|
574
|
+
comment: "States that the link's context IRI, as defined in RFC 5988, should be used as the base Uri".freeze,
|
575
|
+
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
576
|
+
label: "Link context".freeze,
|
577
|
+
type: "hydra:BaseUriSource".freeze,
|
578
|
+
"vs:term_status": "testing".freeze
|
579
|
+
term :Rfc3986,
|
580
|
+
comment: "States that the base Uri should be established using RFC 3986 reference resolution algorithm specified in section 5.".freeze,
|
581
|
+
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
582
|
+
label: "RFC 3986 based".freeze,
|
583
|
+
type: "hydra:BaseUriSource".freeze,
|
584
|
+
"vs:term_status": "testing".freeze
|
543
585
|
term :apiDocumentation,
|
544
|
-
comment:
|
586
|
+
comment: "A link to the API documentation".freeze,
|
545
587
|
domain: "hydra:Resource".freeze,
|
546
588
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
547
589
|
label: "apiDocumentation".freeze,
|
@@ -549,15 +591,14 @@ module RDF::Vocab
|
|
549
591
|
type: "hydra:Link".freeze,
|
550
592
|
"vs:term_status": "testing".freeze
|
551
593
|
term :collection,
|
552
|
-
comment:
|
553
|
-
domain: "hydra:Resource".freeze,
|
594
|
+
comment: "Collections somehow related to this resource.".freeze,
|
554
595
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
555
596
|
label: "collection".freeze,
|
556
597
|
range: "hydra:Collection".freeze,
|
557
598
|
type: "hydra:Link".freeze,
|
558
599
|
"vs:term_status": "testing".freeze
|
559
600
|
term :entrypoint,
|
560
|
-
comment:
|
601
|
+
comment: "A link to main entry point of the Web API".freeze,
|
561
602
|
domain: "hydra:ApiDocumentation".freeze,
|
562
603
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
563
604
|
label: "entrypoint".freeze,
|
@@ -565,16 +606,15 @@ module RDF::Vocab
|
|
565
606
|
type: "hydra:Link".freeze,
|
566
607
|
"vs:term_status": "testing".freeze
|
567
608
|
term :expects,
|
568
|
-
comment:
|
609
|
+
comment: "The information expected by the Web API.".freeze,
|
569
610
|
domain: "hydra:Operation".freeze,
|
570
611
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
571
612
|
label: "expects".freeze,
|
572
|
-
|
573
|
-
rangeIncludes: ["hydra:Class".freeze, "hydra:Resource".freeze],
|
613
|
+
rangeIncludes: ["hydra:Class".freeze, "hydra:Resource".freeze, "rdfs:Class".freeze, "rdfs:Resource".freeze],
|
574
614
|
type: "hydra:Link".freeze,
|
575
615
|
"vs:term_status": "testing".freeze
|
576
616
|
term :first,
|
577
|
-
comment:
|
617
|
+
comment: "The first resource of an interlinked set of resources.".freeze,
|
578
618
|
domain: "hydra:Resource".freeze,
|
579
619
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
580
620
|
label: "first".freeze,
|
@@ -582,7 +622,7 @@ module RDF::Vocab
|
|
582
622
|
type: "hydra:Link".freeze,
|
583
623
|
"vs:term_status": "testing".freeze
|
584
624
|
term :last,
|
585
|
-
comment:
|
625
|
+
comment: "The last resource of an interlinked set of resources.".freeze,
|
586
626
|
domain: "hydra:Resource".freeze,
|
587
627
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
588
628
|
label: "last".freeze,
|
@@ -590,21 +630,26 @@ module RDF::Vocab
|
|
590
630
|
type: "hydra:Link".freeze,
|
591
631
|
"vs:term_status": "testing".freeze
|
592
632
|
term :manages,
|
593
|
-
comment:
|
594
|
-
domain: "hydra:Collection".freeze,
|
633
|
+
comment: "This predicate is left for compatibility purposes and hydra:memberAssertion should be used instead.".freeze,
|
595
634
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
596
635
|
label: "manages".freeze,
|
597
|
-
|
636
|
+
subPropertyOf: "hydra:memberAssertion".freeze,
|
637
|
+
"vs:term_status": "archaic".freeze
|
598
638
|
term :member,
|
599
|
-
comment:
|
639
|
+
comment: "A member of the collection".freeze,
|
600
640
|
domain: "hydra:Collection".freeze,
|
601
641
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
602
642
|
label: "member".freeze,
|
603
|
-
range: "hydra:Resource".freeze,
|
604
643
|
type: "hydra:Link".freeze,
|
605
644
|
"vs:term_status": "testing".freeze
|
645
|
+
term :memberAssertion,
|
646
|
+
comment: "Semantics of each member provided by the collection.".freeze,
|
647
|
+
domain: "hydra:Collection".freeze,
|
648
|
+
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
649
|
+
label: "member assertion".freeze,
|
650
|
+
"vs:term_status": "testing".freeze
|
606
651
|
term :next,
|
607
|
-
comment:
|
652
|
+
comment: "The resource following the current instance in an interlinked set of resources.".freeze,
|
608
653
|
domain: "hydra:Resource".freeze,
|
609
654
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
610
655
|
label: "next".freeze,
|
@@ -612,12 +657,12 @@ module RDF::Vocab
|
|
612
657
|
type: "hydra:Link".freeze,
|
613
658
|
"vs:term_status": "testing".freeze
|
614
659
|
term :object,
|
615
|
-
comment:
|
660
|
+
comment: "The object.".freeze,
|
616
661
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
617
662
|
label: "object".freeze,
|
618
663
|
"vs:term_status": "testing".freeze
|
619
664
|
term :operation,
|
620
|
-
comment:
|
665
|
+
comment: "An operation supported by the Hydra resource".freeze,
|
621
666
|
domain: "hydra:Resource".freeze,
|
622
667
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
623
668
|
label: "operation".freeze,
|
@@ -625,7 +670,7 @@ module RDF::Vocab
|
|
625
670
|
type: "hydra:Link".freeze,
|
626
671
|
"vs:term_status": "testing".freeze
|
627
672
|
term :possibleStatus,
|
628
|
-
comment:
|
673
|
+
comment: "A status that might be returned by the Web API (other statuses should be expected and properly handled as well)".freeze,
|
629
674
|
domainIncludes: ["hydra:ApiDocumentation".freeze, "hydra:Operation".freeze],
|
630
675
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
631
676
|
label: "possible status".freeze,
|
@@ -633,7 +678,7 @@ module RDF::Vocab
|
|
633
678
|
type: "hydra:Link".freeze,
|
634
679
|
"vs:term_status": "testing".freeze
|
635
680
|
term :previous,
|
636
|
-
comment:
|
681
|
+
comment: "The resource preceding the current instance in an interlinked set of resources.".freeze,
|
637
682
|
domain: "hydra:Resource".freeze,
|
638
683
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
639
684
|
label: "previous".freeze,
|
@@ -641,16 +686,15 @@ module RDF::Vocab
|
|
641
686
|
type: "hydra:Link".freeze,
|
642
687
|
"vs:term_status": "testing".freeze
|
643
688
|
term :returns,
|
644
|
-
comment:
|
689
|
+
comment: "The information returned by the Web API on success".freeze,
|
645
690
|
domain: "hydra:Operation".freeze,
|
646
691
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
647
692
|
label: "returns".freeze,
|
648
|
-
|
649
|
-
rangeIncludes: ["hydra:Class".freeze, "hydra:Resource".freeze],
|
693
|
+
rangeIncludes: ["hydra:Class".freeze, "hydra:Resource".freeze, "rdfs:Class".freeze, "rdfs:Resource".freeze],
|
650
694
|
type: "hydra:Link".freeze,
|
651
695
|
"vs:term_status": "testing".freeze
|
652
696
|
term :search,
|
653
|
-
comment:
|
697
|
+
comment: "A IRI template that can be used to query a collection.".freeze,
|
654
698
|
domain: "hydra:Resource".freeze,
|
655
699
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
656
700
|
label: "search".freeze,
|
@@ -658,41 +702,45 @@ module RDF::Vocab
|
|
658
702
|
type: "hydra:TemplatedLink".freeze,
|
659
703
|
"vs:term_status": "testing".freeze
|
660
704
|
term :subject,
|
661
|
-
comment:
|
705
|
+
comment: "The subject.".freeze,
|
662
706
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
663
707
|
label: "subject".freeze,
|
664
708
|
"vs:term_status": "testing".freeze
|
665
709
|
term :supportedClass,
|
666
|
-
comment:
|
710
|
+
comment: "A class known to be supported by the Web API".freeze,
|
667
711
|
domain: "hydra:ApiDocumentation".freeze,
|
668
712
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
669
713
|
label: "supported classes".freeze,
|
670
|
-
range: "
|
714
|
+
range: "rdfs:Class".freeze,
|
671
715
|
type: "hydra:Link".freeze,
|
672
716
|
"vs:term_status": "testing".freeze
|
673
717
|
term :supportedOperation,
|
674
|
-
comment:
|
675
|
-
domainIncludes: ["hydra:Class".freeze, "hydra:Link".freeze, "hydra:SupportedProperty".freeze, "hydra:TemplatedLink".freeze],
|
718
|
+
comment: "An operation supported by instances of the specific Hydra class or the target of the Hydra link".freeze,
|
719
|
+
domainIncludes: ["hydra:Class".freeze, "hydra:Link".freeze, "hydra:SupportedProperty".freeze, "hydra:TemplatedLink".freeze, "rdfs:Class".freeze],
|
676
720
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
677
721
|
label: "supported operation".freeze,
|
678
722
|
range: "hydra:Operation".freeze,
|
679
723
|
type: "hydra:Link".freeze,
|
680
724
|
"vs:term_status": "testing".freeze
|
681
725
|
term :supportedProperty,
|
682
|
-
comment:
|
683
|
-
domain: "
|
726
|
+
comment: "The properties known to be supported by a Hydra class".freeze,
|
727
|
+
domain: "rdfs:Class".freeze,
|
684
728
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
685
729
|
label: "supported properties".freeze,
|
686
730
|
range: "hydra:SupportedProperty".freeze,
|
687
731
|
type: "hydra:Link".freeze,
|
688
732
|
"vs:term_status": "testing".freeze
|
689
733
|
term :view,
|
690
|
-
comment:
|
691
|
-
domain: "hydra:Resource".freeze,
|
734
|
+
comment: "A specific view of a resource.".freeze,
|
692
735
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
693
736
|
label: "view".freeze,
|
694
|
-
range: "hydra:Resource".freeze,
|
695
737
|
type: "hydra:Link".freeze,
|
696
738
|
"vs:term_status": "testing".freeze
|
739
|
+
term :writeable,
|
740
|
+
comment: "This property is left for compatibility purposes and hydra:writable should be used instead.".freeze,
|
741
|
+
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
742
|
+
label: "writable".freeze,
|
743
|
+
subPropertyOf: "hydra:writable".freeze,
|
744
|
+
"vs:term_status": "archaic".freeze
|
697
745
|
end
|
698
746
|
end
|