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.
Files changed (87) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +1 -1
  3. data/README.md +69 -45
  4. data/VERSION +1 -1
  5. data/lib/rdf/vocab.rb +60 -40
  6. data/lib/rdf/vocab/acl.rb +104 -61
  7. data/lib/rdf/vocab/as.rb +556 -91
  8. data/lib/rdf/vocab/bf2.rb +1791 -475
  9. data/lib/rdf/vocab/bibframe.rb +1 -2
  10. data/lib/rdf/vocab/bibo.rb +616 -124
  11. data/lib/rdf/vocab/cc.rb +125 -48
  12. data/lib/rdf/vocab/cert.rb +68 -1
  13. data/lib/rdf/vocab/cnt.rb +79 -1
  14. data/lib/rdf/vocab/crm.rb +1543 -776
  15. data/lib/rdf/vocab/datacite.rb +1 -1
  16. data/lib/rdf/vocab/dbo.rb +10463 -1
  17. data/lib/rdf/vocab/dc.rb +485 -99
  18. data/lib/rdf/vocab/dc11.rb +93 -31
  19. data/lib/rdf/vocab/dcat.rb +236 -88
  20. data/lib/rdf/vocab/dcmitype.rb +63 -13
  21. data/lib/rdf/vocab/disco.rb +286 -59
  22. data/lib/rdf/vocab/doap.rb +175 -1
  23. data/lib/rdf/vocab/dwc.rb +941 -189
  24. data/lib/rdf/vocab/earl.rb +324 -0
  25. data/lib/rdf/vocab/ebucore.rb +7255 -2184
  26. data/lib/rdf/vocab/edm.rb +202 -76
  27. data/lib/rdf/vocab/exif.rb +650 -1
  28. data/lib/rdf/vocab/extensions.rb +257 -203
  29. data/lib/rdf/vocab/fcrepo4.rb +398 -22
  30. data/lib/rdf/vocab/foaf.rb +380 -76
  31. data/lib/rdf/vocab/geo.rb +47 -110
  32. data/lib/rdf/vocab/geojson.rb +82 -17
  33. data/lib/rdf/vocab/geonames.rb +1508 -1351
  34. data/lib/rdf/vocab/gr.rb +861 -565
  35. data/lib/rdf/vocab/gs1.rb +1597 -1
  36. data/lib/rdf/vocab/ht.rb +204 -41
  37. data/lib/rdf/vocab/hydra.rb +335 -60
  38. data/lib/rdf/vocab/iana.rb +301 -114
  39. data/lib/rdf/vocab/ical.rb +534 -121
  40. data/lib/rdf/vocab/identifiers.rb +459 -499
  41. data/lib/rdf/vocab/iiif.rb +161 -26
  42. data/lib/rdf/vocab/jsonld.rb +179 -53
  43. data/lib/rdf/vocab/ldp.rb +130 -1
  44. data/lib/rdf/vocab/lrmi.rb +85 -17
  45. data/lib/rdf/vocab/ma.rb +460 -80
  46. data/lib/rdf/vocab/mads.rb +610 -22
  47. data/lib/rdf/vocab/{marc_relators.rb → marcrelators.rb} +813 -4
  48. data/lib/rdf/vocab/mo.rb +1115 -540
  49. data/lib/rdf/vocab/mods.rb +635 -124
  50. data/lib/rdf/vocab/nfo.rb +1 -1
  51. data/lib/rdf/vocab/oa.rb +343 -73
  52. data/lib/rdf/vocab/og.rb +100 -1
  53. data/lib/rdf/vocab/ogc.rb +42 -9
  54. data/lib/rdf/vocab/ore.rb +69 -14
  55. data/lib/rdf/vocab/org.rb +235 -47
  56. data/lib/rdf/vocab/pcdm.rb +58 -34
  57. data/lib/rdf/vocab/pplan.rb +21 -136
  58. data/lib/rdf/vocab/premis.rb +1171 -779
  59. data/lib/rdf/vocab/{premis_event_type.rb → premiseventtype.rb} +156 -2
  60. data/lib/rdf/vocab/prov.rb +700 -107
  61. data/lib/rdf/vocab/ptr.rb +172 -37
  62. data/lib/rdf/vocab/rightsstatements.rb +17 -13
  63. data/lib/rdf/vocab/rsa.rb +30 -1
  64. data/lib/rdf/vocab/rss.rb +52 -11
  65. data/lib/rdf/vocab/schema.rb +14970 -3993
  66. data/lib/rdf/vocab/schemas.rb +27066 -0
  67. data/lib/rdf/vocab/sd.rb +372 -0
  68. data/lib/rdf/vocab/sh.rb +919 -184
  69. data/lib/rdf/vocab/sioc.rb +498 -98
  70. data/lib/rdf/vocab/{sioc_services.rb → siocservices.rb} +46 -9
  71. data/lib/rdf/vocab/sioctypes.rb +434 -0
  72. data/lib/rdf/vocab/skos.rb +160 -44
  73. data/lib/rdf/vocab/skosxl.rb +40 -11
  74. data/lib/rdf/vocab/v.rb +323 -37
  75. data/lib/rdf/vocab/vcard.rb +625 -119
  76. data/lib/rdf/vocab/vmd.rb +323 -37
  77. data/lib/rdf/vocab/void.rb +147 -27
  78. data/lib/rdf/vocab/vs.rb +23 -5
  79. data/lib/rdf/vocab/wdrs.rb +112 -23
  80. data/lib/rdf/vocab/wot.rb +96 -19
  81. data/lib/rdf/vocab/xhtml.rb +2 -1
  82. data/lib/rdf/vocab/xhv.rb +422 -201
  83. data/lib/rdf/vocab/xkos.rb +156 -7
  84. data/spec/extensions_spec.rb +68 -0
  85. data/spec/vocab_spec.rb +10 -0
  86. metadata +20 -11
  87. data/lib/rdf/vocab/sioct.rb +0 -277
@@ -5,13 +5,176 @@ require 'rdf'
5
5
  module RDF::Vocab
6
6
  # @!parse
7
7
  # # Vocabulary for <http://www.w3.org/2011/http#>
8
+ # #
9
+ # # HTTP in RDF
10
+ # #
11
+ # # A namespace for describing HTTP messages (http://www.w3.org/Protocols/rfc2616/rfc2616.html)
12
+ # # @version Working Draft 29 April 2011
13
+ # # @see http://www.w3.org/WAI/intro/earl
14
+ # # @see http://www.w3.org/TR/Content-in-RDF/
8
15
  # class HT < RDF::StrictVocabulary
