rdf-vocab 3.1.7 → 3.1.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +10 -3
- data/VERSION +1 -1
- data/lib/rdf/vocab.rb +33 -8
- data/lib/rdf/vocab/acl.rb +67 -194
- data/lib/rdf/vocab/as.rb +471 -984
- data/lib/rdf/vocab/bf2.rb +1714 -3034
- data/lib/rdf/vocab/bibframe.rb +2270 -1840
- data/lib/rdf/vocab/bibo.rb +696 -1201
- data/lib/rdf/vocab/cc.rb +75 -214
- data/lib/rdf/vocab/cert.rb +90 -268
- data/lib/rdf/vocab/cnt.rb +70 -152
- data/lib/rdf/vocab/crm.rb +1420 -3261
- data/lib/rdf/vocab/datacite.rb +161 -161
- data/lib/rdf/vocab/dbo.rb +3901 -14146
- data/lib/rdf/vocab/dc.rb +556 -898
- data/lib/rdf/vocab/dc11.rb +92 -158
- data/lib/rdf/vocab/dcat.rb +300 -466
- data/lib/rdf/vocab/dcmitype.rb +77 -131
- data/lib/rdf/vocab/disco.rb +228 -459
- data/lib/rdf/vocab/doap.rb +250 -430
- data/lib/rdf/vocab/dwc.rb +1639 -2395
- data/lib/rdf/vocab/earl.rb +105 -243
- data/lib/rdf/vocab/ebucore.rb +3957 -8695
- data/lib/rdf/vocab/edm.rb +211 -426
- data/lib/rdf/vocab/exif.rb +614 -1268
- data/lib/rdf/vocab/extensions.rb +3 -3
- data/lib/rdf/vocab/fcrepo4.rb +268 -648
- data/lib/rdf/vocab/foaf.rb +448 -756
- data/lib/rdf/vocab/geo.rb +24 -167
- data/lib/rdf/vocab/geojson.rb +32 -101
- data/lib/rdf/vocab/geonames.rb +2915 -3092
- data/lib/rdf/vocab/gr.rb +716 -1991
- data/lib/rdf/vocab/gs1.rb +3780 -5380
- data/lib/rdf/vocab/ht.rb +133 -300
- data/lib/rdf/vocab/hydra.rb +298 -511
- data/lib/rdf/vocab/iana.rb +142 -417
- data/lib/rdf/vocab/ical.rb +532 -1045
- data/lib/rdf/vocab/identifiers.rb +215 -1019
- data/lib/rdf/vocab/iiif.rb +106 -245
- data/lib/rdf/vocab/jsonld.rb +163 -323
- data/lib/rdf/vocab/ldp.rb +161 -294
- data/lib/rdf/vocab/lrmi.rb +175 -199
- data/lib/rdf/vocab/ma.rb +312 -702
- data/lib/rdf/vocab/mads.rb +516 -1113
- data/lib/rdf/vocab/marcrelators.rb +540 -1351
- data/lib/rdf/vocab/mo.rb +1579 -2844
- data/lib/rdf/vocab/mods.rb +503 -1026
- data/lib/rdf/vocab/nfo.rb +311 -315
- data/lib/rdf/vocab/oa.rb +264 -546
- data/lib/rdf/vocab/og.rb +158 -239
- data/lib/rdf/vocab/ogc.rb +33 -70
- data/lib/rdf/vocab/ore.rb +64 -123
- data/lib/rdf/vocab/org.rb +226 -422
- data/lib/rdf/vocab/pcdm.rb +61 -133
- data/lib/rdf/vocab/pplan.rb +16 -202
- data/lib/rdf/vocab/premis.rb +793 -2039
- data/lib/rdf/vocab/premiseventtype.rb +115 -273
- data/lib/rdf/vocab/prov.rb +1077 -1724
- data/lib/rdf/vocab/ptr.rb +111 -254
- data/lib/rdf/vocab/rdau.rb +10506 -0
- data/lib/rdf/vocab/rightsstatements.rb +102 -110
- data/lib/rdf/vocab/rsa.rb +37 -89
- data/lib/rdf/vocab/rss.rb +34 -79
- data/lib/rdf/vocab/schema.rb +11734 -22244
- data/lib/rdf/vocab/schemas.rb +16870 -0
- data/lib/rdf/vocab/sd.rb +123 -280
- data/lib/rdf/vocab/sh.rb +912 -1651
- data/lib/rdf/vocab/sioc.rb +513 -917
- data/lib/rdf/vocab/siocservices.rb +39 -80
- data/lib/rdf/vocab/sioctypes.rb +183 -344
- data/lib/rdf/vocab/skos.rb +136 -260
- data/lib/rdf/vocab/skosxl.rb +36 -69
- data/lib/rdf/vocab/v.rb +231 -529
- data/lib/rdf/vocab/vcard.rb +407 -1038
- data/lib/rdf/vocab/vmd.rb +231 -529
- data/lib/rdf/vocab/void.rb +112 -236
- data/lib/rdf/vocab/vs.rb +20 -42
- data/lib/rdf/vocab/wdrs.rb +65 -158
- data/lib/rdf/vocab/wot.rb +113 -194
- data/lib/rdf/vocab/xhtml.rb +2 -7
- data/lib/rdf/vocab/xhv.rb +206 -663
- data/lib/rdf/vocab/xkos.rb +122 -275
- data/spec/extensions_spec.rb +1 -1
- data/spec/spec_helper.rb +13 -0
- metadata +72 -24
data/lib/rdf/vocab/hydra.rb
CHANGED
@@ -3,696 +3,483 @@
|
|
3
3
|
# This file generated automatically using rdf vocabulary format from http://www.w3.org/ns/hydra/core#
|
4
4
|
require 'rdf'
|
5
5
|
module RDF::Vocab
|
6
|
-
# @!parse
|
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.
|
14
|
-
# class HYDRA < RDF::StrictVocabulary
|
15
|
-
# # The Hydra API documentation class
|
16
|
-
# # @return [RDF::Vocabulary::Term]
|
17
|
-
# attr_reader :ApiDocumentation
|
18
|
-
#
|
19
|
-
# # The class of Hydra classes. Hydra classes and their instances are dereferenceable resources.
|
20
|
-
# # @return [RDF::Vocabulary::Term]
|
21
|
-
# attr_reader :Class
|
22
|
-
#
|
23
|
-
# # A collection holding references to a number of related resources.
|
24
|
-
# # @return [RDF::Vocabulary::Term]
|
25
|
-
# attr_reader :Collection
|
26
|
-
#
|
27
|
-
# # A runtime error, used to report information beyond the returned status code.
|
28
|
-
# # @return [RDF::Vocabulary::Term]
|
29
|
-
# attr_reader :Error
|
30
|
-
#
|
31
|
-
# # The class of IRI templates.
|
32
|
-
# # @return [RDF::Vocabulary::Term]
|
33
|
-
# attr_reader :IriTemplate
|
34
|
-
#
|
35
|
-
# # A mapping from an IRI template variable to a property.
|
36
|
-
# # @return [RDF::Vocabulary::Term]
|
37
|
-
# attr_reader :IriTemplateMapping
|
38
|
-
#
|
39
|
-
# # The class of properties representing links.
|
40
|
-
# # @return [RDF::Vocabulary::Term]
|
41
|
-
# attr_reader :Link
|
42
|
-
#
|
43
|
-
# # An operation.
|
44
|
-
# # @return [RDF::Vocabulary::Term]
|
45
|
-
# attr_reader :Operation
|
46
|
-
#
|
47
|
-
# # 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.
|
48
|
-
# # @return [RDF::Vocabulary::Term]
|
49
|
-
# attr_reader :PartialCollectionView
|
50
|
-
#
|
51
|
-
# # The class of dereferenceable resources.
|
52
|
-
# # @return [RDF::Vocabulary::Term]
|
53
|
-
# attr_reader :Resource
|
54
|
-
#
|
55
|
-
# # Additional information about a status code that might be returned.
|
56
|
-
# # @return [RDF::Vocabulary::Term]
|
57
|
-
# attr_reader :Status
|
58
|
-
#
|
59
|
-
# # A property known to be supported by a Hydra class.
|
60
|
-
# # @return [RDF::Vocabulary::Term]
|
61
|
-
# attr_reader :SupportedProperty
|
62
|
-
#
|
63
|
-
# # A templated link.
|
64
|
-
# # @return [RDF::Vocabulary::Term]
|
65
|
-
# attr_reader :TemplatedLink
|
66
|
-
#
|
67
|
-
# # A representation specifies how to serialize variable values into strings.
|
68
|
-
# # @return [RDF::Vocabulary::Term]
|
69
|
-
# attr_reader :VariableRepresentation
|
70
|
-
#
|
71
|
-
# # A description.
|
72
|
-
# # @return [RDF::Vocabulary::Term]
|
73
|
-
# attr_reader :description
|
74
|
-
#
|
75
|
-
# # Specification of the header expected by the operation.
|
76
|
-
# # @return [RDF::Vocabulary::Term]
|
77
|
-
# attr_reader :expectsHeader
|
78
|
-
#
|
79
|
-
# # A property representing a freetext query.
|
80
|
-
# # @return [RDF::Vocabulary::Term]
|
81
|
-
# attr_reader :freetextQuery
|
82
|
-
#
|
83
|
-
# # Instructs to limit set only to N elements.
|
84
|
-
# # @return [RDF::Vocabulary::Term]
|
85
|
-
# attr_reader :limit
|
86
|
-
#
|
87
|
-
# # A variable-to-property mapping of the IRI template.
|
88
|
-
# # @return [RDF::Vocabulary::Term]
|
89
|
-
# attr_reader :mapping
|
90
|
-
#
|
91
|
-
# # The HTTP method.
|
92
|
-
# # @return [RDF::Vocabulary::Term]
|
93
|
-
# attr_reader :method
|
94
|
-
#
|
95
|
-
# # Instructs to skip N elements of the set.
|
96
|
-
# # @return [RDF::Vocabulary::Term]
|
97
|
-
# attr_reader :offset
|
98
|
-
#
|
99
|
-
# # Instructs to provide a specific page of the collection at a given index.
|
100
|
-
# # @return [RDF::Vocabulary::Term]
|
101
|
-
# attr_reader :pageIndex
|
102
|
-
#
|
103
|
-
# # Instructs to provide a specific page reference of the collection.
|
104
|
-
# # @return [RDF::Vocabulary::Term]
|
105
|
-
# attr_reader :pageReference
|
106
|
-
#
|
107
|
-
# # A property
|
108
|
-
# # @return [RDF::Vocabulary::Term]
|
109
|
-
# attr_reader :property
|
110
|
-
#
|
111
|
-
# # True if the client can retrieve the property's value, false otherwise.
|
112
|
-
# # @return [RDF::Vocabulary::Term]
|
113
|
-
# attr_reader :readable
|
114
|
-
#
|
115
|
-
# # True if the property is required, false otherwise.
|
116
|
-
# # @return [RDF::Vocabulary::Term]
|
117
|
-
# attr_reader :required
|
118
|
-
#
|
119
|
-
# # Name of the header returned by the operation.
|
120
|
-
# # @return [RDF::Vocabulary::Term]
|
121
|
-
# attr_reader :returnsHeader
|
122
|
-
#
|
123
|
-
# # The HTTP status code
|
124
|
-
# # @return [RDF::Vocabulary::Term]
|
125
|
-
# attr_reader :statusCode
|
126
|
-
#
|
127
|
-
# # A templated string with placeholders. The literal's datatype indicates the template syntax; if not specified, hydra:Rfc6570Template is assumed.
|
128
|
-
# # @return [RDF::Vocabulary::Term]
|
129
|
-
# attr_reader :template
|
130
|
-
#
|
131
|
-
# # A title, often used along with a description.
|
132
|
-
# # @return [RDF::Vocabulary::Term]
|
133
|
-
# attr_reader :title
|
134
|
-
#
|
135
|
-
# # The total number of items referenced by a collection.
|
136
|
-
# # @return [RDF::Vocabulary::Term]
|
137
|
-
# attr_reader :totalItems
|
138
|
-
#
|
139
|
-
# # An IRI template variable
|
140
|
-
# # @return [RDF::Vocabulary::Term]
|
141
|
-
# attr_reader :variable
|
142
|
-
#
|
143
|
-
# # The representation format to use when expanding the IRI template.
|
144
|
-
# # @return [RDF::Vocabulary::Term]
|
145
|
-
# attr_reader :variableRepresentation
|
146
|
-
#
|
147
|
-
# # True if the client can change the property's value, false otherwise.
|
148
|
-
# # @return [RDF::Vocabulary::Term]
|
149
|
-
# attr_reader :writeable
|
150
|
-
#
|
151
|
-
# # An IRI template as defined by RFC6570.
|
152
|
-
# # @return [RDF::Vocabulary::Term]
|
153
|
-
# attr_reader :Rfc6570Template
|
154
|
-
#
|
155
|
-
# # A representation that serializes just the lexical form of a variable value, but omits language and type information.
|
156
|
-
# # @return [RDF::Vocabulary::Term]
|
157
|
-
# attr_reader :BasicRepresentation
|
158
|
-
#
|
159
|
-
# # A representation that serializes a variable value including its language and type information and thus differentiating between IRIs and literals.
|
160
|
-
# # @return [RDF::Vocabulary::Term]
|
161
|
-
# attr_reader :ExplicitRepresentation
|
162
|
-
#
|
163
|
-
# # A link to the API documentation
|
164
|
-
# # @return [RDF::Vocabulary::Term]
|
165
|
-
# attr_reader :apiDocumentation
|
166
|
-
#
|
167
|
-
# # Collections somehow related to this resource.
|
168
|
-
# # @return [RDF::Vocabulary::Term]
|
169
|
-
# attr_reader :collection
|
170
|
-
#
|
171
|
-
# # A link to main entry point of the Web API
|
172
|
-
# # @return [RDF::Vocabulary::Term]
|
173
|
-
# attr_reader :entrypoint
|
174
|
-
#
|
175
|
-
# # The information expected by the Web API.
|
176
|
-
# # @return [RDF::Vocabulary::Term]
|
177
|
-
# attr_reader :expects
|
178
|
-
#
|
179
|
-
# # The first resource of an interlinked set of resources.
|
180
|
-
# # @return [RDF::Vocabulary::Term]
|
181
|
-
# attr_reader :first
|
182
|
-
#
|
183
|
-
# # The last resource of an interlinked set of resources.
|
184
|
-
# # @return [RDF::Vocabulary::Term]
|
185
|
-
# attr_reader :last
|
186
|
-
#
|
187
|
-
# # Semantics of each member provided by the collection.
|
188
|
-
# # @return [RDF::Vocabulary::Term]
|
189
|
-
# attr_reader :manages
|
190
|
-
#
|
191
|
-
# # A member of the collection
|
192
|
-
# # @return [RDF::Vocabulary::Term]
|
193
|
-
# attr_reader :member
|
194
|
-
#
|
195
|
-
# # The resource following the current instance in an interlinked set of resources.
|
196
|
-
# # @return [RDF::Vocabulary::Term]
|
197
|
-
# attr_reader :next
|
198
|
-
#
|
199
|
-
# # The object.
|
200
|
-
# # @return [RDF::Vocabulary::Term]
|
201
|
-
# attr_reader :object
|
202
|
-
#
|
203
|
-
# # An operation supported by the Hydra resource
|
204
|
-
# # @return [RDF::Vocabulary::Term]
|
205
|
-
# attr_reader :operation
|
206
|
-
#
|
207
|
-
# # A status that might be returned by the Web API (other statuses should be expected and properly handled as well)
|
208
|
-
# # @return [RDF::Vocabulary::Term]
|
209
|
-
# attr_reader :possibleStatus
|
210
|
-
#
|
211
|
-
# # The resource preceding the current instance in an interlinked set of resources.
|
212
|
-
# # @return [RDF::Vocabulary::Term]
|
213
|
-
# attr_reader :previous
|
214
|
-
#
|
215
|
-
# # The information returned by the Web API on success
|
216
|
-
# # @return [RDF::Vocabulary::Term]
|
217
|
-
# attr_reader :returns
|
218
|
-
#
|
219
|
-
# # A IRI template that can be used to query a collection.
|
220
|
-
# # @return [RDF::Vocabulary::Term]
|
221
|
-
# attr_reader :search
|
222
|
-
#
|
223
|
-
# # The subject.
|
224
|
-
# # @return [RDF::Vocabulary::Term]
|
225
|
-
# attr_reader :subject
|
226
|
-
#
|
227
|
-
# # A class known to be supported by the Web API
|
228
|
-
# # @return [RDF::Vocabulary::Term]
|
229
|
-
# attr_reader :supportedClass
|
230
|
-
#
|
231
|
-
# # An operation supported by instances of the specific Hydra class or the target of the Hydra link
|
232
|
-
# # @return [RDF::Vocabulary::Term]
|
233
|
-
# attr_reader :supportedOperation
|
234
|
-
#
|
235
|
-
# # The properties known to be supported by a Hydra class
|
236
|
-
# # @return [RDF::Vocabulary::Term]
|
237
|
-
# attr_reader :supportedProperty
|
238
|
-
#
|
239
|
-
# # A specific view of a resource.
|
240
|
-
# # @return [RDF::Vocabulary::Term]
|
241
|
-
# attr_reader :view
|
242
|
-
#
|
243
|
-
# end
|
244
6
|
HYDRA = Class.new(RDF::StrictVocabulary("http://www.w3.org/ns/hydra/core#")) do
|
245
7
|
|
246
8
|
# Ontology definition
|
247
9
|
ontology :"http://www.w3.org/ns/hydra/core#",
|
248
|
-
|
249
|
-
"
|
250
|
-
"
|
251
|
-
|
252
|
-
"dc
|
253
|
-
"dc
|
254
|
-
"dc
|
10
|
+
comment: "A lightweight vocabulary for hypermedia-driven Web APIs".freeze,
|
11
|
+
"http://creativecommons.org/ns#attributionName": "Hydra W3C Community Group".freeze,
|
12
|
+
"http://creativecommons.org/ns#attributionURL": "http://www.hydra-cg.com/".freeze,
|
13
|
+
"http://creativecommons.org/ns#license": "http://creativecommons.org/licenses/by/4.0/".freeze,
|
14
|
+
"http://purl.org/dc/terms/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,
|
15
|
+
"http://purl.org/dc/terms/publisher": "Hydra W3C Community Group".freeze,
|
16
|
+
"http://purl.org/dc/terms/rights": "Copyright © 2012-2014 the Contributors to the Hydra Core Vocabulary Specification".freeze,
|
255
17
|
"http://purl.org/vocab/vann/preferredNamespacePrefix": "hydra".freeze,
|
256
18
|
label: "The Hydra Core Vocabulary".freeze,
|
257
|
-
type: "owl
|
19
|
+
type: "http://www.w3.org/2002/07/owl#Ontology".freeze
|
258
20
|
|
259
21
|
# Class definitions
|
260
22
|
term :ApiDocumentation,
|
261
|
-
comment:
|
23
|
+
comment: "The Hydra API documentation class".freeze,
|
24
|
+
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "testing".freeze,
|
262
25
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
263
26
|
label: "ApiDocumentation".freeze,
|
264
|
-
subClassOf: "hydra
|
265
|
-
type: "hydra
|
266
|
-
|
27
|
+
subClassOf: "http://www.w3.org/ns/hydra/core#Resource".freeze,
|
28
|
+
type: "http://www.w3.org/ns/hydra/core#Class".freeze
|
29
|
+
term :BaseUriSource,
|
30
|
+
comment: "Provides a base abstract for base Uri source for Iri template resolution.".freeze,
|
31
|
+
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "testing".freeze,
|
32
|
+
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
33
|
+
label: "Base Uri source".freeze,
|
34
|
+
subClassOf: "http://www.w3.org/ns/hydra/core#Resource".freeze,
|
35
|
+
type: "http://www.w3.org/ns/hydra/core#Class".freeze
|
267
36
|
term :Class,
|
268
|
-
comment:
|
37
|
+
comment: "The class of Hydra classes.".freeze,
|
38
|
+
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "testing".freeze,
|
269
39
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
270
40
|
label: "Hydra Class".freeze,
|
271
|
-
subClassOf:
|
272
|
-
type: ["
|
273
|
-
"vs:term_status": "testing".freeze
|
41
|
+
subClassOf: "http://www.w3.org/2000/01/rdf-schema#Class".freeze,
|
42
|
+
type: ["http://www.w3.org/2000/01/rdf-schema#Class".freeze, "http://www.w3.org/ns/hydra/core#Resource".freeze]
|
274
43
|
term :Collection,
|
275
|
-
comment:
|
44
|
+
comment: "A collection holding references to a number of related resources.".freeze,
|
45
|
+
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "testing".freeze,
|
276
46
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
277
47
|
label: "Collection".freeze,
|
278
|
-
subClassOf: "hydra
|
279
|
-
type: "hydra
|
280
|
-
"vs:term_status": "testing".freeze
|
48
|
+
subClassOf: "http://www.w3.org/ns/hydra/core#Resource".freeze,
|
49
|
+
type: "http://www.w3.org/ns/hydra/core#Class".freeze
|
281
50
|
term :Error,
|
282
|
-
comment:
|
51
|
+
comment: "A runtime error, used to report information beyond the returned status code.".freeze,
|
52
|
+
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "testing".freeze,
|
283
53
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
284
54
|
label: "Error".freeze,
|
285
|
-
subClassOf: "hydra
|
286
|
-
type: "hydra
|
287
|
-
"vs:term_status": "testing".freeze
|
55
|
+
subClassOf: "http://www.w3.org/ns/hydra/core#Status".freeze,
|
56
|
+
type: "http://www.w3.org/ns/hydra/core#Class".freeze
|
288
57
|
term :IriTemplate,
|
289
|
-
comment:
|
58
|
+
comment: "The class of IRI templates.".freeze,
|
59
|
+
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "testing".freeze,
|
290
60
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
291
61
|
label: "IRI Template".freeze,
|
292
|
-
|
293
|
-
type: "hydra:Class".freeze,
|
294
|
-
"vs:term_status": "testing".freeze
|
62
|
+
type: "http://www.w3.org/ns/hydra/core#Class".freeze
|
295
63
|
term :IriTemplateMapping,
|
296
|
-
comment:
|
64
|
+
comment: "A mapping from an IRI template variable to a property.".freeze,
|
65
|
+
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "testing".freeze,
|
297
66
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
298
67
|
label: "IriTemplateMapping".freeze,
|
299
|
-
|
300
|
-
type: "hydra:Class".freeze,
|
301
|
-
"vs:term_status": "testing".freeze
|
68
|
+
type: "http://www.w3.org/ns/hydra/core#Class".freeze
|
302
69
|
term :Link,
|
303
|
-
comment:
|
70
|
+
comment: "The class of properties representing links.".freeze,
|
71
|
+
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "testing".freeze,
|
304
72
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
305
73
|
label: "Link".freeze,
|
306
|
-
subClassOf: ["
|
307
|
-
type: "hydra
|
308
|
-
"vs:term_status": "testing".freeze
|
74
|
+
subClassOf: ["http://www.w3.org/1999/02/22-rdf-syntax-ns#Property".freeze, "http://www.w3.org/ns/hydra/core#Resource".freeze],
|
75
|
+
type: "http://www.w3.org/ns/hydra/core#Class".freeze
|
309
76
|
term :Operation,
|
310
|
-
comment:
|
77
|
+
comment: "An operation.".freeze,
|
78
|
+
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "testing".freeze,
|
311
79
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
312
80
|
label: "Operation".freeze,
|
313
|
-
|
314
|
-
type: "hydra:Class".freeze,
|
315
|
-
"vs:term_status": "testing".freeze
|
81
|
+
type: "http://www.w3.org/ns/hydra/core#Class".freeze
|
316
82
|
term :PartialCollectionView,
|
317
|
-
comment:
|
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
|
+
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "testing".freeze,
|
318
85
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
319
86
|
label: "PartialCollectionView".freeze,
|
320
|
-
subClassOf: "hydra
|
321
|
-
type: "hydra
|
322
|
-
"vs:term_status": "testing".freeze
|
87
|
+
subClassOf: "http://www.w3.org/ns/hydra/core#Resource".freeze,
|
88
|
+
type: "http://www.w3.org/ns/hydra/core#Class".freeze
|
323
89
|
term :Resource,
|
324
|
-
comment:
|
90
|
+
comment: "The class of dereferenceable resources by means a client can attempt to dereference; however, the received responses should still be verified.".freeze,
|
91
|
+
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "testing".freeze,
|
325
92
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
326
93
|
label: "Hydra Resource".freeze,
|
327
|
-
|
328
|
-
type: "hydra:Class".freeze,
|
329
|
-
"vs:term_status": "testing".freeze
|
94
|
+
type: "http://www.w3.org/ns/hydra/core#Class".freeze
|
330
95
|
term :Status,
|
331
|
-
comment:
|
96
|
+
comment: "Additional information about a status code that might be returned.".freeze,
|
97
|
+
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "testing".freeze,
|
332
98
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
333
99
|
label: "Status code description".freeze,
|
334
|
-
|
335
|
-
type: "hydra:Class".freeze,
|
336
|
-
"vs:term_status": "testing".freeze
|
100
|
+
type: "http://www.w3.org/ns/hydra/core#Class".freeze
|
337
101
|
term :SupportedProperty,
|
338
|
-
comment:
|
102
|
+
comment: "A property known to be supported by a Hydra class.".freeze,
|
103
|
+
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "testing".freeze,
|
339
104
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
340
105
|
label: "Supported Property".freeze,
|
341
|
-
|
342
|
-
type: "hydra:Class".freeze,
|
343
|
-
"vs:term_status": "testing".freeze
|
106
|
+
type: "http://www.w3.org/ns/hydra/core#Class".freeze
|
344
107
|
term :TemplatedLink,
|
345
|
-
comment:
|
108
|
+
comment: "A templated link.".freeze,
|
109
|
+
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "testing".freeze,
|
346
110
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
347
111
|
label: "Templated Link".freeze,
|
348
|
-
subClassOf: ["
|
349
|
-
type: "hydra
|
350
|
-
"vs:term_status": "testing".freeze
|
112
|
+
subClassOf: ["http://www.w3.org/1999/02/22-rdf-syntax-ns#Property".freeze, "http://www.w3.org/ns/hydra/core#Resource".freeze],
|
113
|
+
type: "http://www.w3.org/ns/hydra/core#Class".freeze
|
351
114
|
term :VariableRepresentation,
|
352
|
-
comment:
|
115
|
+
comment: "A representation specifies how to serialize variable values into strings.".freeze,
|
116
|
+
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "testing".freeze,
|
353
117
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
354
118
|
label: "VariableRepresentation".freeze,
|
355
|
-
|
356
|
-
type: "hydra:Class".freeze,
|
357
|
-
"vs:term_status": "testing".freeze
|
119
|
+
type: "http://www.w3.org/ns/hydra/core#Class".freeze
|
358
120
|
|
359
121
|
# Property definitions
|
360
122
|
property :description,
|
361
|
-
comment:
|
362
|
-
domainIncludes: ["hydra
|
123
|
+
comment: "A description.".freeze,
|
124
|
+
domainIncludes: ["http://www.w3.org/ns/hydra/core#ApiDocumentation".freeze, "http://www.w3.org/ns/hydra/core#Class".freeze, "http://www.w3.org/ns/hydra/core#Link".freeze, "http://www.w3.org/ns/hydra/core#Operation".freeze, "http://www.w3.org/ns/hydra/core#Status".freeze, "http://www.w3.org/ns/hydra/core#SupportedProperty".freeze, "http://www.w3.org/ns/hydra/core#TemplatedLink".freeze],
|
125
|
+
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "testing".freeze,
|
363
126
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
364
127
|
label: "description".freeze,
|
365
|
-
range: "
|
366
|
-
subPropertyOf: "
|
367
|
-
type: "rdf
|
368
|
-
"vs:term_status": "testing".freeze
|
128
|
+
range: "http://www.w3.org/2001/XMLSchema#string".freeze,
|
129
|
+
subPropertyOf: "http://www.w3.org/2000/01/rdf-schema#comment".freeze,
|
130
|
+
type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property".freeze
|
369
131
|
property :expectsHeader,
|
370
|
-
comment:
|
371
|
-
domain: "hydra
|
132
|
+
comment: "Specification of the header expected by the operation.".freeze,
|
133
|
+
domain: "http://www.w3.org/ns/hydra/core#Operation".freeze,
|
134
|
+
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "testing".freeze,
|
372
135
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
373
136
|
label: "expects header".freeze,
|
374
|
-
range: "
|
375
|
-
type: "rdf
|
376
|
-
"vs:term_status": "testing".freeze
|
137
|
+
range: "http://www.w3.org/2001/XMLSchema#string".freeze,
|
138
|
+
type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property".freeze
|
377
139
|
property :freetextQuery,
|
378
|
-
comment:
|
379
|
-
domain: "hydra
|
140
|
+
comment: "A property representing a freetext query.".freeze,
|
141
|
+
domain: "http://www.w3.org/ns/hydra/core#Resource".freeze,
|
142
|
+
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "testing".freeze,
|
380
143
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
381
144
|
label: "freetext query".freeze,
|
382
|
-
range: "
|
383
|
-
type: "rdf
|
384
|
-
"vs:term_status": "testing".freeze
|
145
|
+
range: "http://www.w3.org/2001/XMLSchema#string".freeze,
|
146
|
+
type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property".freeze
|
385
147
|
property :limit,
|
386
|
-
comment:
|
148
|
+
comment: "Instructs to limit set only to N elements.".freeze,
|
149
|
+
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "testing".freeze,
|
387
150
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
388
151
|
label: "take".freeze,
|
389
|
-
range: "
|
390
|
-
type: "rdf
|
391
|
-
"vs:term_status": "testing".freeze
|
152
|
+
range: "http://www.w3.org/2001/XMLSchema#nonNegativeInteger".freeze,
|
153
|
+
type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property".freeze
|
392
154
|
property :mapping,
|
393
|
-
comment:
|
394
|
-
domain: "hydra
|
155
|
+
comment: "A variable-to-property mapping of the IRI template.".freeze,
|
156
|
+
domain: "http://www.w3.org/ns/hydra/core#IriTemplate".freeze,
|
157
|
+
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "testing".freeze,
|
395
158
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
396
159
|
label: "mapping".freeze,
|
397
|
-
range: "hydra
|
398
|
-
type: "rdf
|
399
|
-
"vs:term_status": "testing".freeze
|
160
|
+
range: "http://www.w3.org/ns/hydra/core#IriTemplateMapping".freeze,
|
161
|
+
type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property".freeze
|
400
162
|
property :method,
|
401
|
-
comment:
|
402
|
-
domain: "hydra
|
163
|
+
comment: "The HTTP method.".freeze,
|
164
|
+
domain: "http://www.w3.org/ns/hydra/core#Operation".freeze,
|
165
|
+
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "testing".freeze,
|
403
166
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
404
167
|
label: "method".freeze,
|
405
|
-
range: "
|
406
|
-
type: "rdf
|
407
|
-
"vs:term_status": "testing".freeze
|
168
|
+
range: "http://www.w3.org/2001/XMLSchema#string".freeze,
|
169
|
+
type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property".freeze
|
408
170
|
property :offset,
|
409
|
-
comment:
|
171
|
+
comment: "Instructs to skip N elements of the set.".freeze,
|
172
|
+
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "testing".freeze,
|
410
173
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
411
174
|
label: "skip".freeze,
|
412
|
-
range: "
|
413
|
-
type: "rdf
|
414
|
-
"vs:term_status": "testing".freeze
|
175
|
+
range: "http://www.w3.org/2001/XMLSchema#nonNegativeInteger".freeze,
|
176
|
+
type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property".freeze
|
415
177
|
property :pageIndex,
|
416
|
-
comment:
|
178
|
+
comment: "Instructs to provide a specific page of the collection at a given index.".freeze,
|
179
|
+
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "testing".freeze,
|
417
180
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
418
181
|
label: "page index".freeze,
|
419
|
-
range: "
|
420
|
-
subPropertyOf: "hydra
|
421
|
-
type: "rdf
|
422
|
-
"vs:term_status": "testing".freeze
|
182
|
+
range: "http://www.w3.org/2001/XMLSchema#nonNegativeInteger".freeze,
|
183
|
+
subPropertyOf: "http://www.w3.org/ns/hydra/core#pageReference".freeze,
|
184
|
+
type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property".freeze
|
423
185
|
property :pageReference,
|
424
|
-
comment:
|
186
|
+
comment: "Instructs to provide a specific page reference of the collection.".freeze,
|
187
|
+
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "testing".freeze,
|
425
188
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
426
189
|
label: "page reference".freeze,
|
427
|
-
type: "rdf
|
428
|
-
"vs:term_status": "testing".freeze
|
190
|
+
type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property".freeze
|
429
191
|
property :property,
|
430
|
-
comment:
|
431
|
-
domainIncludes: ["hydra
|
192
|
+
comment: "A property".freeze,
|
193
|
+
domainIncludes: ["http://www.w3.org/ns/hydra/core#IriTemplateMapping".freeze, "http://www.w3.org/ns/hydra/core#SupportedProperty".freeze],
|
194
|
+
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "testing".freeze,
|
432
195
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
433
196
|
label: "property".freeze,
|
434
|
-
range: "rdf
|
435
|
-
type: "rdf
|
436
|
-
"vs:term_status": "testing".freeze
|
197
|
+
range: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property".freeze,
|
198
|
+
type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property".freeze
|
437
199
|
property :readable,
|
438
|
-
comment:
|
439
|
-
domain: "hydra
|
200
|
+
comment: "True if the client can retrieve the property's value, false otherwise.".freeze,
|
201
|
+
domain: "http://www.w3.org/ns/hydra/core#SupportedProperty".freeze,
|
202
|
+
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "testing".freeze,
|
440
203
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
441
204
|
label: "readable".freeze,
|
442
|
-
range: "
|
443
|
-
type: "rdf
|
444
|
-
"vs:term_status": "testing".freeze
|
205
|
+
range: "http://www.w3.org/2001/XMLSchema#boolean".freeze,
|
206
|
+
type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property".freeze
|
445
207
|
property :required,
|
446
|
-
comment:
|
447
|
-
domainIncludes: ["hydra
|
208
|
+
comment: "True if the property is required, false otherwise.".freeze,
|
209
|
+
domainIncludes: ["http://www.w3.org/ns/hydra/core#IriTemplateMapping".freeze, "http://www.w3.org/ns/hydra/core#SupportedProperty".freeze],
|
210
|
+
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "testing".freeze,
|
448
211
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
449
212
|
label: "required".freeze,
|
450
|
-
range: "
|
451
|
-
type: "rdf
|
452
|
-
|
213
|
+
range: "http://www.w3.org/2001/XMLSchema#boolean".freeze,
|
214
|
+
type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property".freeze
|
215
|
+
property :resolveRelativeUsing,
|
216
|
+
domain: "http://www.w3.org/ns/hydra/core#IriTemplate".freeze,
|
217
|
+
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "testing".freeze,
|
218
|
+
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
219
|
+
label: "relative Uri resolution".freeze,
|
220
|
+
range: "http://www.w3.org/ns/hydra/core#BaseUriSource".freeze,
|
221
|
+
type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property".freeze
|
453
222
|
property :returnsHeader,
|
454
|
-
comment:
|
455
|
-
domain: "hydra
|
223
|
+
comment: "Name of the header returned by the operation.".freeze,
|
224
|
+
domain: "http://www.w3.org/ns/hydra/core#Operation".freeze,
|
225
|
+
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "testing".freeze,
|
456
226
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
457
227
|
label: "returns header".freeze,
|
458
|
-
range: "
|
459
|
-
type: "rdf
|
460
|
-
"vs:term_status": "testing".freeze
|
228
|
+
range: "http://www.w3.org/2001/XMLSchema#string".freeze,
|
229
|
+
type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property".freeze
|
461
230
|
property :statusCode,
|
462
|
-
comment:
|
463
|
-
domain: "hydra
|
231
|
+
comment: "The HTTP status code. Please note it may happen this value will be different to actual status code received.".freeze,
|
232
|
+
domain: "http://www.w3.org/ns/hydra/core#Status".freeze,
|
233
|
+
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "testing".freeze,
|
464
234
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
465
235
|
label: "status code".freeze,
|
466
|
-
range: "
|
467
|
-
type: "rdf
|
468
|
-
"vs:term_status": "testing".freeze
|
236
|
+
range: "http://www.w3.org/2001/XMLSchema#integer".freeze,
|
237
|
+
type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property".freeze
|
469
238
|
property :template,
|
470
|
-
comment:
|
471
|
-
domain: "hydra
|
239
|
+
comment: "A templated string with placeholders. The literal's datatype indicates the template syntax; if not specified, hydra:Rfc6570Template is assumed.".freeze,
|
240
|
+
domain: "http://www.w3.org/ns/hydra/core#IriTemplate".freeze,
|
241
|
+
"http://www.w3.org/2000/01/rdf-schema#seeAlso": "http://www.w3.org/ns/hydra/core#Rfc6570Template".freeze,
|
242
|
+
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "testing".freeze,
|
472
243
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
473
244
|
label: "template".freeze,
|
474
|
-
range: "hydra
|
475
|
-
|
476
|
-
type: "rdf:Property".freeze,
|
477
|
-
"vs:term_status": "testing".freeze
|
245
|
+
range: "http://www.w3.org/ns/hydra/core#Rfc6570Template".freeze,
|
246
|
+
type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property".freeze
|
478
247
|
property :title,
|
479
|
-
comment:
|
480
|
-
domainIncludes: ["hydra
|
248
|
+
comment: "A title, often used along with a description.".freeze,
|
249
|
+
domainIncludes: ["http://www.w3.org/ns/hydra/core#ApiDocumentation".freeze, "http://www.w3.org/ns/hydra/core#Class".freeze, "http://www.w3.org/ns/hydra/core#Link".freeze, "http://www.w3.org/ns/hydra/core#Operation".freeze, "http://www.w3.org/ns/hydra/core#Status".freeze, "http://www.w3.org/ns/hydra/core#SupportedProperty".freeze, "http://www.w3.org/ns/hydra/core#TemplatedLink".freeze],
|
250
|
+
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "testing".freeze,
|
481
251
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
482
252
|
label: "title".freeze,
|
483
|
-
range: "
|
484
|
-
subPropertyOf: "
|
485
|
-
type: "rdf
|
486
|
-
"vs:term_status": "testing".freeze
|
253
|
+
range: "http://www.w3.org/2001/XMLSchema#string".freeze,
|
254
|
+
subPropertyOf: "http://www.w3.org/2000/01/rdf-schema#label".freeze,
|
255
|
+
type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property".freeze
|
487
256
|
property :totalItems,
|
488
|
-
comment:
|
489
|
-
domain: "hydra
|
257
|
+
comment: "The total number of items referenced by a collection.".freeze,
|
258
|
+
domain: "http://www.w3.org/ns/hydra/core#Collection".freeze,
|
259
|
+
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "testing".freeze,
|
490
260
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
491
261
|
label: "total items".freeze,
|
492
|
-
range: "
|
493
|
-
type: "rdf
|
494
|
-
"vs:term_status": "testing".freeze
|
262
|
+
range: "http://www.w3.org/2001/XMLSchema#integer".freeze,
|
263
|
+
type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property".freeze
|
495
264
|
property :variable,
|
496
|
-
comment:
|
497
|
-
domain: "hydra
|
265
|
+
comment: "An IRI template variable".freeze,
|
266
|
+
domain: "http://www.w3.org/ns/hydra/core#IriTemplateMapping".freeze,
|
267
|
+
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "testing".freeze,
|
498
268
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
499
269
|
label: "variable".freeze,
|
500
|
-
range: "
|
501
|
-
type: "rdf
|
502
|
-
"vs:term_status": "testing".freeze
|
270
|
+
range: "http://www.w3.org/2001/XMLSchema#string".freeze,
|
271
|
+
type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property".freeze
|
503
272
|
property :variableRepresentation,
|
504
|
-
comment:
|
505
|
-
domain: "hydra
|
273
|
+
comment: "The representation format to use when expanding the IRI template.".freeze,
|
274
|
+
domain: "http://www.w3.org/ns/hydra/core#IriTemplateMapping".freeze,
|
275
|
+
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "testing".freeze,
|
506
276
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
507
277
|
label: "variable representation".freeze,
|
508
|
-
range: "hydra
|
509
|
-
type: "rdf
|
510
|
-
|
511
|
-
|
512
|
-
|
513
|
-
|
514
|
-
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
515
|
-
label: "
|
516
|
-
range: "
|
517
|
-
type: "rdf
|
518
|
-
"vs:term_status": "testing".freeze
|
278
|
+
range: "http://www.w3.org/ns/hydra/core#VariableRepresentation".freeze,
|
279
|
+
type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property".freeze
|
280
|
+
property :writable,
|
281
|
+
comment: "True if the client can change the property's value, false otherwise.".freeze,
|
282
|
+
domain: "http://www.w3.org/ns/hydra/core#SupportedProperty".freeze,
|
283
|
+
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "testing".freeze,
|
284
|
+
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
285
|
+
label: "writable".freeze,
|
286
|
+
range: "http://www.w3.org/2001/XMLSchema#boolean".freeze,
|
287
|
+
type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property".freeze
|
519
288
|
|
520
289
|
# Datatype definitions
|
521
290
|
term :Rfc6570Template,
|
522
|
-
comment:
|
291
|
+
comment: "An IRI template as defined by RFC6570.".freeze,
|
292
|
+
"http://www.w3.org/2000/01/rdf-schema#seeAlso": "http://tools.ietf.org/html/rfc6570".freeze,
|
293
|
+
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "testing".freeze,
|
523
294
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
524
295
|
label: "RFC6570 IRI template".freeze,
|
525
|
-
range: "
|
526
|
-
|
527
|
-
type: "rdfs:Datatype".freeze,
|
528
|
-
"vs:term_status": "testing".freeze
|
296
|
+
range: "http://www.w3.org/2001/XMLSchema#string".freeze,
|
297
|
+
type: "http://www.w3.org/2000/01/rdf-schema#Datatype".freeze
|
529
298
|
|
530
299
|
# Extra definitions
|
531
300
|
term :BasicRepresentation,
|
532
|
-
comment:
|
301
|
+
comment: "A representation that serializes just the lexical form of a variable value, but omits language and type information.".freeze,
|
302
|
+
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "testing".freeze,
|
533
303
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
534
304
|
label: "BasicRepresentation".freeze,
|
535
|
-
type: "hydra
|
536
|
-
"vs:term_status": "testing".freeze
|
305
|
+
type: "http://www.w3.org/ns/hydra/core#VariableRepresentation".freeze
|
537
306
|
term :ExplicitRepresentation,
|
538
|
-
comment:
|
307
|
+
comment: "A representation that serializes a variable value including its language and type information and thus differentiating between IRIs and literals.".freeze,
|
308
|
+
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "testing".freeze,
|
539
309
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
540
310
|
label: "ExplicitRepresentation".freeze,
|
541
|
-
type: "hydra
|
542
|
-
|
311
|
+
type: "http://www.w3.org/ns/hydra/core#VariableRepresentation".freeze
|
312
|
+
term :LinkContext,
|
313
|
+
comment: "States that the link's context IRI, as defined in RFC 5988, should be used as the base Uri".freeze,
|
314
|
+
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "testing".freeze,
|
315
|
+
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
316
|
+
label: "Link context".freeze,
|
317
|
+
type: "http://www.w3.org/ns/hydra/core#BaseUriSource".freeze
|
318
|
+
term :Rfc3986,
|
319
|
+
comment: "States that the base Uri should be established using RFC 3986 reference resolution algorithm specified in section 5.".freeze,
|
320
|
+
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "testing".freeze,
|
321
|
+
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
322
|
+
label: "RFC 3986 based".freeze,
|
323
|
+
type: "http://www.w3.org/ns/hydra/core#BaseUriSource".freeze
|
543
324
|
term :apiDocumentation,
|
544
|
-
comment:
|
545
|
-
domain: "hydra
|
325
|
+
comment: "A link to the API documentation".freeze,
|
326
|
+
domain: "http://www.w3.org/ns/hydra/core#Resource".freeze,
|
327
|
+
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "testing".freeze,
|
546
328
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
547
329
|
label: "apiDocumentation".freeze,
|
548
|
-
range: "hydra
|
549
|
-
type: "hydra
|
550
|
-
"vs:term_status": "testing".freeze
|
330
|
+
range: "http://www.w3.org/ns/hydra/core#ApiDocumentation".freeze,
|
331
|
+
type: "http://www.w3.org/ns/hydra/core#Link".freeze
|
551
332
|
term :collection,
|
552
|
-
comment:
|
553
|
-
|
333
|
+
comment: "Collections somehow related to this resource.".freeze,
|
334
|
+
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "testing".freeze,
|
554
335
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
555
336
|
label: "collection".freeze,
|
556
|
-
range: "hydra
|
557
|
-
type: "hydra
|
558
|
-
"vs:term_status": "testing".freeze
|
337
|
+
range: "http://www.w3.org/ns/hydra/core#Collection".freeze,
|
338
|
+
type: "http://www.w3.org/ns/hydra/core#Link".freeze
|
559
339
|
term :entrypoint,
|
560
|
-
comment:
|
561
|
-
domain: "hydra
|
340
|
+
comment: "A link to main entry point of the Web API".freeze,
|
341
|
+
domain: "http://www.w3.org/ns/hydra/core#ApiDocumentation".freeze,
|
342
|
+
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "testing".freeze,
|
562
343
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
563
344
|
label: "entrypoint".freeze,
|
564
|
-
range: "hydra
|
565
|
-
type: "hydra
|
566
|
-
"vs:term_status": "testing".freeze
|
345
|
+
range: "http://www.w3.org/ns/hydra/core#Resource".freeze,
|
346
|
+
type: "http://www.w3.org/ns/hydra/core#Link".freeze
|
567
347
|
term :expects,
|
568
|
-
comment:
|
569
|
-
domain: "hydra
|
348
|
+
comment: "The information expected by the Web API.".freeze,
|
349
|
+
domain: "http://www.w3.org/ns/hydra/core#Operation".freeze,
|
350
|
+
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "testing".freeze,
|
570
351
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
571
352
|
label: "expects".freeze,
|
572
|
-
|
573
|
-
|
574
|
-
type: "hydra:Link".freeze,
|
575
|
-
"vs:term_status": "testing".freeze
|
353
|
+
rangeIncludes: ["http://www.w3.org/2000/01/rdf-schema#Class".freeze, "http://www.w3.org/2000/01/rdf-schema#Resource".freeze, "http://www.w3.org/ns/hydra/core#Class".freeze, "http://www.w3.org/ns/hydra/core#Resource".freeze],
|
354
|
+
type: "http://www.w3.org/ns/hydra/core#Link".freeze
|
576
355
|
term :first,
|
577
|
-
comment:
|
578
|
-
domain: "hydra
|
356
|
+
comment: "The first resource of an interlinked set of resources.".freeze,
|
357
|
+
domain: "http://www.w3.org/ns/hydra/core#Resource".freeze,
|
358
|
+
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "testing".freeze,
|
579
359
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
580
360
|
label: "first".freeze,
|
581
|
-
range: "hydra
|
582
|
-
type: "hydra
|
583
|
-
"vs:term_status": "testing".freeze
|
361
|
+
range: "http://www.w3.org/ns/hydra/core#Resource".freeze,
|
362
|
+
type: "http://www.w3.org/ns/hydra/core#Link".freeze
|
584
363
|
term :last,
|
585
|
-
comment:
|
586
|
-
domain: "hydra
|
364
|
+
comment: "The last resource of an interlinked set of resources.".freeze,
|
365
|
+
domain: "http://www.w3.org/ns/hydra/core#Resource".freeze,
|
366
|
+
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "testing".freeze,
|
587
367
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
588
368
|
label: "last".freeze,
|
589
|
-
range: "hydra
|
590
|
-
type: "hydra
|
591
|
-
"vs:term_status": "testing".freeze
|
369
|
+
range: "http://www.w3.org/ns/hydra/core#Resource".freeze,
|
370
|
+
type: "http://www.w3.org/ns/hydra/core#Link".freeze
|
592
371
|
term :manages,
|
593
|
-
comment:
|
594
|
-
|
372
|
+
comment: "This predicate is left for compatibility purposes and hydra:memberAssertion should be used instead.".freeze,
|
373
|
+
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "archaic".freeze,
|
595
374
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
596
375
|
label: "manages".freeze,
|
597
|
-
|
376
|
+
subPropertyOf: "http://www.w3.org/ns/hydra/core#memberAssertion".freeze
|
598
377
|
term :member,
|
599
|
-
comment:
|
600
|
-
domain: "hydra
|
378
|
+
comment: "A member of the collection".freeze,
|
379
|
+
domain: "http://www.w3.org/ns/hydra/core#Collection".freeze,
|
380
|
+
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "testing".freeze,
|
601
381
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
602
382
|
label: "member".freeze,
|
603
|
-
|
604
|
-
|
605
|
-
|
383
|
+
type: "http://www.w3.org/ns/hydra/core#Link".freeze
|
384
|
+
term :memberAssertion,
|
385
|
+
comment: "Semantics of each member provided by the collection.".freeze,
|
386
|
+
domain: "http://www.w3.org/ns/hydra/core#Collection".freeze,
|
387
|
+
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "testing".freeze,
|
388
|
+
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
389
|
+
label: "member assertion".freeze
|
606
390
|
term :next,
|
607
|
-
comment:
|
608
|
-
domain: "hydra
|
391
|
+
comment: "The resource following the current instance in an interlinked set of resources.".freeze,
|
392
|
+
domain: "http://www.w3.org/ns/hydra/core#Resource".freeze,
|
393
|
+
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "testing".freeze,
|
609
394
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
610
395
|
label: "next".freeze,
|
611
|
-
range: "hydra
|
612
|
-
type: "hydra
|
613
|
-
"vs:term_status": "testing".freeze
|
396
|
+
range: "http://www.w3.org/ns/hydra/core#Resource".freeze,
|
397
|
+
type: "http://www.w3.org/ns/hydra/core#Link".freeze
|
614
398
|
term :object,
|
615
|
-
comment:
|
399
|
+
comment: "The object.".freeze,
|
400
|
+
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "testing".freeze,
|
616
401
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
617
|
-
label: "object".freeze
|
618
|
-
"vs:term_status": "testing".freeze
|
402
|
+
label: "object".freeze
|
619
403
|
term :operation,
|
620
|
-
comment:
|
621
|
-
domain: "hydra
|
404
|
+
comment: "An operation supported by the Hydra resource".freeze,
|
405
|
+
domain: "http://www.w3.org/ns/hydra/core#Resource".freeze,
|
406
|
+
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "testing".freeze,
|
622
407
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
623
408
|
label: "operation".freeze,
|
624
|
-
range: "hydra
|
625
|
-
type: "hydra
|
626
|
-
"vs:term_status": "testing".freeze
|
409
|
+
range: "http://www.w3.org/ns/hydra/core#Operation".freeze,
|
410
|
+
type: "http://www.w3.org/ns/hydra/core#Link".freeze
|
627
411
|
term :possibleStatus,
|
628
|
-
comment:
|
629
|
-
domainIncludes: ["hydra
|
412
|
+
comment: "A status that might be returned by the Web API (other statuses should be expected and properly handled as well)".freeze,
|
413
|
+
domainIncludes: ["http://www.w3.org/ns/hydra/core#ApiDocumentation".freeze, "http://www.w3.org/ns/hydra/core#Operation".freeze],
|
414
|
+
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "testing".freeze,
|
630
415
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
631
416
|
label: "possible status".freeze,
|
632
|
-
range: "hydra
|
633
|
-
type: "hydra
|
634
|
-
"vs:term_status": "testing".freeze
|
417
|
+
range: "http://www.w3.org/ns/hydra/core#Status".freeze,
|
418
|
+
type: "http://www.w3.org/ns/hydra/core#Link".freeze
|
635
419
|
term :previous,
|
636
|
-
comment:
|
637
|
-
domain: "hydra
|
420
|
+
comment: "The resource preceding the current instance in an interlinked set of resources.".freeze,
|
421
|
+
domain: "http://www.w3.org/ns/hydra/core#Resource".freeze,
|
422
|
+
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "testing".freeze,
|
638
423
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
639
424
|
label: "previous".freeze,
|
640
|
-
range: "hydra
|
641
|
-
type: "hydra
|
642
|
-
"vs:term_status": "testing".freeze
|
425
|
+
range: "http://www.w3.org/ns/hydra/core#Resource".freeze,
|
426
|
+
type: "http://www.w3.org/ns/hydra/core#Link".freeze
|
643
427
|
term :returns,
|
644
|
-
comment:
|
645
|
-
domain: "hydra
|
428
|
+
comment: "The information returned by the Web API on success".freeze,
|
429
|
+
domain: "http://www.w3.org/ns/hydra/core#Operation".freeze,
|
430
|
+
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "testing".freeze,
|
646
431
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
647
432
|
label: "returns".freeze,
|
648
|
-
|
649
|
-
|
650
|
-
type: "hydra:Link".freeze,
|
651
|
-
"vs:term_status": "testing".freeze
|
433
|
+
rangeIncludes: ["http://www.w3.org/2000/01/rdf-schema#Class".freeze, "http://www.w3.org/2000/01/rdf-schema#Resource".freeze, "http://www.w3.org/ns/hydra/core#Class".freeze, "http://www.w3.org/ns/hydra/core#Resource".freeze],
|
434
|
+
type: "http://www.w3.org/ns/hydra/core#Link".freeze
|
652
435
|
term :search,
|
653
|
-
comment:
|
654
|
-
domain: "hydra
|
436
|
+
comment: "A IRI template that can be used to query a collection.".freeze,
|
437
|
+
domain: "http://www.w3.org/ns/hydra/core#Resource".freeze,
|
438
|
+
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "testing".freeze,
|
655
439
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
656
440
|
label: "search".freeze,
|
657
|
-
range: "hydra
|
658
|
-
type: "hydra
|
659
|
-
"vs:term_status": "testing".freeze
|
441
|
+
range: "http://www.w3.org/ns/hydra/core#IriTemplate".freeze,
|
442
|
+
type: "http://www.w3.org/ns/hydra/core#TemplatedLink".freeze
|
660
443
|
term :subject,
|
661
|
-
comment:
|
444
|
+
comment: "The subject.".freeze,
|
445
|
+
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "testing".freeze,
|
662
446
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
663
|
-
label: "subject".freeze
|
664
|
-
"vs:term_status": "testing".freeze
|
447
|
+
label: "subject".freeze
|
665
448
|
term :supportedClass,
|
666
|
-
comment:
|
667
|
-
domain: "hydra
|
449
|
+
comment: "A class known to be supported by the Web API".freeze,
|
450
|
+
domain: "http://www.w3.org/ns/hydra/core#ApiDocumentation".freeze,
|
451
|
+
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "testing".freeze,
|
668
452
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
669
453
|
label: "supported classes".freeze,
|
670
|
-
range: "
|
671
|
-
type: "hydra
|
672
|
-
"vs:term_status": "testing".freeze
|
454
|
+
range: "http://www.w3.org/2000/01/rdf-schema#Class".freeze,
|
455
|
+
type: "http://www.w3.org/ns/hydra/core#Link".freeze
|
673
456
|
term :supportedOperation,
|
674
|
-
comment:
|
675
|
-
domainIncludes: ["hydra
|
457
|
+
comment: "An operation supported by instances of the specific Hydra class or the target of the Hydra link".freeze,
|
458
|
+
domainIncludes: ["http://www.w3.org/2000/01/rdf-schema#Class".freeze, "http://www.w3.org/ns/hydra/core#Class".freeze, "http://www.w3.org/ns/hydra/core#Link".freeze, "http://www.w3.org/ns/hydra/core#SupportedProperty".freeze, "http://www.w3.org/ns/hydra/core#TemplatedLink".freeze],
|
459
|
+
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "testing".freeze,
|
676
460
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
677
461
|
label: "supported operation".freeze,
|
678
|
-
range: "hydra
|
679
|
-
type: "hydra
|
680
|
-
"vs:term_status": "testing".freeze
|
462
|
+
range: "http://www.w3.org/ns/hydra/core#Operation".freeze,
|
463
|
+
type: "http://www.w3.org/ns/hydra/core#Link".freeze
|
681
464
|
term :supportedProperty,
|
682
|
-
comment:
|
683
|
-
domain: "
|
465
|
+
comment: "The properties known to be supported by a Hydra class".freeze,
|
466
|
+
domain: "http://www.w3.org/2000/01/rdf-schema#Class".freeze,
|
467
|
+
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "testing".freeze,
|
684
468
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
685
469
|
label: "supported properties".freeze,
|
686
|
-
range: "hydra
|
687
|
-
type: "hydra
|
688
|
-
"vs:term_status": "testing".freeze
|
470
|
+
range: "http://www.w3.org/ns/hydra/core#SupportedProperty".freeze,
|
471
|
+
type: "http://www.w3.org/ns/hydra/core#Link".freeze
|
689
472
|
term :view,
|
690
|
-
comment:
|
691
|
-
|
473
|
+
comment: "A specific view of a resource.".freeze,
|
474
|
+
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "testing".freeze,
|
692
475
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
693
476
|
label: "view".freeze,
|
694
|
-
|
695
|
-
|
696
|
-
|
477
|
+
type: "http://www.w3.org/ns/hydra/core#Link".freeze
|
478
|
+
term :writeable,
|
479
|
+
comment: "This property is left for compatibility purposes and hydra:writable should be used instead.".freeze,
|
480
|
+
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "archaic".freeze,
|
481
|
+
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
482
|
+
label: "writable".freeze,
|
483
|
+
subPropertyOf: "http://www.w3.org/ns/hydra/core#writable".freeze
|
697
484
|
end
|
698
485
|
end
|