rdf-vocab 2.2.9 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (71) hide show
  1. checksums.yaml +5 -5
  2. data/VERSION +1 -1
  3. data/lib/rdf/vocab.rb +21 -2
  4. data/lib/rdf/vocab/acl.rb +21 -5
  5. data/lib/rdf/vocab/bf2.rb +812 -812
  6. data/lib/rdf/vocab/bibframe.rb +78 -78
  7. data/lib/rdf/vocab/bibo.rb +239 -247
  8. data/lib/rdf/vocab/cc.rb +4 -9
  9. data/lib/rdf/vocab/cert.rb +44 -45
  10. data/lib/rdf/vocab/cnt.rb +5 -5
  11. data/lib/rdf/vocab/crm.rb +344 -344
  12. data/lib/rdf/vocab/datacite.rb +152 -58
  13. data/lib/rdf/vocab/dc.rb +439 -439
  14. data/lib/rdf/vocab/dc11.rb +93 -93
  15. data/lib/rdf/vocab/dcat.rb +152 -101
  16. data/lib/rdf/vocab/dcmitype.rb +75 -75
  17. data/lib/rdf/vocab/disco.rb +169 -101
  18. data/lib/rdf/vocab/doap.rb +179 -159
  19. data/lib/rdf/vocab/dwc.rb +1648 -1648
  20. data/lib/rdf/vocab/ebucore.rb +373 -124
  21. data/lib/rdf/vocab/edm.rb +216 -139
  22. data/lib/rdf/vocab/exif.rb +208 -208
  23. data/lib/rdf/vocab/fcrepo4.rb +57 -134
  24. data/lib/rdf/vocab/foaf.rb +166 -166
  25. data/lib/rdf/vocab/geo.rb +3 -5
  26. data/lib/rdf/vocab/geojson.rb +16 -16
  27. data/lib/rdf/vocab/geonames.rb +2827 -3455
  28. data/lib/rdf/vocab/gr.rb +699 -254
  29. data/lib/rdf/vocab/gs1.rb +1765 -1761
  30. data/lib/rdf/vocab/ht.rb +23 -23
  31. data/lib/rdf/vocab/hydra.rb +104 -104
  32. data/lib/rdf/vocab/ical.rb +674 -127
  33. data/lib/rdf/vocab/identifiers.rb +120 -212
  34. data/lib/rdf/vocab/iiif.rb +25 -37
  35. data/lib/rdf/vocab/jsonld.rb +11 -11
  36. data/lib/rdf/vocab/ldp.rb +79 -69
  37. data/lib/rdf/vocab/lrmi.rb +63 -63
  38. data/lib/rdf/vocab/ma.rb +47 -132
  39. data/lib/rdf/vocab/mads.rb +83 -28
  40. data/lib/rdf/vocab/marc_relators.rb +12 -2201
  41. data/lib/rdf/vocab/mo.rb +920 -836
  42. data/lib/rdf/vocab/mods.rb +6 -13
  43. data/lib/rdf/vocab/oa.rb +82 -72
  44. data/lib/rdf/vocab/og.rb +50 -50
  45. data/lib/rdf/vocab/ogc.rb +9 -8
  46. data/lib/rdf/vocab/ore.rb +22 -19
  47. data/lib/rdf/vocab/org.rb +217 -167
  48. data/lib/rdf/vocab/pplan.rb +45 -45
  49. data/lib/rdf/vocab/premis.rb +855 -582
  50. data/lib/rdf/vocab/premis_event_type.rb +148 -70
  51. data/lib/rdf/vocab/prov.rb +842 -806
  52. data/lib/rdf/vocab/rightsstatements.rb +140 -157
  53. data/lib/rdf/vocab/rsa.rb +16 -13
  54. data/lib/rdf/vocab/rss.rb +10 -10
  55. data/lib/rdf/vocab/schema.rb +1448 -1448
  56. data/lib/rdf/vocab/sioc.rb +158 -159
  57. data/lib/rdf/vocab/sioc_services.rb +14 -14
  58. data/lib/rdf/vocab/sioct.rb +70 -70
  59. data/lib/rdf/vocab/skos.rb +97 -93
  60. data/lib/rdf/vocab/skosxl.rb +29 -24
  61. data/lib/rdf/vocab/v.rb +88 -90
  62. data/lib/rdf/vocab/vcard.rb +340 -196
  63. data/lib/rdf/vocab/vmd.rb +88 -90
  64. data/lib/rdf/vocab/vs.rb +15 -15
  65. data/lib/rdf/vocab/wdrs.rb +30 -30
  66. data/lib/rdf/vocab/wot.rb +47 -47
  67. data/lib/rdf/vocab/xhtml.rb +3 -3
  68. data/lib/rdf/vocab/xhv.rb +37 -123
  69. data/lib/rdf/vocab/xkos.rb +110 -107
  70. data/spec/vocab_spec.rb +6 -6
  71. metadata +19 -31