16
+ # # A connection used for HTTP transfer.
17
+ # # @return [RDF::Vocabulary::Term]
18
+ # attr_reader :Connection
19
+ #
20
+ # # An entity header in an HTTP message.
21
+ # # @return [RDF::Vocabulary::Term]
22
+ # attr_reader :EntityHeader
23
+ #
24
+ # # A general header in an HTTP message.
25
+ # # @return [RDF::Vocabulary::Term]
26
+ # attr_reader :GeneralHeader
27
+ #
28
+ # # A part of a deconstructed header value.
29
+ # # @return [RDF::Vocabulary::Term]
30
+ # attr_reader :HeaderElement
31
+ #
32
+ # # A header name.
33
+ # # @return [RDF::Vocabulary::Term]
34
+ # attr_reader :HeaderName
35
+ #
36
+ # # An HTTP message.
37
+ # # @return [RDF::Vocabulary::Term]
38
+ # attr_reader :Message
39
+ #
40
+ # # A header in an HTTP message.
41
+ # # @return [RDF::Vocabulary::Term]
42
+ # attr_reader :MessageHeader
43
+ #
44
+ # # The HTTP method used for the request.
45
+ # # @return [RDF::Vocabulary::Term]
46
+ # attr_reader :Method
47
+ #
48
+ # # A parameter for a part of a header value.
49
+ # # @return [RDF::Vocabulary::Term]
50
+ # attr_reader :Parameter
51
+ #
52
+ # # An HTTP request.
53
+ # # @return [RDF::Vocabulary::Term]
54
+ # attr_reader :Request
55
+ #
56
+ # # A header in an HTTP request message.
57
+ # # @return [RDF::Vocabulary::Term]
58
+ # attr_reader :RequestHeader
59
+ #
60
+ # # An HTTP response.
61
+ # # @return [RDF::Vocabulary::Term]
62
+ # attr_reader :Response
63
+ #
64
+ # # A header in an HTTP response message.
65
+ # # @return [RDF::Vocabulary::Term]
66
+ # attr_reader :ResponseHeader
67
+ #
68
+ # # The status code of an HTTP response.
69
+ # # @return [RDF::Vocabulary::Term]
70
+ # attr_reader :StatusCode
71
+ #
72
+ # # The absolute path sort of request URI.
73
+ # # @return [RDF::Vocabulary::Term]
74
+ # attr_reader :absolutePath
75
+ #
76
+ # # The absolute request URI.
77
+ # # @return [RDF::Vocabulary::Term]
78
+ # attr_reader :absoluteURI
79
+ #
80
+ # # The authority sort of request URI.
81
+ # # @return [RDF::Vocabulary::Term]
82
+ # attr_reader :authority
83
+ #
84
+ # # The entity body of an HTTP message.
85
+ # # @return [RDF::Vocabulary::Term]
86
+ # attr_reader :body
87
+ #
88
+ # # The authority of a connection used for the HTTP transfer.
89
+ # # @return [RDF::Vocabulary::Term]
90
+ # attr_reader :connectionAuthority
91
+ #
92
+ # # The name of a header element.
93
+ # # @return [RDF::Vocabulary::Term]
94
+ # attr_reader :elementName
95
+ #
96
+ # # The value of a header element.
97
+ # # @return [RDF::Vocabulary::Term]
98
+ # attr_reader :elementValue
99
+ #
100
+ # # The name of an HTTP header field.
101
+ # # @return [RDF::Vocabulary::Term]
102
+ # attr_reader :fieldName
103
+ #
104
+ # # The value of an HTTP header field.
105
+ # # @return [RDF::Vocabulary::Term]
106
+ # attr_reader :fieldValue
107
+ #
108
+ # # The name of an HTTP header.
109
+ # # @return [RDF::Vocabulary::Term]
110
+ # attr_reader :hdrName
111
+ #
112
+ # # The deconstructed parts of an HTTP header value.
113
+ # # @return [RDF::Vocabulary::Term]
114
+ # attr_reader :headerElements
115
+ #
116
+ # # The headers in an HTTP message.
117
+ # # @return [RDF::Vocabulary::Term]
118
+ # attr_reader :headers
119
+ #
120
+ # # The HTTP version of an HTTP message.
121
+ # # @return [RDF::Vocabulary::Term]
122
+ # attr_reader :httpVersion
123
+ #
124
+ # # The HTTP method name used for the HTTP request.
125
+ # # @return [RDF::Vocabulary::Term]
126
+ # attr_reader :methodName
127
+ #
128
+ # # The HTTP method used for the HTTP request.
129
+ # # @return [RDF::Vocabulary::Term]
130
+ # attr_reader :mthd
131
+ #
132
+ # # The name of a parameter in a part of a deconstructed HTTP header value.
133
+ # # @return [RDF::Vocabulary::Term]
134
+ # attr_reader :paramName
135
+ #
136
+ # # The value of a parameter in a part of a deconstructed HTTP header value.
137
+ # # @return [RDF::Vocabulary::Term]
138
+ # attr_reader :paramValue
139
+ #
140
+ # # The parameters in a part of a deconstructed HTTP header value.
141
+ # # @return [RDF::Vocabulary::Term]
142
+ # attr_reader :params
143
+ #
144
+ # # The reason phrase (status text) of an HTTP response.
145
+ # # @return [RDF::Vocabulary::Term]
146
+ # attr_reader :reasonPhrase
147
+ #
148
+ # # The request URI of an HTTP request.
149
+ # # @return [RDF::Vocabulary::Term]
150
+ # attr_reader :requestURI
151
+ #
152
+ # # The HTTP requests made via a connection.
153
+ # # @return [RDF::Vocabulary::Term]
154
+ # attr_reader :requests
155
+ #
156
+ # # The HTTP response sent in answer to an HTTP request.
157
+ # # @return [RDF::Vocabulary::Term]
158
+ # attr_reader :resp
159
+ #
160
+ # # The status code of an HTTP response.
161
+ # # @return [RDF::Vocabulary::Term]
162
+ # attr_reader :sc
163
+ #
164
+ # # The status code number.
165
+ # # @return [RDF::Vocabulary::Term]
166
+ # attr_reader :statusCodeNumber
167
+ #
168
+ # # The status code value of an HTTP response.
169
+ # # @return [RDF::Vocabulary::Term]
170
+ # attr_reader :statusCodeValue
171
+ #
9
172
  # end
10
- class HT < RDF::StrictVocabulary("http://www.w3.org/2011/http#")
173
+ HT = Class.new(RDF::StrictVocabulary("http://www.w3.org/2011/http#")) do
11
174
 
12
175
  # Ontology definition
13
176
  ontology :"http://www.w3.org/2011/http#",
14
- comment: %(A namespace for describing HTTP messages \(http://www.w3.org/Protocols/rfc2616/rfc2616.html\)).freeze,
177
+ comment: "A namespace for describing HTTP messages (http://www.w3.org/Protocols/rfc2616/rfc2616.html)".freeze,
15
178
  isDefinedBy: "http://www.w3.org/TR/HTTP-in-RDF/".freeze,
16
179
  label: "HTTP in RDF".freeze,
17
180
  "owl:imports": ["cnt:".freeze, "dc:".freeze],
@@ -21,218 +184,218 @@ module RDF::Vocab
21
184
 
22
185
  # Class definitions
23
186
  term :Connection,
24
- comment: %(A connection used for HTTP transfer.).freeze,
187
+ comment: "A connection used for HTTP transfer.".freeze,
25
188
  isDefinedBy: "http://www.ietf.org/rfc/rfc2616.txt".freeze,
26
189
  label: "Connection".freeze,
27
190
  type: ["owl:Class".freeze, "rdfs:Class".freeze]
28
191
  term :EntityHeader,
29
- comment: %(An entity header in an HTTP message.).freeze,
192
+ comment: "An entity header in an HTTP message.".freeze,
30
193
  label: "Entity Header".freeze,
31
194
  subClassOf: "ht:MessageHeader".freeze,
32
195
  type: ["owl:Class".freeze, "rdfs:Class".freeze]
33
196
  term :GeneralHeader,
34
- comment: %(A general header in an HTTP message.).freeze,
197
+ comment: "A general header in an HTTP message.".freeze,
35
198
  label: "General Header".freeze,
36
199
  subClassOf: "ht:MessageHeader".freeze,
37
200
  type: ["owl:Class".freeze, "rdfs:Class".freeze]
38
201
  term :HeaderElement,
39
- comment: %(A part of a deconstructed header value.).freeze,
202
+ comment: "A part of a deconstructed header value.".freeze,
40
203
  label: "Header Element".freeze,
41
204
  type: ["owl:Class".freeze, "rdfs:Class".freeze]
42
205
  term :HeaderName,
43
- comment: %(A header name.).freeze,
206
+ comment: "A header name.".freeze,
44
207
  label: "Header Name".freeze,
45
208
  type: ["owl:Class".freeze, "rdfs:Class".freeze]
46
209
  term :Message,
47
- comment: %(An HTTP message.).freeze,
210
+ comment: "An HTTP message.".freeze,
48
211
  isDefinedBy: "http://www.ietf.org/rfc/rfc2616.txt".freeze,
49
212
  label: "Message".freeze,
50
213
  type: ["owl:Class".freeze, "rdfs:Class".freeze]
51
214
  term :MessageHeader,
52
- comment: %(A header in an HTTP message.).freeze,
215
+ comment: "A header in an HTTP message.".freeze,
53
216
  label: "Message Header".freeze,
54
217
  type: ["owl:Class".freeze, "rdfs:Class".freeze]
55
218
  term :Method,
56
- comment: %(The HTTP method used for the request.).freeze,
219
+ comment: "The HTTP method used for the request.".freeze,
57
220
  isDefinedBy: "http://www.ietf.org/rfc/rfc2616.txt".freeze,
58
221
  label: "Method".freeze,
59
222
  type: ["owl:Class".freeze, "rdfs:Class".freeze]
60
223
  term :Parameter,
61
- comment: %(A parameter for a part of a header value.).freeze,
224
+ comment: "A parameter for a part of a header value.".freeze,
62
225
  label: "Parameter".freeze,
63
226
  type: ["owl:Class".freeze, "rdfs:Class".freeze]
64
227
  term :Request,
65
- comment: %(An HTTP request.).freeze,
228
+ comment: "An HTTP request.".freeze,
66
229
  isDefinedBy: "http://www.ietf.org/rfc/rfc2616.txt".freeze,
67
230
  label: "Request".freeze,
68
231
  subClassOf: "ht:Message".freeze,
69
232
  type: ["owl:Class".freeze, "rdfs:Class".freeze]
70
233
  term :RequestHeader,
71
- comment: %(A header in an HTTP request message.).freeze,
234
+ comment: "A header in an HTTP request message.".freeze,
72
235
  label: "Request Header".freeze,
73
236
  subClassOf: "ht:MessageHeader".freeze,
74
237
  type: ["owl:Class".freeze, "rdfs:Class".freeze]
75
238
  term :Response,
76
- comment: %(An HTTP response.).freeze,
239
+ comment: "An HTTP response.".freeze,
77
240
  isDefinedBy: "http://www.ietf.org/rfc/rfc2616.txt".freeze,
78
241
  label: "Response".freeze,
79
242
  subClassOf: "ht:Message".freeze,
80
243
  type: ["owl:Class".freeze, "rdfs:Class".freeze]
81
244
  term :ResponseHeader,
82
- comment: %(A header in an HTTP response message.).freeze,
245
+ comment: "A header in an HTTP response message.".freeze,
83
246
  label: "Response Header".freeze,
84
247
  subClassOf: "ht:MessageHeader".freeze,
85
248
  type: ["owl:Class".freeze, "rdfs:Class".freeze]
86
249
  term :StatusCode,
87
- comment: %(The status code of an HTTP response.).freeze,
250
+ comment: "The status code of an HTTP response.".freeze,
88
251
  isDefinedBy: "http://www.ietf.org/rfc/rfc2616.txt".freeze,
89
252
  label: "Status code".freeze,
90
253
  type: ["owl:Class".freeze, "rdfs:Class".freeze]
91
254
 
92
255
  # Property definitions
93
256
  property :absolutePath,
94
- comment: %(The absolute path sort of request URI.).freeze,
257
+ comment: "The absolute path sort of request URI.".freeze,
95
258
  label: "Absolute path".freeze,
96
259
  subPropertyOf: "ht:requestURI".freeze,
97
260
  type: "rdf:Property".freeze
98
261
  property :absoluteURI,
99
- comment: %(The absolute request URI.).freeze,
262
+ comment: "The absolute request URI.".freeze,
100
263
  label: "Absolute URI".freeze,
101
264
  subPropertyOf: "ht:requestURI".freeze,
102
265
  type: "rdf:Property".freeze
103
266
  property :authority,
104
- comment: %(The authority sort of request URI.).freeze,
267
+ comment: "The authority sort of request URI.".freeze,
105
268
  label: "Authority".freeze,
106
269
  subPropertyOf: "ht:requestURI".freeze,
107
270
  type: "rdf:Property".freeze
108
271
  property :body,
109
- comment: %(The entity body of an HTTP message.).freeze,
272
+ comment: "The entity body of an HTTP message.".freeze,
110
273
  domain: "ht:Message".freeze,
111
274
  isDefinedBy: "http://www.ietf.org/rfc/rfc2616.txt".freeze,
112
275
  label: "Entity Body".freeze,
113
276
  range: "cnt:ContentAsBase64".freeze,
114
277
  type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
115
278
  property :connectionAuthority,
116
- comment: %(The authority of a connection used for the HTTP transfer.).freeze,
279
+ comment: "The authority of a connection used for the HTTP transfer.".freeze,
117
280
  domain: "ht:Connection".freeze,
118
281
  label: "Connection authority".freeze,
119
282
  range: "rdfs:Literal".freeze,
120
283
  type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
121
284
  property :elementName,
122
- comment: %(The name of a header element.).freeze,
285
+ comment: "The name of a header element.".freeze,
123
286
  domain: "ht:HeaderElement".freeze,
124
287
  label: "Header element name".freeze,
125
288
  range: "rdfs:Literal".freeze,
126
289
  type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
127
290
  property :elementValue,
128
- comment: %(The value of a header element.).freeze,
291
+ comment: "The value of a header element.".freeze,
129
292
  domain: "ht:HeaderElement".freeze,
130
293
  label: "Header element value".freeze,
131
294
  range: "rdfs:Literal".freeze,
132
295
  type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
133
296
  property :fieldName,
134
- comment: %(The name of an HTTP header field.).freeze,
297
+ comment: "The name of an HTTP header field.".freeze,
135
298
  domain: "ht:MessageHeader".freeze,
136
299
  label: "Field name".freeze,
137
300
  range: "rdfs:Literal".freeze,
138
301
  type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
139
302
  property :fieldValue,
140
- comment: %(The value of an HTTP header field.).freeze,
303
+ comment: "The value of an HTTP header field.".freeze,
141
304
  domain: "ht:MessageHeader".freeze,
142
305
  label: "Field value".freeze,
143
306
  range: "rdfs:Literal".freeze,
144
307
  type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
145
308
  property :hdrName,
146
- comment: %(The name of an HTTP header.).freeze,
309
+ comment: "The name of an HTTP header.".freeze,
147
310
  domain: "ht:MessageHeader".freeze,
148
311
  label: "Header name".freeze,
149
312
  range: "ht:HeaderName".freeze,
150
313
  type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
151
314
  property :headerElements,
152
- comment: %(The deconstructed parts of an HTTP header value.).freeze,
315
+ comment: "The deconstructed parts of an HTTP header value.".freeze,
153
316
  domain: "ht:MessageHeader".freeze,
154
317
  label: "Header elements".freeze,
155
318
  type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
156
319
  property :headers,
157
- comment: %(The headers in an HTTP message.).freeze,
320
+ comment: "The headers in an HTTP message.".freeze,
158
321
  domain: "ht:Message".freeze,
159
322
  isDefinedBy: "http://www.ietf.org/rfc/rfc2616.txt".freeze,
160
323
  label: "Headers".freeze,
161
324
  type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
162
325
  property :httpVersion,
163
- comment: %(The HTTP version of an HTTP message.).freeze,
326
+ comment: "The HTTP version of an HTTP message.".freeze,
164
327
  domain: "ht:Message".freeze,
165
328
  isDefinedBy: "http://www.ietf.org/rfc/rfc2616.txt".freeze,
166
329
  label: "HTTP version".freeze,
167
330
  range: "rdfs:Literal".freeze,
168
331
  type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
169
332
  property :methodName,
170
- comment: %(The HTTP method name used for the HTTP request.).freeze,
333
+ comment: "The HTTP method name used for the HTTP request.".freeze,
171
334
  domain: "ht:Request".freeze,
172
335
  isDefinedBy: "http://www.ietf.org/rfc/rfc2616.txt".freeze,
173
336
  label: "Method name".freeze,
174
337
  range: "rdfs:Literal".freeze,
175
338
  type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
176
339
  property :mthd,
177
- comment: %(The HTTP method used for the HTTP request.).freeze,
340
+ comment: "The HTTP method used for the HTTP request.".freeze,
178
341
  domain: "ht:Request".freeze,
179
342
  isDefinedBy: "http://www.ietf.org/rfc/rfc2616.txt".freeze,
180
343
  label: "Method".freeze,
181
344
  range: "ht:Method".freeze,
182
345
  type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
183
346
  property :paramName,
184
- comment: %(The name of a parameter in a part of a deconstructed HTTP header value.).freeze,
347
+ comment: "The name of a parameter in a part of a deconstructed HTTP header value.".freeze,
185
348
  domain: "ht:Parameter".freeze,
186
349
  label: "Parameter name".freeze,
187
350
  range: "rdfs:Literal".freeze,
188
351
  type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
189
352
  property :paramValue,
190
- comment: %(The value of a parameter in a part of a deconstructed HTTP header value.).freeze,
353
+ comment: "The value of a parameter in a part of a deconstructed HTTP header value.".freeze,
191
354
  domain: "ht:Parameter".freeze,
192
355
  label: "Parameter value".freeze,
193
356
  range: "rdfs:Literal".freeze,
194
357
  type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
195
358
  property :params,
196
- comment: %(The parameters in a part of a deconstructed HTTP header value.).freeze,
359
+ comment: "The parameters in a part of a deconstructed HTTP header value.".freeze,
197
360
  domain: "ht:HeaderElement".freeze,
198
361
  label: "Header parameters".freeze,
199
362
  type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
200
363
  property :reasonPhrase,
201
- comment: %(The reason phrase \(status text\) of an HTTP response.).freeze,
364
+ comment: "The reason phrase (status text) of an HTTP response.".freeze,
202
365
  domain: "ht:Response".freeze,
203
366
  isDefinedBy: "http://www.ietf.org/rfc/rfc2616.txt".freeze,
204
367
  label: "Reason phrase".freeze,
205
368
  range: "rdfs:Literal".freeze,
206
369
  type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
207
370
  property :requestURI,
208
- comment: %(The request URI of an HTTP request.).freeze,
371
+ comment: "The request URI of an HTTP request.".freeze,
209
372
  domain: "ht:Request".freeze,
210
373
  isDefinedBy: "http://www.ietf.org/rfc/rfc2616.txt".freeze,
211
374
  label: "Request URI".freeze,
212
375
  range: "rdfs:Literal".freeze,
213
376
  type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
214
377
  property :requests,
215
- comment: %(The HTTP requests made via a connection.).freeze,
378
+ comment: "The HTTP requests made via a connection.".freeze,
216
379
  domain: "ht:Connection".freeze,
217
380
  isDefinedBy: "http://www.ietf.org/rfc/rfc2616.txt".freeze,
218
381
  label: "Requests".freeze,
219
382
  type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
220
383
  property :resp,
221
- comment: %(The HTTP response sent in answer to an HTTP request.).freeze,
384
+ comment: "The HTTP response sent in answer to an HTTP request.".freeze,
222
385
  domain: "ht:Request".freeze,
223
386
  isDefinedBy: "http://www.ietf.org/rfc/rfc2616.txt".freeze,
224
387
  label: "Response".freeze,
225
388
  range: "ht:Response".freeze,
226
389
  type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
227
390
  property :sc,
228
- comment: %(The status code of an HTTP response.).freeze,
391
+ comment: "The status code of an HTTP response.".freeze,
229
392
  domain: "ht:Response".freeze,
230
393
  isDefinedBy: "http://www.ietf.org/rfc/rfc2616.txt".freeze,
231
394
  label: "Status code".freeze,
232
395
  range: "ht:StatusCode".freeze,
233
396
  type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
234
397
  property :statusCodeNumber,
235
- comment: %(The status code number.).freeze,
398
+ comment: "The status code number.".freeze,
236
399
  domain: "ht:StatusCode".freeze,
237
400
  isDefinedBy: "http://www.ietf.org/rfc/rfc2616.txt".freeze,
238
401
  label: "Status code".freeze,
@@ -240,7 +403,7 @@ module RDF::Vocab
240
403
  subPropertyOf: "dc:identifier".freeze,
241
404
  type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
242
405
  property :statusCodeValue,
243
- comment: %(The status code value of an HTTP response.).freeze,
406
+ comment: "The status code value of an HTTP response.".freeze,
244
407
  domain: "ht:Response".freeze,
245
408
  isDefinedBy: "http://www.ietf.org/rfc/rfc2616.txt".freeze,
246
409
  label: "Status code".freeze,
@@ -5,16 +5,265 @@ require 'rdf'
5
5
  module RDF::Vocab
6
6
  # @!parse
7
7
  # # Vocabulary for <http://www.w3.org/ns/hydra/core#>
8
+ # #
9
+ # # The Hydra Core Vocabulary
10
+ # #
11
+ # # A lightweight vocabulary for hypermedia-driven Web APIs
12
+ # #
13
+ # # 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.
8
14
  # class HYDRA < RDF::StrictVocabulary
15
+ # # The Hydra API documentation class
16
+ # # @return [RDF::Vocabulary::Term]
17
+ # attr_reader :ApiDocumentation
18
+ #
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. Hydra classes and their instances are dereferenceable resources.
24
+ # # @return [RDF::Vocabulary::Term]
25
+ # attr_reader :Class
26
+ #
27
+ # # A collection holding references to a number of related resources.
28
+ # # @return [RDF::Vocabulary::Term]
29
+ # attr_reader :Collection
30
+ #
31
+ # # A runtime error, used to report information beyond the returned status code.
32
+ # # @return [RDF::Vocabulary::Term]
33
+ # attr_reader :Error
34
+ #
35
+ # # The class of IRI templates.
36
+ # # @return [RDF::Vocabulary::Term]
37
+ # attr_reader :IriTemplate
38
+ #
39
+ # # A mapping from an IRI template variable to a property.
40
+ # # @return [RDF::Vocabulary::Term]
41
+ # attr_reader :IriTemplateMapping
42
+ #
43
+ # # The class of properties representing links.
44
+ # # @return [RDF::Vocabulary::Term]
45
+ # attr_reader :Link
46
+ #
47
+ # # An operation.
48
+ # # @return [RDF::Vocabulary::Term]
49
+ # attr_reader :Operation
50
+ #
51
+ # # 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.
52
+ # # @return [RDF::Vocabulary::Term]
53
+ # attr_reader :PartialCollectionView
54
+ #
55
+ # # The class of dereferenceable resources.
56
+ # # @return [RDF::Vocabulary::Term]
57
+ # attr_reader :Resource
58
+ #
59
+ # # Additional information about a status code that might be returned.
60
+ # # @return [RDF::Vocabulary::Term]
61
+ # attr_reader :Status
62
+ #
63
+ # # A property known to be supported by a Hydra class.
64
+ # # @return [RDF::Vocabulary::Term]
65
+ # attr_reader :SupportedProperty
66
+ #
67
+ # # A templated link.
68
+ # # @return [RDF::Vocabulary::Term]
69
+ # attr_reader :TemplatedLink
70
+ #
71
+ # # A representation specifies how to serialize variable values into strings.
72
+ # # @return [RDF::Vocabulary::Term]
73
+ # attr_reader :VariableRepresentation
74
+ #
75
+ # # A description.
76
+ # # @return [RDF::Vocabulary::Term]
77
+ # attr_reader :description
78
+ #
79
+ # # Specification of the header expected by the operation.
80
+ # # @return [RDF::Vocabulary::Term]
81
+ # attr_reader :expectsHeader
82
+ #
83
+ # # A property representing a freetext query.
84
+ # # @return [RDF::Vocabulary::Term]
85
+ # attr_reader :freetextQuery
86
+ #
87
+ # # Instructs to limit set only to N elements.
88
+ # # @return [RDF::Vocabulary::Term]
89
+ # attr_reader :limit
90
+ #
91
+ # # A variable-to-property mapping of the IRI template.
92
+ # # @return [RDF::Vocabulary::Term]
93
+ # attr_reader :mapping
94
+ #
95
+ # # The HTTP method.
96
+ # # @return [RDF::Vocabulary::Term]
97
+ # attr_reader :method
98
+ #
99
+ # # Instructs to skip N elements of the set.
100
+ # # @return [RDF::Vocabulary::Term]
101
+ # attr_reader :offset
102
+ #
103
+ # # Instructs to provide a specific page of the collection at a given index.
104
+ # # @return [RDF::Vocabulary::Term]
105
+ # attr_reader :pageIndex
106
+ #
107
+ # # Instructs to provide a specific page reference of the collection.
108
+ # # @return [RDF::Vocabulary::Term]
109
+ # attr_reader :pageReference
110
+ #
111
+ # # A property
112
+ # # @return [RDF::Vocabulary::Term]
113
+ # attr_reader :property
114
+ #
115
+ # # True if the client can retrieve the property's value, false otherwise.
116
+ # # @return [RDF::Vocabulary::Term]
117
+ # attr_reader :readable
118
+ #
119
+ # # True if the property is required, false otherwise.
120
+ # # @return [RDF::Vocabulary::Term]
121
+ # attr_reader :required
122
+ #
123
+ # # @return [RDF::Vocabulary::Term]
124
+ # attr_reader :resolveRelativeUsing
125
+ #
126
+ # # Name of the header returned by the operation.
127
+ # # @return [RDF::Vocabulary::Term]
128
+ # attr_reader :returnsHeader
129
+ #
130
+ # # The HTTP status code
131
+ # # @return [RDF::Vocabulary::Term]
132
+ # attr_reader :statusCode
133
+ #
134
+ # # A templated string with placeholders. The literal's datatype indicates the template syntax; if not specified, hydra:Rfc6570Template is assumed.
135
+ # # @return [RDF::Vocabulary::Term]
136
+ # attr_reader :template
137
+ #
138
+ # # A title, often used along with a description.
139
+ # # @return [RDF::Vocabulary::Term]
140
+ # attr_reader :title
141
+ #
142
+ # # The total number of items referenced by a collection.
143
+ # # @return [RDF::Vocabulary::Term]
144
+ # attr_reader :totalItems
145
+ #
146
+ # # An IRI template variable
147
+ # # @return [RDF::Vocabulary::Term]
148
+ # attr_reader :variable
149
+ #
150
+ # # The representation format to use when expanding the IRI template.
151
+ # # @return [RDF::Vocabulary::Term]
152
+ # attr_reader :variableRepresentation
153
+ #
154
+ # # True if the client can change the property's value, false otherwise.
155
+ # # @return [RDF::Vocabulary::Term]
156
+ # attr_reader :writeable
157
+ #
158
+ # # An IRI template as defined by RFC6570.
159
+ # # @return [RDF::Vocabulary::Term]
160
+ # attr_reader :Rfc6570Template
161
+ #
162
+ # # A representation that serializes just the lexical form of a variable value, but omits language and type information.
163
+ # # @return [RDF::Vocabulary::Term]
164
+ # attr_reader :BasicRepresentation
165
+ #
166
+ # # A representation that serializes a variable value including its language and type information and thus differentiating between IRIs and literals.
167
+ # # @return [RDF::Vocabulary::Term]
168
+ # attr_reader :ExplicitRepresentation
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
+ #
178
+ # # A link to the API documentation
179
+ # # @return [RDF::Vocabulary::Term]
180
+ # attr_reader :apiDocumentation
181
+ #
182
+ # # Collections somehow related to this resource.
183
+ # # @return [RDF::Vocabulary::Term]
184
+ # attr_reader :collection
185
+ #
186
+ # # A link to main entry point of the Web API
187
+ # # @return [RDF::Vocabulary::Term]
188
+ # attr_reader :entrypoint
189
+ #
190
+ # # The information expected by the Web API.
191
+ # # @return [RDF::Vocabulary::Term]
192
+ # attr_reader :expects
193
+ #
194
+ # # The first resource of an interlinked set of resources.
195
+ # # @return [RDF::Vocabulary::Term]
196
+ # attr_reader :first
197
+ #
198
+ # # The last resource of an interlinked set of resources.
199
+ # # @return [RDF::Vocabulary::Term]
200
+ # attr_reader :last
201
+ #
202
+ # # Semantics of each member provided by the collection.
203
+ # # @return [RDF::Vocabulary::Term]
204
+ # attr_reader :manages
205
+ #
206
+ # # A member of the collection
207
+ # # @return [RDF::Vocabulary::Term]
208
+ # attr_reader :member
209
+ #
210
+ # # The resource following the current instance in an interlinked set of resources.
211
+ # # @return [RDF::Vocabulary::Term]
212
+ # attr_reader :next
213
+ #
214
+ # # The object.
215
+ # # @return [RDF::Vocabulary::Term]
216
+ # attr_reader :object
217
+ #
218
+ # # An operation supported by the Hydra resource
219
+ # # @return [RDF::Vocabulary::Term]
220
+ # attr_reader :operation
221
+ #
222
+ # # A status that might be returned by the Web API (other statuses should be expected and properly handled as well)
223
+ # # @return [RDF::Vocabulary::Term]
224
+ # attr_reader :possibleStatus
225
+ #
226
+ # # The resource preceding the current instance in an interlinked set of resources.
227
+ # # @return [RDF::Vocabulary::Term]
228
+ # attr_reader :previous
229
+ #
230
+ # # The information returned by the Web API on success
231
+ # # @return [RDF::Vocabulary::Term]
232
+ # attr_reader :returns
233
+ #
234
+ # # A IRI template that can be used to query a collection.
235
+ # # @return [RDF::Vocabulary::Term]
236
+ # attr_reader :search
237
+ #
238
+ # # The subject.
239
+ # # @return [RDF::Vocabulary::Term]
240
+ # attr_reader :subject
241
+ #
242
+ # # A class known to be supported by the Web API
243
+ # # @return [RDF::Vocabulary::Term]
244
+ # attr_reader :supportedClass
245
+ #
246
+ # # An operation supported by instances of the specific Hydra class or the target of the Hydra link
247
+ # # @return [RDF::Vocabulary::Term]
248
+ # attr_reader :supportedOperation
249
+ #
250
+ # # The properties known to be supported by a Hydra class
251
+ # # @return [RDF::Vocabulary::Term]
252
+ # attr_reader :supportedProperty
253
+ #
254
+ # # A specific view of a resource.
255
+ # # @return [RDF::Vocabulary::Term]
256
+ # attr_reader :view
257
+ #
9
258
  # end
10
- class HYDRA < RDF::StrictVocabulary("http://www.w3.org/ns/hydra/core#")
259
+ HYDRA = Class.new(RDF::StrictVocabulary("http://www.w3.org/ns/hydra/core#")) do
11
260
 
12
261
  # Ontology definition
13
262
  ontology :"http://www.w3.org/ns/hydra/core#",
14
263
  "cc:attributionName": "Hydra W3C Community Group".freeze,
15
264
  "cc:attributionURL": "http://www.hydra-cg.com/".freeze,
16
265
  "cc:license": "http://creativecommons.org/licenses/by/4.0/".freeze,
17
- comment: %(A lightweight vocabulary for hypermedia-driven Web APIs).freeze,
266
+ comment: "A lightweight vocabulary for hypermedia-driven Web APIs".freeze,
18
267
  "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,
19
268
  "dc:publisher": "Hydra W3C Community Group".freeze,
20
269
  "dc:rights": "Copyright © 2012-2014 the Contributors to the Hydra Core Vocabulary Specification".freeze,
@@ -24,98 +273,105 @@ module RDF::Vocab
24
273
 
25
274
  # Class definitions
26
275
  term :ApiDocumentation,
27
- comment: %(The Hydra API documentation class).freeze,
276
+ comment: "The Hydra API documentation class".freeze,
28
277
  isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
29
278
  label: "ApiDocumentation".freeze,
30
279
  subClassOf: "hydra:Resource".freeze,
31
280
  type: "hydra:Class".freeze,
32
281
  "vs:term_status": "testing".freeze
282
+ term :BaseUriSource,
283
+ comment: "Provides a base abstract for base Uri source for Iri template resolution.".freeze,
284
+ isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
285
+ label: "Base Uri source".freeze,
286
+ subClassOf: "hydra:Resource".freeze,
287
+ type: "hydra:Class".freeze,
288
+ "vs:term_status": "testing".freeze
33
289
  term :Class,
34
- comment: %(The class of Hydra classes. Hydra classes and their instances are dereferenceable resources.).freeze,
290
+ comment: "The class of Hydra classes. Hydra classes and their instances are dereferenceable resources.".freeze,
35
291
  isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
36
292
  label: "Hydra Class".freeze,
37
293
  subClassOf: ["hydra:Resource".freeze, "rdfs:Class".freeze],
38
294
  type: ["hydra:Resource".freeze, "rdfs:Class".freeze],
39
295
  "vs:term_status": "testing".freeze
40
296
  term :Collection,
41
- comment: %(A collection holding references to a number of related resources.).freeze,
297
+ comment: "A collection holding references to a number of related resources.".freeze,
42
298
  isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
43
299
  label: "Collection".freeze,
44
300
  subClassOf: "hydra:Resource".freeze,
45
301
  type: "hydra:Class".freeze,
46
302
  "vs:term_status": "testing".freeze
47
303
  term :Error,
48
- comment: %(A runtime error, used to report information beyond the returned status code.).freeze,
304
+ comment: "A runtime error, used to report information beyond the returned status code.".freeze,
49
305
  isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
50
306
  label: "Error".freeze,
51
307
  subClassOf: "hydra:Status".freeze,
52
308
  type: "hydra:Class".freeze,
53
309
  "vs:term_status": "testing".freeze
54
310
  term :IriTemplate,
55
- comment: %(The class of IRI templates.).freeze,
311
+ comment: "The class of IRI templates.".freeze,
56
312
  isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
57
313
  label: "IRI Template".freeze,
58
314
  subClassOf: "hydra:Resource".freeze,
59
315
  type: "hydra:Class".freeze,
60
316
  "vs:term_status": "testing".freeze
61
317
  term :IriTemplateMapping,
62
- comment: %(A mapping from an IRI template variable to a property.).freeze,
318
+ comment: "A mapping from an IRI template variable to a property.".freeze,
63
319
  isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
64
320
  label: "IriTemplateMapping".freeze,
65
321
  subClassOf: "hydra:Resource".freeze,
66
322
  type: "hydra:Class".freeze,
67
323
  "vs:term_status": "testing".freeze
68
324
  term :Link,
69
- comment: %(The class of properties representing links.).freeze,
325
+ comment: "The class of properties representing links.".freeze,
70
326
  isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
71
327
  label: "Link".freeze,
72
328
  subClassOf: ["hydra:Resource".freeze, "rdf:Property".freeze],
73
329
  type: "hydra:Class".freeze,
74
330
  "vs:term_status": "testing".freeze
75
331
  term :Operation,
76
- comment: %(An operation.).freeze,
332
+ comment: "An operation.".freeze,
77
333
  isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
78
334
  label: "Operation".freeze,
79
335
  subClassOf: "hydra:Resource".freeze,
80
336
  type: "hydra:Class".freeze,
81
337
  "vs:term_status": "testing".freeze
82
338
  term :PartialCollectionView,
83
- 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,
339
+ 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,
84
340
  isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
85
341
  label: "PartialCollectionView".freeze,
86
342
  subClassOf: "hydra:Resource".freeze,
87
343
  type: "hydra:Class".freeze,
88
344
  "vs:term_status": "testing".freeze
89
345
  term :Resource,
90
- comment: %(The class of dereferenceable resources.).freeze,
346
+ comment: "The class of dereferenceable resources.".freeze,
91
347
  isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
92
348
  label: "Hydra Resource".freeze,
93
349
  subClassOf: "rdfs:Resource".freeze,
94
350
  type: "hydra:Class".freeze,
95
351
  "vs:term_status": "testing".freeze
96
352
  term :Status,
97
- comment: %(Additional information about a status code that might be returned.).freeze,
353
+ comment: "Additional information about a status code that might be returned.".freeze,
98
354
  isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
99
355
  label: "Status code description".freeze,
100
356
  subClassOf: "hydra:Resource".freeze,
101
357
  type: "hydra:Class".freeze,
102
358
  "vs:term_status": "testing".freeze
103
359
  term :SupportedProperty,
104
- comment: %(A property known to be supported by a Hydra class.).freeze,
360
+ comment: "A property known to be supported by a Hydra class.".freeze,
105
361
  isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
106
362
  label: "Supported Property".freeze,
107
363
  subClassOf: "hydra:Resource".freeze,
108
364
  type: "hydra:Class".freeze,
109
365
  "vs:term_status": "testing".freeze
110
366
  term :TemplatedLink,
111
- comment: %(A templated link.).freeze,
367
+ comment: "A templated link.".freeze,
112
368
  isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
113
369
  label: "Templated Link".freeze,
114
370
  subClassOf: ["hydra:Resource".freeze, "rdf:Property".freeze],
115
371
  type: "hydra:Class".freeze,
116
372
  "vs:term_status": "testing".freeze
117
373
  term :VariableRepresentation,
118
- comment: %(A representation specifies how to serialize variable values into strings.).freeze,
374
+ comment: "A representation specifies how to serialize variable values into strings.".freeze,
119
375
  isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
120
376
  label: "VariableRepresentation".freeze,
121
377
  subClassOf: "hydra:Resource".freeze,
@@ -124,7 +380,7 @@ module RDF::Vocab
124
380
 
125
381
  # Property definitions
126
382
  property :description,
127
- comment: %(A description.).freeze,
383
+ comment: "A description.".freeze,
128
384
  domainIncludes: ["hydra:ApiDocumentation".freeze, "hydra:Class".freeze, "hydra:Link".freeze, "hydra:Operation".freeze, "hydra:Status".freeze, "hydra:SupportedProperty".freeze, "hydra:TemplatedLink".freeze],
129
385
  isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
130
386
  label: "description".freeze,
@@ -133,7 +389,7 @@ module RDF::Vocab
133
389
  type: "rdf:Property".freeze,
134
390
  "vs:term_status": "testing".freeze
135
391
  property :expectsHeader,
136
- comment: %(Specification of the header expected by the operation.).freeze,
392
+ comment: "Specification of the header expected by the operation.".freeze,
137
393
  domain: "hydra:Operation".freeze,
138
394
  isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
139
395
  label: "expects header".freeze,
@@ -141,7 +397,7 @@ module RDF::Vocab
141
397
  type: "rdf:Property".freeze,
142
398
  "vs:term_status": "testing".freeze
143
399
  property :freetextQuery,
144
- comment: %(A property representing a freetext query.).freeze,
400
+ comment: "A property representing a freetext query.".freeze,
145
401
  domain: "hydra:Resource".freeze,
146
402
  isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
147
403
  label: "freetext query".freeze,
@@ -149,14 +405,14 @@ module RDF::Vocab
149
405
  type: "rdf:Property".freeze,
150
406
  "vs:term_status": "testing".freeze
151
407
  property :limit,
152
- comment: %(Instructs to limit set only to N elements.).freeze,
408
+ comment: "Instructs to limit set only to N elements.".freeze,
153
409
  isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
154
410
  label: "take".freeze,
155
411
  range: "xsd:nonNegativeInteger".freeze,
156
412
  type: "rdf:Property".freeze,
157
413
  "vs:term_status": "testing".freeze
158
414
  property :mapping,
159
- comment: %(A variable-to-property mapping of the IRI template.).freeze,
415
+ comment: "A variable-to-property mapping of the IRI template.".freeze,
160
416
  domain: "hydra:IriTemplate".freeze,
161
417
  isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
162
418
  label: "mapping".freeze,
@@ -164,7 +420,7 @@ module RDF::Vocab
164
420
  type: "rdf:Property".freeze,
165
421
  "vs:term_status": "testing".freeze
166
422
  property :method,
167
- comment: %(The HTTP method.).freeze,
423
+ comment: "The HTTP method.".freeze,
168
424
  domain: "hydra:Operation".freeze,
169
425
  isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
170
426
  label: "method".freeze,
@@ -172,14 +428,14 @@ module RDF::Vocab
172
428
  type: "rdf:Property".freeze,
173
429
  "vs:term_status": "testing".freeze
174
430
  property :offset,
175
- comment: %(Instructs to skip N elements of the set.).freeze,
431
+ comment: "Instructs to skip N elements of the set.".freeze,
176
432
  isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
177
433
  label: "skip".freeze,
178
434
  range: "xsd:nonNegativeInteger".freeze,
179
435
  type: "rdf:Property".freeze,
180
436
  "vs:term_status": "testing".freeze
181
437
  property :pageIndex,
182
- comment: %(Instructs to provide a specific page of the collection at a given index.).freeze,
438
+ comment: "Instructs to provide a specific page of the collection at a given index.".freeze,
183
439
  isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
184
440
  label: "page index".freeze,
185
441
  range: "xsd:nonNegativeInteger".freeze,
@@ -187,13 +443,13 @@ module RDF::Vocab
187
443
  type: "rdf:Property".freeze,
188
444
  "vs:term_status": "testing".freeze
189
445
  property :pageReference,
190
- comment: %(Instructs to provide a specific page reference of the collection.).freeze,
446
+ comment: "Instructs to provide a specific page reference of the collection.".freeze,
191
447
  isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
192
448
  label: "page reference".freeze,
193
449
  type: "rdf:Property".freeze,
194
450
  "vs:term_status": "testing".freeze
195
451
  property :property,
196
- comment: %(A property).freeze,
452
+ comment: "A property".freeze,
197
453
  domainIncludes: ["hydra:IriTemplateMapping".freeze, "hydra:SupportedProperty".freeze],
198
454
  isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
199
455
  label: "property".freeze,
@@ -201,7 +457,7 @@ module RDF::Vocab
201
457
  type: "rdf:Property".freeze,
202
458
  "vs:term_status": "testing".freeze
203
459
  property :readable,
204
- comment: %(True if the client can retrieve the property's value, false otherwise.).freeze,
460
+ comment: "True if the client can retrieve the property's value, false otherwise.".freeze,
205
461
  domain: "hydra:SupportedProperty".freeze,
206
462
  isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
207
463
  label: "readable".freeze,
@@ -209,15 +465,22 @@ module RDF::Vocab
209
465
  type: "rdf:Property".freeze,
210
466
  "vs:term_status": "testing".freeze
211
467
  property :required,
212
- comment: %(True if the property is required, false otherwise.).freeze,
468
+ comment: "True if the property is required, false otherwise.".freeze,
213
469
  domainIncludes: ["hydra:IriTemplateMapping".freeze, "hydra:SupportedProperty".freeze],
214
470
  isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
215
471
  label: "required".freeze,
216
472
  range: "xsd:boolean".freeze,
217
473
  type: "rdf:Property".freeze,
218
474
  "vs:term_status": "testing".freeze
475
+ property :resolveRelativeUsing,
476
+ domain: "hydra:IriTemplate".freeze,
477
+ isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
478
+ label: "relative Uri resolution".freeze,
479
+ range: "hydra:BaseUriSource".freeze,
480
+ type: "rdf:Property".freeze,
481
+ "vs:term_status": "testing".freeze
219
482
  property :returnsHeader,
220
- comment: %(Name of the header returned by the operation.).freeze,
483
+ comment: "Name of the header returned by the operation.".freeze,
221
484
  domain: "hydra:Operation".freeze,
222
485
  isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
223
486
  label: "returns header".freeze,
@@ -225,7 +488,7 @@ module RDF::Vocab
225
488
  type: "rdf:Property".freeze,
226
489
  "vs:term_status": "testing".freeze
227
490
  property :statusCode,
228
- comment: %(The HTTP status code).freeze,
491
+ comment: "The HTTP status code".freeze,
229
492
  domain: "hydra:Status".freeze,
230
493
  isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
231
494
  label: "status code".freeze,
@@ -233,7 +496,7 @@ module RDF::Vocab
233
496
  type: "rdf:Property".freeze,
234
497
  "vs:term_status": "testing".freeze
235
498
  property :template,
236
- comment: %(A templated string with placeholders. The literal's datatype indicates the template syntax; if not specified, hydra:Rfc6570Template is assumed.).freeze,
499
+ comment: "A templated string with placeholders. The literal's datatype indicates the template syntax; if not specified, hydra:Rfc6570Template is assumed.".freeze,
237
500
  domain: "hydra:IriTemplate".freeze,
238
501
  isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
239
502
  label: "template".freeze,
@@ -242,7 +505,7 @@ module RDF::Vocab
242
505
  type: "rdf:Property".freeze,
243
506
  "vs:term_status": "testing".freeze
244
507
  property :title,
245
- comment: %(A title, often used along with a description.).freeze,
508
+ comment: "A title, often used along with a description.".freeze,
246
509
  domainIncludes: ["hydra:ApiDocumentation".freeze, "hydra:Class".freeze, "hydra:Link".freeze, "hydra:Operation".freeze, "hydra:Status".freeze, "hydra:SupportedProperty".freeze, "hydra:TemplatedLink".freeze],
247
510
  isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
248
511
  label: "title".freeze,
@@ -251,7 +514,7 @@ module RDF::Vocab
251
514
  type: "rdf:Property".freeze,
252
515
  "vs:term_status": "testing".freeze
253
516
  property :totalItems,
254
- comment: %(The total number of items referenced by a collection.).freeze,
517
+ comment: "The total number of items referenced by a collection.".freeze,
255
518
  domain: "hydra:Collection".freeze,
256
519
  isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
257
520
  label: "total items".freeze,
@@ -259,7 +522,7 @@ module RDF::Vocab
259
522
  type: "rdf:Property".freeze,
260
523
  "vs:term_status": "testing".freeze
261
524
  property :variable,
262
- comment: %(An IRI template variable).freeze,
525
+ comment: "An IRI template variable".freeze,
263
526
  domain: "hydra:IriTemplateMapping".freeze,
264
527
  isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
265
528
  label: "variable".freeze,
@@ -267,7 +530,7 @@ module RDF::Vocab
267
530
  type: "rdf:Property".freeze,
268
531
  "vs:term_status": "testing".freeze
269
532
  property :variableRepresentation,
270
- comment: %(The representation format to use when expanding the IRI template.).freeze,
533
+ comment: "The representation format to use when expanding the IRI template.".freeze,
271
534
  domain: "hydra:IriTemplateMapping".freeze,
272
535
  isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
273
536
  label: "variable representation".freeze,
@@ -275,7 +538,7 @@ module RDF::Vocab
275
538
  type: "rdf:Property".freeze,
276
539
  "vs:term_status": "testing".freeze
277
540
  property :writeable,
278
- comment: %(True if the client can change the property's value, false otherwise.).freeze,
541
+ comment: "True if the client can change the property's value, false otherwise.".freeze,
279
542
  domain: "hydra:SupportedProperty".freeze,
280
543
  isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
281
544
  label: "writeable".freeze,
@@ -285,7 +548,7 @@ module RDF::Vocab
285
548
 
286
549
  # Datatype definitions
287
550
  term :Rfc6570Template,
288
- comment: %(An IRI template as defined by RFC6570.).freeze,
551
+ comment: "An IRI template as defined by RFC6570.".freeze,
289
552
  isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
290
553
  label: "RFC6570 IRI template".freeze,
291
554
  range: "xsd:string".freeze,
@@ -295,19 +558,31 @@ module RDF::Vocab
295
558
 
296
559
  # Extra definitions
297
560
  term :BasicRepresentation,
298
- comment: %(A representation that serializes just the lexical form of a variable value, but omits language and type information.).freeze,
561
+ comment: "A representation that serializes just the lexical form of a variable value, but omits language and type information.".freeze,
299
562
  isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
300
563
  label: "BasicRepresentation".freeze,
301
564
  type: "hydra:VariableRepresentation".freeze,
302
565
  "vs:term_status": "testing".freeze
303
566
  term :ExplicitRepresentation,
304
- comment: %(A representation that serializes a variable value including its language and type information and thus differentiating between IRIs and literals.).freeze,
567
+ comment: "A representation that serializes a variable value including its language and type information and thus differentiating between IRIs and literals.".freeze,
305
568
  isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
306
569
  label: "ExplicitRepresentation".freeze,
307
570
  type: "hydra:VariableRepresentation".freeze,
308
571
  "vs:term_status": "testing".freeze
572
+ term :LinkContext,
573
+ comment: "States that the link's context IRI, as defined in RFC 5988, should be used as the base Uri".freeze,
574
+ isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
575
+ label: "Link context".freeze,
576
+ type: "hydra:BaseUriSource".freeze,
577
+ "vs:term_status": "testing".freeze
578
+ term :Rfc3986,
579
+ comment: "States that the base Uri should be established using RFC 3986 reference resolution algorithm specified in section 5.".freeze,
580
+ isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
581
+ label: "RFC 3986 based".freeze,
582
+ type: "hydra:BaseUriSource".freeze,
583
+ "vs:term_status": "testing".freeze
309
584
  term :apiDocumentation,
310
- comment: %(A link to the API documentation).freeze,
585
+ comment: "A link to the API documentation".freeze,
311
586
  domain: "hydra:Resource".freeze,
312
587
  isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
313
588
  label: "apiDocumentation".freeze,
@@ -315,7 +590,7 @@ module RDF::Vocab
315
590
  type: "hydra:Link".freeze,
316
591
  "vs:term_status": "testing".freeze
317
592
  term :collection,
318
- comment: %(Collections somehow related to this resource.).freeze,
593
+ comment: "Collections somehow related to this resource.".freeze,
319
594
  domain: "hydra:Resource".freeze,
320
595
  isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
321
596
  label: "collection".freeze,
@@ -323,7 +598,7 @@ module RDF::Vocab
323
598
  type: "hydra:Link".freeze,
324
599
  "vs:term_status": "testing".freeze
325
600
  term :entrypoint,
326
- comment: %(A link to main entry point of the Web API).freeze,
601
+ comment: "A link to main entry point of the Web API".freeze,
327
602
  domain: "hydra:ApiDocumentation".freeze,
328
603
  isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
329
604
  label: "entrypoint".freeze,
@@ -331,7 +606,7 @@ module RDF::Vocab
331
606
  type: "hydra:Link".freeze,
332
607
  "vs:term_status": "testing".freeze
333
608
  term :expects,
334
- comment: %(The information expected by the Web API.).freeze,
609
+ comment: "The information expected by the Web API.".freeze,
335
610
  domain: "hydra:Operation".freeze,
336
611
  isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
337
612
  label: "expects".freeze,
@@ -340,7 +615,7 @@ module RDF::Vocab
340
615
  type: "hydra:Link".freeze,
341
616
  "vs:term_status": "testing".freeze
342
617
  term :first,
343
- comment: %(The first resource of an interlinked set of resources.).freeze,
618
+ comment: "The first resource of an interlinked set of resources.".freeze,
344
619
  domain: "hydra:Resource".freeze,
345
620
  isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
346
621
  label: "first".freeze,
@@ -348,7 +623,7 @@ module RDF::Vocab
348
623
  type: "hydra:Link".freeze,
349
624
  "vs:term_status": "testing".freeze
350
625
  term :last,
351
- comment: %(The last resource of an interlinked set of resources.).freeze,
626
+ comment: "The last resource of an interlinked set of resources.".freeze,
352
627
  domain: "hydra:Resource".freeze,
353
628
  isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
354
629
  label: "last".freeze,
@@ -356,13 +631,13 @@ module RDF::Vocab
356
631
  type: "hydra:Link".freeze,
357
632
  "vs:term_status": "testing".freeze
358
633
  term :manages,
359
- comment: %(Semantics of each member provided by the collection.).freeze,
634
+ comment: "Semantics of each member provided by the collection.".freeze,
360
635
  domain: "hydra:Collection".freeze,
361
636
  isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
362
637
  label: "manages".freeze,
363
638
  "vs:term_status": "testing".freeze
364
639
  term :member,
365
- comment: %(A member of the collection).freeze,
640
+ comment: "A member of the collection".freeze,
366
641
  domain: "hydra:Collection".freeze,
367
642
  isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
368
643
  label: "member".freeze,
@@ -370,7 +645,7 @@ module RDF::Vocab
370
645
  type: "hydra:Link".freeze,
371
646
  "vs:term_status": "testing".freeze
372
647
  term :next,
373
- comment: %(The resource following the current instance in an interlinked set of resources.).freeze,
648
+ comment: "The resource following the current instance in an interlinked set of resources.".freeze,
374
649
  domain: "hydra:Resource".freeze,
375
650
  isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
376
651
  label: "next".freeze,
@@ -378,12 +653,12 @@ module RDF::Vocab
378
653
  type: "hydra:Link".freeze,
379
654
  "vs:term_status": "testing".freeze
380
655
  term :object,
381
- comment: %(The object.).freeze,
656
+ comment: "The object.".freeze,
382
657
  isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
383
658
  label: "object".freeze,
384
659
  "vs:term_status": "testing".freeze
385
660
  term :operation,
386
- comment: %(An operation supported by the Hydra resource).freeze,
661
+ comment: "An operation supported by the Hydra resource".freeze,
387
662
  domain: "hydra:Resource".freeze,
388
663
  isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
389
664
  label: "operation".freeze,
@@ -391,7 +666,7 @@ module RDF::Vocab
391
666
  type: "hydra:Link".freeze,
392
667
  "vs:term_status": "testing".freeze
393
668
  term :possibleStatus,
394
- comment: %(A status that might be returned by the Web API \(other statuses should be expected and properly handled as well\)).freeze,
669
+ comment: "A status that might be returned by the Web API (other statuses should be expected and properly handled as well)".freeze,
395
670
  domainIncludes: ["hydra:ApiDocumentation".freeze, "hydra:Operation".freeze],
396
671
  isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
397
672
  label: "possible status".freeze,
@@ -399,7 +674,7 @@ module RDF::Vocab
399
674
  type: "hydra:Link".freeze,
400
675
  "vs:term_status": "testing".freeze
401
676
  term :previous,
402
- comment: %(The resource preceding the current instance in an interlinked set of resources.).freeze,
677
+ comment: "The resource preceding the current instance in an interlinked set of resources.".freeze,
403
678
  domain: "hydra:Resource".freeze,
404
679
  isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
405
680
  label: "previous".freeze,
@@ -407,7 +682,7 @@ module RDF::Vocab
407
682
  type: "hydra:Link".freeze,
408
683
  "vs:term_status": "testing".freeze
409
684
  term :returns,
410
- comment: %(The information returned by the Web API on success).freeze,
685
+ comment: "The information returned by the Web API on success".freeze,
411
686
  domain: "hydra:Operation".freeze,
412
687
  isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
413
688
  label: "returns".freeze,
@@ -416,7 +691,7 @@ module RDF::Vocab
416
691
  type: "hydra:Link".freeze,
417
692
  "vs:term_status": "testing".freeze
418
693
  term :search,
419
- comment: %(A IRI template that can be used to query a collection.).freeze,
694
+ comment: "A IRI template that can be used to query a collection.".freeze,
420
695
  domain: "hydra:Resource".freeze,
421
696
  isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
422
697
  label: "search".freeze,
@@ -424,12 +699,12 @@ module RDF::Vocab
424
699
  type: "hydra:TemplatedLink".freeze,
425
700
  "vs:term_status": "testing".freeze
426
701
  term :subject,
427
- comment: %(The subject.).freeze,
702
+ comment: "The subject.".freeze,
428
703
  isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
429
704
  label: "subject".freeze,
430
705
  "vs:term_status": "testing".freeze
431
706
  term :supportedClass,
432
- comment: %(A class known to be supported by the Web API).freeze,
707
+ comment: "A class known to be supported by the Web API".freeze,
433
708
  domain: "hydra:ApiDocumentation".freeze,
434
709
  isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
435
710
  label: "supported classes".freeze,
@@ -437,15 +712,15 @@ module RDF::Vocab
437
712
  type: "hydra:Link".freeze,
438
713
  "vs:term_status": "testing".freeze
439
714
  term :supportedOperation,
440
- comment: %(An operation supported by instances of the specific Hydra class or the target of the Hydra link).freeze,
441
- domainIncludes: ["hydra:Class".freeze, "hydra:Link".freeze, "hydra:TemplatedLink".freeze],
715
+ comment: "An operation supported by instances of the specific Hydra class or the target of the Hydra link".freeze,
716
+ domainIncludes: ["hydra:Class".freeze, "hydra:Link".freeze, "hydra:SupportedProperty".freeze, "hydra:TemplatedLink".freeze],
442
717
  isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
443
718
  label: "supported operation".freeze,
444
719
  range: "hydra:Operation".freeze,
445
720
  type: "hydra:Link".freeze,
446
721
  "vs:term_status": "testing".freeze
447
722
  term :supportedProperty,
448
- comment: %(The properties known to be supported by a Hydra class).freeze,
723
+ comment: "The properties known to be supported by a Hydra class".freeze,
449
724
  domain: "hydra:Class".freeze,
450
725
  isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
451
726
  label: "supported properties".freeze,
@@ -453,7 +728,7 @@ module RDF::Vocab
453
728
  type: "hydra:Link".freeze,
454
729
  "vs:term_status": "testing".freeze
455
730
  term :view,
456
- comment: %(A specific view of a resource.).freeze,
731
+ comment: "A specific view of a resource.".freeze,
457
732
  domain: "hydra:Resource".freeze,
458
733
  isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
459
734
  label: "view".freeze,