data/lib/rdf/vocab/ht.rb CHANGED
@@ -10,20 +10,20 @@ module RDF::Vocab
10
10
  class HT < RDF::StrictVocabulary("http://www.w3.org/2011/http#")
11
11
 
12
12
  # Ontology definition
13
- ontology :"http://www.w3.org/2011/http",
13
+ ontology :"http://www.w3.org/2011/http#",
14
14
  comment: %(A namespace for describing HTTP messages \(http://www.w3.org/Protocols/rfc2616/rfc2616.html\)).freeze,
15
+ isDefinedBy: "http://www.w3.org/TR/HTTP-in-RDF/".freeze,
15
16
  label: "HTTP in RDF".freeze,
16
- :"owl:imports" => [%(cnt:).freeze, %(dc:).freeze],
17
- :"owl:versionInfo" => %(Working Draft 29 April 2011).freeze,
18
- :"rdfs:isDefinedBy" => %(http://www.w3.org/TR/HTTP-in-RDF/).freeze,
19
- :"rdfs:seeAlso" => [%(http://www.w3.org/TR/Content-in-RDF/).freeze, %(http://www.w3.org/WAI/intro/earl).freeze],
17
+ "owl:imports": ["cnt:".freeze, "dc:".freeze],
18
+ "owl:versionInfo": "Working Draft 29 April 2011".freeze,
19
+ "rdfs:seeAlso": ["http://www.w3.org/TR/Content-in-RDF/".freeze, "http://www.w3.org/WAI/intro/earl".freeze],
20
20
  type: "owl:Ontology".freeze
21
21
 
22
22
  # Class definitions
23
23
  term :Connection,
24
24
  comment: %(A connection used for HTTP transfer.).freeze,
25
+ isDefinedBy: "http://www.ietf.org/rfc/rfc2616.txt".freeze,
25
26
  label: "Connection".freeze,
26
- :"rdfs:isDefinedBy" => %(http://www.ietf.org/rfc/rfc2616.txt).freeze,
27
27
  type: ["owl:Class".freeze, "rdfs:Class".freeze]
28
28
  term :EntityHeader,
29
29
  comment: %(An entity header in an HTTP message.).freeze,
@@ -45,8 +45,8 @@ module RDF::Vocab
45
45
  type: ["owl:Class".freeze, "rdfs:Class".freeze]
46
46
  term :Message,
47
47
  comment: %(An HTTP message.).freeze,
48
+ isDefinedBy: "http://www.ietf.org/rfc/rfc2616.txt".freeze,
48
49
  label: "Message".freeze,
49
- :"rdfs:isDefinedBy" => %(http://www.ietf.org/rfc/rfc2616.txt).freeze,
50
50
  type: ["owl:Class".freeze, "rdfs:Class".freeze]
51
51
  term :MessageHeader,
52
52
  comment: %(A header in an HTTP message.).freeze,
@@ -54,8 +54,8 @@ module RDF::Vocab
54
54
  type: ["owl:Class".freeze, "rdfs:Class".freeze]
55
55
  term :Method,
56
56
  comment: %(The HTTP method used for the request.).freeze,
57
+ isDefinedBy: "http://www.ietf.org/rfc/rfc2616.txt".freeze,
57
58
  label: "Method".freeze,
58
- :"rdfs:isDefinedBy" => %(http://www.ietf.org/rfc/rfc2616.txt).freeze,
59
59
  type: ["owl:Class".freeze, "rdfs:Class".freeze]
60
60
  term :Parameter,
61
61
  comment: %(A parameter for a part of a header value.).freeze,
@@ -63,8 +63,8 @@ module RDF::Vocab
63
63
  type: ["owl:Class".freeze, "rdfs:Class".freeze]
64
64
  term :Request,
65
65
  comment: %(An HTTP request.).freeze,
66
+ isDefinedBy: "http://www.ietf.org/rfc/rfc2616.txt".freeze,
66
67
  label: "Request".freeze,
67
- :"rdfs:isDefinedBy" => %(http://www.ietf.org/rfc/rfc2616.txt).freeze,
68
68
  subClassOf: "ht:Message".freeze,
69
69
  type: ["owl:Class".freeze, "rdfs:Class".freeze]
70
70
  term :RequestHeader,
@@ -74,8 +74,8 @@ module RDF::Vocab
74
74
  type: ["owl:Class".freeze, "rdfs:Class".freeze]
75
75
  term :Response,
76
76
  comment: %(An HTTP response.).freeze,
77
+ isDefinedBy: "http://www.ietf.org/rfc/rfc2616.txt".freeze,
77
78
  label: "Response".freeze,
78
- :"rdfs:isDefinedBy" => %(http://www.ietf.org/rfc/rfc2616.txt).freeze,
79
79
  subClassOf: "ht:Message".freeze,
80
80
  type: ["owl:Class".freeze, "rdfs:Class".freeze]
81
81
  term :ResponseHeader,
@@ -85,8 +85,8 @@ module RDF::Vocab
85
85
  type: ["owl:Class".freeze, "rdfs:Class".freeze]
86
86
  term :StatusCode,
87
87
  comment: %(The status code of an HTTP response.).freeze,
88
+ isDefinedBy: "http://www.ietf.org/rfc/rfc2616.txt".freeze,
88
89
  label: "Status code".freeze,
89
- :"rdfs:isDefinedBy" => %(http://www.ietf.org/rfc/rfc2616.txt).freeze,
90
90
  type: ["owl:Class".freeze, "rdfs:Class".freeze]
91
91
 
92
92
  # Property definitions
@@ -108,9 +108,9 @@ module RDF::Vocab
108
108
  property :body,
109
109
  comment: %(The entity body of an HTTP message.).freeze,
110
110
  domain: "ht:Message".freeze,
111
+ isDefinedBy: "http://www.ietf.org/rfc/rfc2616.txt".freeze,
111
112
  label: "Entity Body".freeze,
112
113
  range: "cnt:ContentAsBase64".freeze,
113
- :"rdfs:isDefinedBy" => %(http://www.ietf.org/rfc/rfc2616.txt).freeze,
114
114
  type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
115
115
  property :connectionAuthority,
116
116
  comment: %(The authority of a connection used for the HTTP transfer.).freeze,
@@ -156,29 +156,29 @@ module RDF::Vocab
156
156
  property :headers,
157
157
  comment: %(The headers in an HTTP message.).freeze,
158
158
  domain: "ht:Message".freeze,
159
+ isDefinedBy: "http://www.ietf.org/rfc/rfc2616.txt".freeze,
159
160
  label: "Headers".freeze,
160
- :"rdfs:isDefinedBy" => %(http://www.ietf.org/rfc/rfc2616.txt).freeze,
161
161
  type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
162
162
  property :httpVersion,
163
163
  comment: %(The HTTP version of an HTTP message.).freeze,
164
164
  domain: "ht:Message".freeze,
165
+ isDefinedBy: "http://www.ietf.org/rfc/rfc2616.txt".freeze,
165
166
  label: "HTTP version".freeze,
166
167
  range: "rdfs:Literal".freeze,
167
- :"rdfs:isDefinedBy" => %(http://www.ietf.org/rfc/rfc2616.txt).freeze,
168
168
  type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
169
169
  property :methodName,
170
170
  comment: %(The HTTP method name used for the HTTP request.).freeze,
171
171
  domain: "ht:Request".freeze,
172
+ isDefinedBy: "http://www.ietf.org/rfc/rfc2616.txt".freeze,
172
173
  label: "Method name".freeze,
173
174
  range: "rdfs:Literal".freeze,
174
- :"rdfs:isDefinedBy" => %(http://www.ietf.org/rfc/rfc2616.txt).freeze,
175
175
  type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
176
176
  property :mthd,
177
177
  comment: %(The HTTP method used for the HTTP request.).freeze,
178
178
  domain: "ht:Request".freeze,
179
+ isDefinedBy: "http://www.ietf.org/rfc/rfc2616.txt".freeze,
179
180
  label: "Method".freeze,
180
181
  range: "ht:Method".freeze,
181
- :"rdfs:isDefinedBy" => %(http://www.ietf.org/rfc/rfc2616.txt).freeze,
182
182
  type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
183
183
  property :paramName,
184
184
  comment: %(The name of a parameter in a part of a deconstructed HTTP header value.).freeze,
@@ -200,51 +200,51 @@ module RDF::Vocab
200
200
  property :reasonPhrase,
201
201
  comment: %(The reason phrase \(status text\) of an HTTP response.).freeze,
202
202
  domain: "ht:Response".freeze,
203
+ isDefinedBy: "http://www.ietf.org/rfc/rfc2616.txt".freeze,
203
204
  label: "Reason phrase".freeze,
204
205
  range: "rdfs:Literal".freeze,
205
- :"rdfs:isDefinedBy" => %(http://www.ietf.org/rfc/rfc2616.txt).freeze,
206
206
  type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
207
207
  property :requestURI,
208
208
  comment: %(The request URI of an HTTP request.).freeze,
209
209
  domain: "ht:Request".freeze,
210
+ isDefinedBy: "http://www.ietf.org/rfc/rfc2616.txt".freeze,
210
211
  label: "Request URI".freeze,
211
212
  range: "rdfs:Literal".freeze,
212
- :"rdfs:isDefinedBy" => %(http://www.ietf.org/rfc/rfc2616.txt).freeze,
213
213
  type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
214
214
  property :requests,
215
215
  comment: %(The HTTP requests made via a connection.).freeze,
216
216
  domain: "ht:Connection".freeze,
217
+ isDefinedBy: "http://www.ietf.org/rfc/rfc2616.txt".freeze,
217
218
  label: "Requests".freeze,
218
- :"rdfs:isDefinedBy" => %(http://www.ietf.org/rfc/rfc2616.txt).freeze,
219
219
  type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
220
220
  property :resp,
221
221
  comment: %(The HTTP response sent in answer to an HTTP request.).freeze,
222
222
  domain: "ht:Request".freeze,
223
+ isDefinedBy: "http://www.ietf.org/rfc/rfc2616.txt".freeze,
223
224
  label: "Response".freeze,
224
225
  range: "ht:Response".freeze,
225
- :"rdfs:isDefinedBy" => %(http://www.ietf.org/rfc/rfc2616.txt).freeze,
226
226
  type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
227
227
  property :sc,
228
228
  comment: %(The status code of an HTTP response.).freeze,
229
229
  domain: "ht:Response".freeze,
230
+ isDefinedBy: "http://www.ietf.org/rfc/rfc2616.txt".freeze,
230
231
  label: "Status code".freeze,
231
232
  range: "ht:StatusCode".freeze,
232
- :"rdfs:isDefinedBy" => %(http://www.ietf.org/rfc/rfc2616.txt).freeze,
233
233
  type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
234
234
  property :statusCodeNumber,
235
235
  comment: %(The status code number.).freeze,
236
236
  domain: "ht:StatusCode".freeze,
237
+ isDefinedBy: "http://www.ietf.org/rfc/rfc2616.txt".freeze,
237
238
  label: "Status code".freeze,
238
239
  range: "xsd:int".freeze,
239
- :"rdfs:isDefinedBy" => %(http://www.ietf.org/rfc/rfc2616.txt).freeze,
240
240
  subPropertyOf: "dc:identifier".freeze,
241
241
  type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
242
242
  property :statusCodeValue,
243
243
  comment: %(The status code value of an HTTP response.).freeze,
244
244
  domain: "ht:Response".freeze,
245
+ isDefinedBy: "http://www.ietf.org/rfc/rfc2616.txt".freeze,
245
246
  label: "Status code".freeze,
246
247
  range: "rdfs:Literal".freeze,
247
- :"rdfs:isDefinedBy" => %(http://www.ietf.org/rfc/rfc2616.txt).freeze,
248
248
  type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
249
249
  end
250
250
  end
@@ -10,373 +10,373 @@ module RDF::Vocab
10
10
  class HYDRA < RDF::StrictVocabulary("http://www.w3.org/ns/hydra/core#")
11
11
 
12
12
  # Ontology definition
13
- ontology :"http://www.w3.org/ns/hydra/core",
14
- :"cc:attributionName" => %(Hydra W3C Community Group).freeze,
15
- :"cc:attributionURL" => %(http://www.hydra-cg.com/).freeze,
16
- :"cc:license" => %(http://creativecommons.org/licenses/by/4.0/).freeze,
13
+ ontology :"http://www.w3.org/ns/hydra/core#",
14
+ "cc:attributionName": "Hydra W3C Community Group".freeze,
15
+ "cc:attributionURL": "http://www.hydra-cg.com/".freeze,
16
+ "cc:license": "http://creativecommons.org/licenses/by/4.0/".freeze,
17
17
  comment: %(A lightweight vocabulary for hypermedia-driven Web APIs).freeze,
18
- :"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
- :"dc:publisher" => %(Hydra W3C Community Group).freeze,
20
- :"dc:rights" => %(Copyright © 2012-2014 the Contributors to the Hydra Core Vocabulary Specification).freeze,
21
- :"http://purl.org/vocab/vann/preferredNamespacePrefix" => %(hydra).freeze,
18
+ "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
+ "dc:publisher": "Hydra W3C Community Group".freeze,
20
+ "dc:rights": "Copyright © 2012-2014 the Contributors to the Hydra Core Vocabulary Specification".freeze,
21
+ "http://purl.org/vocab/vann/preferredNamespacePrefix": "hydra".freeze,
22
22
  label: "The Hydra Core Vocabulary".freeze,
23
23
  type: "owl:Ontology".freeze
24
24
 
25
25
  # Class definitions
26
26
  term :ApiDocumentation,
27
27
  comment: %(The Hydra API documentation class).freeze,
28
+ isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
28
29
  label: "ApiDocumentation".freeze,
29
- :"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
30
30
  subClassOf: "hydra:Resource".freeze,
31
31
  type: "hydra:Class".freeze,
32
- :"vs:term_status" => %(testing).freeze
32
+ "vs:term_status": "testing".freeze
33
33
  term :Class,
34
34
  comment: %(The class of Hydra classes. Hydra classes and their instances are dereferenceable resources.).freeze,
35
+ isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
35
36
  label: "Hydra Class".freeze,
36
- :"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
37
37
  subClassOf: ["hydra:Resource".freeze, "rdfs:Class".freeze],
38
38
  type: ["hydra:Resource".freeze, "rdfs:Class".freeze],
39
- :"vs:term_status" => %(testing).freeze
39
+ "vs:term_status": "testing".freeze
40
40
  term :Collection,
41
41
  comment: %(A collection holding references to a number of related resources.).freeze,
42
+ isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
42
43
  label: "Collection".freeze,
43
- :"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
44
44
  subClassOf: "hydra:Resource".freeze,
45
45
  type: "hydra:Class".freeze,
46
- :"vs:term_status" => %(testing).freeze
46
+ "vs:term_status": "testing".freeze
47
47
  term :Error,
48
48
  comment: %(A runtime error, used to report information beyond the returned status code.).freeze,
49
+ isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
49
50
  label: "Error".freeze,
50
- :"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
51
51
  subClassOf: "hydra:Status".freeze,
52
52
  type: "hydra:Class".freeze,
53
- :"vs:term_status" => %(testing).freeze
53
+ "vs:term_status": "testing".freeze
54
54
  term :IriTemplate,
55
55
  comment: %(The class of IRI templates.).freeze,
56
+ isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
56
57
  label: "IRI Template".freeze,
57
- :"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
58
58
  subClassOf: "hydra:Resource".freeze,
59
59
  type: "hydra:Class".freeze,
60
- :"vs:term_status" => %(testing).freeze
60
+ "vs:term_status": "testing".freeze
61
61
  term :IriTemplateMapping,
62
62
  comment: %(A mapping from an IRI template variable to a property.).freeze,
63
+ isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
63
64
  label: "IriTemplateMapping".freeze,
64
- :"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
65
65
  subClassOf: "hydra:Resource".freeze,
66
66
  type: "hydra:Class".freeze,
67
- :"vs:term_status" => %(testing).freeze
67
+ "vs:term_status": "testing".freeze
68
68
  term :Link,
69
69
  comment: %(The class of properties representing links.).freeze,
70
+ isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
70
71
  label: "Link".freeze,
71
- :"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
72
72
  subClassOf: ["hydra:Resource".freeze, "rdf:Property".freeze],
73
73
  type: "hydra:Class".freeze,
74
- :"vs:term_status" => %(testing).freeze
74
+ "vs:term_status": "testing".freeze
75
75
  term :Operation,
76
76
  comment: %(An operation.).freeze,
77
+ isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
77
78
  label: "Operation".freeze,
78
- :"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
79
79
  subClassOf: "hydra:Resource".freeze,
80
80
  type: "hydra:Class".freeze,
81
- :"vs:term_status" => %(testing).freeze
81
+ "vs:term_status": "testing".freeze
82
82
  term :PartialCollectionView,
83
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,
84
+ isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
84
85
  label: "PartialCollectionView".freeze,
85
- :"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
86
86
  subClassOf: "hydra:Resource".freeze,
87
87
  type: "hydra:Class".freeze,
88
- :"vs:term_status" => %(testing).freeze
88
+ "vs:term_status": "testing".freeze
89
89
  term :Resource,
90
90
  comment: %(The class of dereferenceable resources.).freeze,
91
+ isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
91
92
  label: "Hydra Resource".freeze,
92
- :"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
93
93
  subClassOf: "rdfs:Resource".freeze,
94
94
  type: "hydra:Class".freeze,
95
- :"vs:term_status" => %(testing).freeze
95
+ "vs:term_status": "testing".freeze
96
96
  term :Status,
97
97
  comment: %(Additional information about a status code that might be returned.).freeze,
98
+ isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
98
99
  label: "Status code description".freeze,
99
- :"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
100
100
  subClassOf: "hydra:Resource".freeze,
101
101
  type: "hydra:Class".freeze,
102
- :"vs:term_status" => %(testing).freeze
102
+ "vs:term_status": "testing".freeze
103
103
  term :SupportedProperty,
104
104
  comment: %(A property known to be supported by a Hydra class.).freeze,
105
+ isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
105
106
  label: "Supported Property".freeze,
106
- :"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
107
107
  subClassOf: "hydra:Resource".freeze,
108
108
  type: "hydra:Class".freeze,
109
- :"vs:term_status" => %(testing).freeze
109
+ "vs:term_status": "testing".freeze
110
110
  term :TemplatedLink,
111
111
  comment: %(A templated link.).freeze,
112
+ isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
112
113
  label: "Templated Link".freeze,
113
- :"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
114
114
  subClassOf: ["hydra:Resource".freeze, "rdf:Property".freeze],
115
115
  type: "hydra:Class".freeze,
116
- :"vs:term_status" => %(testing).freeze
116
+ "vs:term_status": "testing".freeze
117
117
  term :VariableRepresentation,
118
118
  comment: %(A representation specifies how to serialize variable values into strings.).freeze,
119
+ isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
119
120
  label: "VariableRepresentation".freeze,
120
- :"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
121
121
  subClassOf: "hydra:Resource".freeze,
122
122
  type: "hydra:Class".freeze,
123
- :"vs:term_status" => %(testing).freeze
123
+ "vs:term_status": "testing".freeze
124
124
 
125
125
  # Property definitions
126
126
  property :description,
127
127
  comment: %(A description.).freeze,
128
+ isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
128
129
  label: "description".freeze,
129
130
  range: "xsd:string".freeze,
130
- :"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
131
131
  subPropertyOf: "rdfs:comment".freeze,
132
132
  type: "rdf:Property".freeze,
133
- :"vs:term_status" => %(testing).freeze
133
+ "vs:term_status": "testing".freeze
134
134
  property :freetextQuery,
135
135
  comment: %(A property representing a freetext query.).freeze,
136
+ isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
136
137
  label: "freetext query".freeze,
137
138
  range: "xsd:string".freeze,
138
- :"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
139
139
  type: "rdf:Property".freeze,
140
- :"vs:term_status" => %(testing).freeze
140
+ "vs:term_status": "testing".freeze
141
141
  property :mapping,
142
142
  comment: %(A variable-to-property mapping of the IRI template.).freeze,
143
143
  domain: "hydra:IriTemplate".freeze,
144
+ isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
144
145
  label: "mapping".freeze,
145
146
  range: "hydra:IriTemplateMapping".freeze,
146
- :"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
147
147
  type: "rdf:Property".freeze,
148
- :"vs:term_status" => %(testing).freeze
148
+ "vs:term_status": "testing".freeze
149
149
  property :method,
150
150
  comment: %(The HTTP method.).freeze,
151
151
  domain: "hydra:Operation".freeze,
152
+ isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
152
153
  label: "method".freeze,
153
154
  range: "xsd:string".freeze,
154
- :"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
155
155
  type: "rdf:Property".freeze,
156
- :"vs:term_status" => %(testing).freeze
156
+ "vs:term_status": "testing".freeze
157
157
  property :property,
158
158
  comment: %(A property).freeze,
159
+ isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
159
160
  label: "property".freeze,
160
161
  range: "rdf:Property".freeze,
161
- :"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
162
162
  type: "rdf:Property".freeze,
163
- :"vs:term_status" => %(testing).freeze
163
+ "vs:term_status": "testing".freeze
164
164
  property :readable,
165
165
  comment: %(True if the client can retrieve the property's value, false otherwise.).freeze,
166
166
  domain: "hydra:SupportedProperty".freeze,
167
+ isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
167
168
  label: "readable".freeze,
168
169
  range: "xsd:boolean".freeze,
169
- :"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
170
170
  type: "rdf:Property".freeze,
171
- :"vs:term_status" => %(testing).freeze
171
+ "vs:term_status": "testing".freeze
172
172
  property :required,
173
173
  comment: %(True if the property is required, false otherwise.).freeze,
174
+ isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
174
175
  label: "required".freeze,
175
176
  range: "xsd:boolean".freeze,
176
- :"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
177
177
  type: "rdf:Property".freeze,
178
- :"vs:term_status" => %(testing).freeze
178
+ "vs:term_status": "testing".freeze
179
179
  property :statusCode,
180
180
  comment: %(The HTTP status code).freeze,
181
181
  domain: "hydra:Status".freeze,
182
+ isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
182
183
  label: "status code".freeze,
183
184
  range: "xsd:integer".freeze,
184
- :"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
185
185
  type: "rdf:Property".freeze,
186
- :"vs:term_status" => %(testing).freeze
186
+ "vs:term_status": "testing".freeze
187
187
  property :template,
188
188
  comment: %(A templated string with placeholders. The literal's datatype indicates the template syntax; if not specified, hydra:Rfc6570Template is assumed.).freeze,
189
+ isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
189
190
  label: "template".freeze,
190
- :"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
191
- :"rdfs:seeAlso" => %(hydra:Rfc6570Template).freeze,
191
+ "rdfs:seeAlso": "hydra:Rfc6570Template".freeze,
192
192
  type: "rdf:Property".freeze,
193
- :"vs:term_status" => %(testing).freeze
193
+ "vs:term_status": "testing".freeze
194
194
  property :title,
195
195
  comment: %(A title, often used along with a description.).freeze,
196
+ isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
196
197
  label: "title".freeze,
197
198
  range: "xsd:string".freeze,
198
- :"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
199
199
  subPropertyOf: "rdfs:label".freeze,
200
200
  type: "rdf:Property".freeze,
201
- :"vs:term_status" => %(testing).freeze
201
+ "vs:term_status": "testing".freeze
202
202
  property :totalItems,
203
203
  comment: %(The total number of items referenced by a collection.).freeze,
204
204
  domain: "hydra:Collection".freeze,
205
+ isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
205
206
  label: "total items".freeze,
206
207
  range: "xsd:integer".freeze,
207
- :"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
208
208
  type: "rdf:Property".freeze,
209
- :"vs:term_status" => %(testing).freeze
209
+ "vs:term_status": "testing".freeze
210
210
  property :variable,
211
211
  comment: %(An IRI template variable).freeze,
212
212
  domain: "hydra:IriTemplateMapping".freeze,
213
+ isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
213
214
  label: "variable".freeze,
214
215
  range: "xsd:string".freeze,
215
- :"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
216
216
  type: "rdf:Property".freeze,
217
- :"vs:term_status" => %(testing).freeze
217
+ "vs:term_status": "testing".freeze
218
218
  property :variableRepresentation,
219
219
  comment: %(The representation format to use when expanding the IRI template.).freeze,
220
+ isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
220
221
  label: "variable representation".freeze,
221
222
  range: "hydra:VariableRepresentation".freeze,
222
- :"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
223
223
  type: "rdf:Property".freeze,
224
- :"vs:term_status" => %(testing).freeze
224
+ "vs:term_status": "testing".freeze
225
225
  property :writeable,
226
226
  comment: %(True if the client can change the property's value, false otherwise.).freeze,
227
227
  domain: "hydra:SupportedProperty".freeze,
228
+ isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
228
229
  label: "writeable".freeze,
229
230
  range: "xsd:boolean".freeze,
230
- :"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
231
231
  type: "rdf:Property".freeze,
232
- :"vs:term_status" => %(testing).freeze
232
+ "vs:term_status": "testing".freeze
233
233
 
234
234
  # Datatype definitions
235
235
  term :Rfc6570Template,
236
236
  comment: %(An IRI template as defined by RFC6570.).freeze,
237
+ isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
237
238
  label: "RFC6570 IRI template".freeze,
238
239
  range: "xsd:string".freeze,
239
- :"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
240
- :"rdfs:seeAlso" => %(http://tools.ietf.org/html/rfc6570).freeze,
240
+ "rdfs:seeAlso": "http://tools.ietf.org/html/rfc6570".freeze,
241
241
  type: "rdfs:Datatype".freeze,
242
- :"vs:term_status" => %(testing).freeze
242
+ "vs:term_status": "testing".freeze
243
243
 
244
244
  # Extra definitions
245
245
  term :BasicRepresentation,
246
246
  comment: %(A representation that serializes just the lexical form of a variable value, but omits language and type information.).freeze,
247
+ isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
247
248
  label: "BasicRepresentation".freeze,
248
- :"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
249
249
  type: "hydra:VariableRepresentation".freeze,
250
- :"vs:term_status" => %(testing).freeze
250
+ "vs:term_status": "testing".freeze
251
251
  term :ExplicitRepresentation,
252
252
  comment: %(A representation that serializes a variable value including its language and type information and thus differentiating between IRIs and literals.).freeze,
253
+ isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
253
254
  label: "ExplicitRepresentation".freeze,
254
- :"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
255
255
  type: "hydra:VariableRepresentation".freeze,
256
- :"vs:term_status" => %(testing).freeze
256
+ "vs:term_status": "testing".freeze
257
257
  term :apiDocumentation,
258
258
  comment: %(A link to the API documentation).freeze,
259
+ isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
259
260
  label: "apiDocumentation".freeze,
260
261
  range: "hydra:ApiDocumentation".freeze,
261
- :"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
262
262
  type: "hydra:Link".freeze,
263
- :"vs:term_status" => %(testing).freeze
263
+ "vs:term_status": "testing".freeze
264
264
  term :entrypoint,
265
265
  comment: %(A link to main entry point of the Web API).freeze,
266
266
  domain: "hydra:ApiDocumentation".freeze,
267
+ isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
267
268
  label: "entrypoint".freeze,
268
269
  range: "hydra:Resource".freeze,
269
- :"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
270
270
  type: "hydra:Link".freeze,
271
- :"vs:term_status" => %(testing).freeze
271
+ "vs:term_status": "testing".freeze
272
272
  term :expects,
273
273
  comment: %(The information expected by the Web API.).freeze,
274
274
  domain: "hydra:Operation".freeze,
275
+ isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
275
276
  label: "expects".freeze,
276
277
  range: "hydra:Class".freeze,
277
- :"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
278
278
  type: "hydra:Link".freeze,
279
- :"vs:term_status" => %(testing).freeze
279
+ "vs:term_status": "testing".freeze
280
280
  term :first,
281
281
  comment: %(The first resource of an interlinked set of resources.).freeze,
282
282
  domain: "hydra:Resource".freeze,
283
+ isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
283
284
  label: "first".freeze,
284
285
  range: "hydra:Resource".freeze,
285
- :"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
286
286
  type: "hydra:Link".freeze,
287
- :"vs:term_status" => %(testing).freeze
287
+ "vs:term_status": "testing".freeze
288
288
  term :last,
289
289
  comment: %(The last resource of an interlinked set of resources.).freeze,
290
290
  domain: "hydra:Resource".freeze,
291
+ isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
291
292
  label: "last".freeze,
292
293
  range: "hydra:Resource".freeze,
293
- :"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
294
294
  type: "hydra:Link".freeze,
295
- :"vs:term_status" => %(testing).freeze
295
+ "vs:term_status": "testing".freeze
296
296
  term :member,
297
297
  comment: %(A member of the collection).freeze,
298
298
  domain: "hydra:Collection".freeze,
299
+ isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
299
300
  label: "member".freeze,
300
301
  range: "hydra:Resource".freeze,
301
- :"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
302
302
  type: "hydra:Link".freeze,
303
- :"vs:term_status" => %(testing).freeze
303
+ "vs:term_status": "testing".freeze
304
304
  term :next,
305
305
  comment: %(The resource following the current instance in an interlinked set of resources.).freeze,
306
306
  domain: "hydra:Resource".freeze,
307
+ isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
307
308
  label: "next".freeze,
308
309
  range: "hydra:Resource".freeze,
309
- :"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
310
310
  type: "hydra:Link".freeze,
311
- :"vs:term_status" => %(testing).freeze
311
+ "vs:term_status": "testing".freeze
312
312
  term :operation,
313
313
  comment: %(An operation supported by the Hydra resource).freeze,
314
314
  domain: "hydra:Resource".freeze,
315
+ isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
315
316
  label: "operation".freeze,
316
317
  range: "hydra:Operation".freeze,
317
- :"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
318
318
  type: "hydra:Link".freeze,
319
- :"vs:term_status" => %(testing).freeze
319
+ "vs:term_status": "testing".freeze
320
320
  term :possibleStatus,
321
321
  comment: %(A status that might be returned by the Web API \(other statuses should be expected and properly handled as well\)).freeze,
322
+ isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
322
323
  label: "possible status".freeze,
323
324
  range: "hydra:Status".freeze,
324
- :"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
325
325
  type: "hydra:Link".freeze,
326
- :"vs:term_status" => %(testing).freeze
326
+ "vs:term_status": "testing".freeze
327
327
  term :previous,
328
328
  comment: %(The resource preceding the current instance in an interlinked set of resources.).freeze,
329
329
  domain: "hydra:Resource".freeze,
330
+ isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
330
331
  label: "previous".freeze,
331
332
  range: "hydra:Resource".freeze,
332
- :"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
333
333
  type: "hydra:Link".freeze,
334
- :"vs:term_status" => %(testing).freeze
334
+ "vs:term_status": "testing".freeze
335
335
  term :returns,
336
336
  comment: %(The information returned by the Web API on success).freeze,
337
337
  domain: "hydra:Operation".freeze,
338
+ isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
338
339
  label: "returns".freeze,
339
340
  range: "hydra:Class".freeze,
340
- :"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
341
341
  type: "hydra:Link".freeze,
342
- :"vs:term_status" => %(testing).freeze
342
+ "vs:term_status": "testing".freeze
343
343
  term :search,
344
344
  comment: %(A IRI template that can be used to query a collection.).freeze,
345
+ isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
345
346
  label: "search".freeze,
346
347
  range: "hydra:IriTemplate".freeze,
347
- :"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
348
348
  type: "hydra:TemplatedLink".freeze,
349
- :"vs:term_status" => %(testing).freeze
349
+ "vs:term_status": "testing".freeze
350
350
  term :supportedClass,
351
351
  comment: %(A class known to be supported by the Web API).freeze,
352
352
  domain: "hydra:ApiDocumentation".freeze,
353
+ isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
353
354
  label: "supported classes".freeze,
354
355
  range: "hydra:Class".freeze,
355
- :"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
356
356
  type: "hydra:Link".freeze,
357
- :"vs:term_status" => %(testing).freeze
357
+ "vs:term_status": "testing".freeze
358
358
  term :supportedOperation,
359
359
  comment: %(An operation supported by instances of the specific Hydra class or the target of the Hydra link).freeze,
360
+ isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
360
361
  label: "supported operation".freeze,
361
362
  range: "hydra:Operation".freeze,
362
- :"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
363
363
  type: "hydra:Link".freeze,
364
- :"vs:term_status" => %(testing).freeze
364
+ "vs:term_status": "testing".freeze
365
365
  term :supportedProperty,
366
366
  comment: %(The properties known to be supported by a Hydra class).freeze,
367
367
  domain: "hydra:Class".freeze,
368
+ isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
368
369
  label: "supported properties".freeze,
369
370
  range: "hydra:SupportedProperty".freeze,
370
- :"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
371
371
  type: "hydra:Link".freeze,
372
- :"vs:term_status" => %(testing).freeze
372
+ "vs:term_status": "testing".freeze
373
373
  term :view,
374
374
  comment: %(A specific view of a resource.).freeze,
375
375
  domain: "hydra:Resource".freeze,
376
+ isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
376
377
  label: "view".freeze,
377
378
  range: "hydra:Resource".freeze,
378
- :"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
379
379
  type: "hydra:Link".freeze,
380
- :"vs:term_status" => %(testing).freeze
380
+ "vs:term_status": "testing".freeze
381
381
  end
382
382
  end