rdf-vocab 0.8.3 → 0.8.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +11 -0
- data/lib/rdf/vocab.rb +5 -0
- data/lib/rdf/vocab/geonames.rb +5033 -0
- data/lib/rdf/vocab/hydra.rb +351 -0
- data/lib/rdf/vocab/lrmi.rb +173 -0
- metadata +5 -2
@@ -0,0 +1,351 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
# This file generated automatically using vocab-fetch from http://www.w3.org/ns/hydra/core#
|
3
|
+
require 'rdf'
|
4
|
+
module RDF::Vocab
|
5
|
+
class HYDRA < RDF::StrictVocabulary("http://www.w3.org/ns/hydra/core#")
|
6
|
+
|
7
|
+
# Class definitions
|
8
|
+
term :ApiDocumentation,
|
9
|
+
comment: %(The Hydra API documentation class).freeze,
|
10
|
+
label: "ApiDocumentation".freeze,
|
11
|
+
"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
12
|
+
subClassOf: "http://www.w3.org/ns/hydra/core#Resource".freeze,
|
13
|
+
type: "http://www.w3.org/ns/hydra/core#Class".freeze,
|
14
|
+
"vs:term_status" => %(testing).freeze
|
15
|
+
term :Class,
|
16
|
+
comment: %(The class of Hydra classes. Hydra classes and their instances are dereferenceable resources.).freeze,
|
17
|
+
label: "Hydra Class".freeze,
|
18
|
+
"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
19
|
+
subClassOf: ["http://www.w3.org/ns/hydra/core#Resource".freeze, "rdfs:Class".freeze],
|
20
|
+
type: ["http://www.w3.org/ns/hydra/core#Resource".freeze, "rdfs:Class".freeze],
|
21
|
+
"vs:term_status" => %(testing).freeze
|
22
|
+
term :Collection,
|
23
|
+
comment: %(A collection holding references to a number of related resources.).freeze,
|
24
|
+
label: "Collection".freeze,
|
25
|
+
"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
26
|
+
subClassOf: "http://www.w3.org/ns/hydra/core#Resource".freeze,
|
27
|
+
type: "http://www.w3.org/ns/hydra/core#Class".freeze,
|
28
|
+
"vs:term_status" => %(testing).freeze
|
29
|
+
term :CreateResourceOperation,
|
30
|
+
comment: %(A CreateResourceOperation is a HTTP operation which expects an input of the type specified by hydra:expects and creates a resource of the type specified by hydra:returns.).freeze,
|
31
|
+
label: "CreateResourceOperation".freeze,
|
32
|
+
"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
33
|
+
subClassOf: "http://www.w3.org/ns/hydra/core#Operation".freeze,
|
34
|
+
type: "http://www.w3.org/ns/hydra/core#Class".freeze,
|
35
|
+
"vs:term_status" => %(testing).freeze
|
36
|
+
term :DeleteResourceOperation,
|
37
|
+
comment: %(A DeleteResourceOperation is a HTTP operation that deletes a resource.).freeze,
|
38
|
+
label: "DeleteResourceOperation".freeze,
|
39
|
+
"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
40
|
+
subClassOf: "http://www.w3.org/ns/hydra/core#Operation".freeze,
|
41
|
+
type: "http://www.w3.org/ns/hydra/core#Class".freeze,
|
42
|
+
"vs:term_status" => %(testing).freeze
|
43
|
+
term :Error,
|
44
|
+
comment: %(A runtime error, used to report information beyond the returned status code.).freeze,
|
45
|
+
label: "Error".freeze,
|
46
|
+
"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
47
|
+
subClassOf: "http://www.w3.org/ns/hydra/core#StatusCodeDescription".freeze,
|
48
|
+
type: "http://www.w3.org/ns/hydra/core#Class".freeze,
|
49
|
+
"vs:term_status" => %(testing).freeze
|
50
|
+
term :IriTemplate,
|
51
|
+
comment: %(The class of IRI templates.).freeze,
|
52
|
+
label: "IRI Template".freeze,
|
53
|
+
"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
54
|
+
subClassOf: "http://www.w3.org/ns/hydra/core#Resource".freeze,
|
55
|
+
type: "http://www.w3.org/ns/hydra/core#Class".freeze,
|
56
|
+
"vs:term_status" => %(testing).freeze
|
57
|
+
term :IriTemplateMapping,
|
58
|
+
comment: %(A mapping from an IRI template variable to a property.).freeze,
|
59
|
+
label: "IriTemplateMapping".freeze,
|
60
|
+
"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
61
|
+
subClassOf: "http://www.w3.org/ns/hydra/core#Resource".freeze,
|
62
|
+
type: "http://www.w3.org/ns/hydra/core#Class".freeze,
|
63
|
+
"vs:term_status" => %(testing).freeze
|
64
|
+
term :Link,
|
65
|
+
comment: %(The class of properties representing links.).freeze,
|
66
|
+
label: "Link".freeze,
|
67
|
+
"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
68
|
+
subClassOf: ["http://www.w3.org/ns/hydra/core#Resource".freeze, "rdf:Property".freeze],
|
69
|
+
type: "http://www.w3.org/ns/hydra/core#Class".freeze,
|
70
|
+
"vs:term_status" => %(testing).freeze
|
71
|
+
term :Operation,
|
72
|
+
comment: %(An operation.).freeze,
|
73
|
+
label: "Operation".freeze,
|
74
|
+
"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
75
|
+
subClassOf: "http://www.w3.org/ns/hydra/core#Resource".freeze,
|
76
|
+
type: "http://www.w3.org/ns/hydra/core#Class".freeze,
|
77
|
+
"vs:term_status" => %(testing).freeze
|
78
|
+
term :PagedCollection,
|
79
|
+
comment: %(A PagedCollection is a subclass of Collection with the only difference that its members are sorted and only a subset of all members are returned in a single PagedCollection. To get the other members, the nextPage/previousPage properties have to be used.).freeze,
|
80
|
+
label: "PagedCollection".freeze,
|
81
|
+
"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
82
|
+
subClassOf: "http://www.w3.org/ns/hydra/core#Collection".freeze,
|
83
|
+
type: "http://www.w3.org/ns/hydra/core#Class".freeze,
|
84
|
+
"vs:term_status" => %(testing).freeze
|
85
|
+
term :ReplaceResourceOperation,
|
86
|
+
comment: %(A ReplaceResourceOperation is a HTTP operation which overwrites a resource. It expects data of the type specified in hydra:expects and results in a resource of the type specified by hydra:returns.).freeze,
|
87
|
+
label: "ReplaceResourceOperation".freeze,
|
88
|
+
"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
89
|
+
subClassOf: "http://www.w3.org/ns/hydra/core#Operation".freeze,
|
90
|
+
type: "http://www.w3.org/ns/hydra/core#Class".freeze,
|
91
|
+
"vs:term_status" => %(testing).freeze
|
92
|
+
term :Resource,
|
93
|
+
comment: %(The class of dereferenceable resources.).freeze,
|
94
|
+
label: "Hydra Resource".freeze,
|
95
|
+
"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
96
|
+
subClassOf: "rdfs:Resource".freeze,
|
97
|
+
type: "http://www.w3.org/ns/hydra/core#Class".freeze,
|
98
|
+
"vs:term_status" => %(testing).freeze
|
99
|
+
term :StatusCodeDescription,
|
100
|
+
comment: %(Additional information about a status code that might be returned.).freeze,
|
101
|
+
label: "Status code description".freeze,
|
102
|
+
"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
103
|
+
subClassOf: "http://www.w3.org/ns/hydra/core#Resource".freeze,
|
104
|
+
type: "http://www.w3.org/ns/hydra/core#Class".freeze,
|
105
|
+
"vs:term_status" => %(testing).freeze
|
106
|
+
term :SupportedProperty,
|
107
|
+
comment: %(A property known to be supported by a Hydra class.).freeze,
|
108
|
+
label: "Supported Property".freeze,
|
109
|
+
"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
110
|
+
subClassOf: "http://www.w3.org/ns/hydra/core#Resource".freeze,
|
111
|
+
type: "http://www.w3.org/ns/hydra/core#Class".freeze,
|
112
|
+
"vs:term_status" => %(testing).freeze
|
113
|
+
term :TemplatedLink,
|
114
|
+
comment: %(A templated link.).freeze,
|
115
|
+
label: "Templated Link".freeze,
|
116
|
+
"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
117
|
+
subClassOf: ["http://www.w3.org/ns/hydra/core#Resource".freeze, "rdf:Property".freeze],
|
118
|
+
type: "http://www.w3.org/ns/hydra/core#Class".freeze,
|
119
|
+
"vs:term_status" => %(testing).freeze
|
120
|
+
|
121
|
+
# Property definitions
|
122
|
+
property :description,
|
123
|
+
comment: %(A description.).freeze,
|
124
|
+
label: "description".freeze,
|
125
|
+
range: "xsd:string".freeze,
|
126
|
+
"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
127
|
+
subPropertyOf: "rdfs:comment".freeze,
|
128
|
+
type: "rdf:Property".freeze,
|
129
|
+
"vs:term_status" => %(testing).freeze
|
130
|
+
property :freetextQuery,
|
131
|
+
comment: %(A property representing a freetext query.).freeze,
|
132
|
+
label: "freetext query".freeze,
|
133
|
+
range: "xsd:string".freeze,
|
134
|
+
"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
135
|
+
type: "rdf:Property".freeze,
|
136
|
+
"vs:term_status" => %(testing).freeze
|
137
|
+
property :itemsPerPage,
|
138
|
+
comment: %(The maximum number of items referenced by each single PagedCollection in a set of interlinked PagedCollections.).freeze,
|
139
|
+
domain: "http://www.w3.org/ns/hydra/core#PagedCollection".freeze,
|
140
|
+
label: "items per page".freeze,
|
141
|
+
range: "xsd:integer".freeze,
|
142
|
+
"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
143
|
+
type: "rdf:Property".freeze,
|
144
|
+
"vs:term_status" => %(testing).freeze
|
145
|
+
property :mapping,
|
146
|
+
comment: %(A variable-to-property mapping of the IRI template.).freeze,
|
147
|
+
domain: "http://www.w3.org/ns/hydra/core#IriTemplate".freeze,
|
148
|
+
label: "mapping".freeze,
|
149
|
+
range: "http://www.w3.org/ns/hydra/core#IriTemplateMapping".freeze,
|
150
|
+
"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
151
|
+
type: "rdf:Property".freeze,
|
152
|
+
"vs:term_status" => %(testing).freeze
|
153
|
+
property :method,
|
154
|
+
comment: %(The HTTP method.).freeze,
|
155
|
+
domain: "http://www.w3.org/ns/hydra/core#Operation".freeze,
|
156
|
+
label: "method".freeze,
|
157
|
+
range: "xsd:string".freeze,
|
158
|
+
"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
159
|
+
type: "rdf:Property".freeze,
|
160
|
+
"vs:term_status" => %(testing).freeze
|
161
|
+
property :property,
|
162
|
+
comment: %(A property).freeze,
|
163
|
+
label: "property".freeze,
|
164
|
+
range: "rdf:Property".freeze,
|
165
|
+
"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
166
|
+
type: "rdf:Property".freeze,
|
167
|
+
"vs:term_status" => %(testing).freeze
|
168
|
+
property :readonly,
|
169
|
+
comment: %(True if the property is read-only, false otherwise.).freeze,
|
170
|
+
domain: "http://www.w3.org/ns/hydra/core#SupportedProperty".freeze,
|
171
|
+
label: "ready-only".freeze,
|
172
|
+
range: "xsd:boolean".freeze,
|
173
|
+
"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
174
|
+
type: "rdf:Property".freeze,
|
175
|
+
"vs:term_status" => %(testing).freeze
|
176
|
+
property :required,
|
177
|
+
comment: %(True if the property is required, false otherwise.).freeze,
|
178
|
+
label: "required".freeze,
|
179
|
+
range: "xsd:boolean".freeze,
|
180
|
+
"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
181
|
+
type: "rdf:Property".freeze,
|
182
|
+
"vs:term_status" => %(testing).freeze
|
183
|
+
property :statusCode,
|
184
|
+
comment: %(The HTTP status code).freeze,
|
185
|
+
domain: "http://www.w3.org/ns/hydra/core#StatusCodeDescription".freeze,
|
186
|
+
label: "status code".freeze,
|
187
|
+
range: "xsd:integer".freeze,
|
188
|
+
"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
189
|
+
type: "rdf:Property".freeze,
|
190
|
+
"vs:term_status" => %(testing).freeze
|
191
|
+
property :template,
|
192
|
+
comment: %(An IRI template as defined by RFC6570.).freeze,
|
193
|
+
domain: "http://www.w3.org/ns/hydra/core#IriTemplate".freeze,
|
194
|
+
label: "template".freeze,
|
195
|
+
range: "xsd:string".freeze,
|
196
|
+
"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
197
|
+
"rdfs:seeAlso" => %(http://tools.ietf.org/html/rfc6570).freeze,
|
198
|
+
type: "rdf:Property".freeze,
|
199
|
+
"vs:term_status" => %(testing).freeze
|
200
|
+
property :title,
|
201
|
+
comment: %(A title, often used along with a description.).freeze,
|
202
|
+
label: "title".freeze,
|
203
|
+
range: "xsd:string".freeze,
|
204
|
+
"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
205
|
+
subPropertyOf: "rdfs:label".freeze,
|
206
|
+
type: "rdf:Property".freeze,
|
207
|
+
"vs:term_status" => %(testing).freeze
|
208
|
+
property :totalItems,
|
209
|
+
comment: %(The total number of items referenced by a collection or a set of interlinked PagedCollections.).freeze,
|
210
|
+
domain: "http://www.w3.org/ns/hydra/core#Collection".freeze,
|
211
|
+
label: "total items".freeze,
|
212
|
+
range: "xsd:integer".freeze,
|
213
|
+
"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
214
|
+
type: "rdf:Property".freeze,
|
215
|
+
"vs:term_status" => %(testing).freeze
|
216
|
+
property :variable,
|
217
|
+
comment: %(An IRI template variable).freeze,
|
218
|
+
domain: "http://www.w3.org/ns/hydra/core#IriTemplateMapping".freeze,
|
219
|
+
label: "variable".freeze,
|
220
|
+
range: "xsd:string".freeze,
|
221
|
+
"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
222
|
+
type: "rdf:Property".freeze,
|
223
|
+
"vs:term_status" => %(testing).freeze
|
224
|
+
property :writeonly,
|
225
|
+
comment: %(True if the property is write-only, false otherwise.).freeze,
|
226
|
+
domain: "http://www.w3.org/ns/hydra/core#SupportedProperty".freeze,
|
227
|
+
label: "write-only".freeze,
|
228
|
+
range: "xsd:boolean".freeze,
|
229
|
+
"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
230
|
+
type: "rdf:Property".freeze,
|
231
|
+
"vs:term_status" => %(testing).freeze
|
232
|
+
|
233
|
+
# Extra definitions
|
234
|
+
term :apiDocumentation,
|
235
|
+
comment: %(A link to the API documentation).freeze,
|
236
|
+
label: "apiDocumentation".freeze,
|
237
|
+
range: "http://www.w3.org/ns/hydra/core#ApiDocumentation".freeze,
|
238
|
+
"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
239
|
+
type: "http://www.w3.org/ns/hydra/core#Link".freeze,
|
240
|
+
"vs:term_status" => %(testing).freeze
|
241
|
+
term :entrypoint,
|
242
|
+
comment: %(A link to main entry point of the Web API).freeze,
|
243
|
+
domain: "http://www.w3.org/ns/hydra/core#ApiDocumentation".freeze,
|
244
|
+
label: "entrypoint".freeze,
|
245
|
+
range: "http://www.w3.org/ns/hydra/core#Resource".freeze,
|
246
|
+
"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
247
|
+
type: "http://www.w3.org/ns/hydra/core#Link".freeze,
|
248
|
+
"vs:term_status" => %(testing).freeze
|
249
|
+
term :expects,
|
250
|
+
comment: %(The information expected by the Web API.).freeze,
|
251
|
+
domain: "http://www.w3.org/ns/hydra/core#Operation".freeze,
|
252
|
+
label: "expects".freeze,
|
253
|
+
range: "http://www.w3.org/ns/hydra/core#Class".freeze,
|
254
|
+
"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
255
|
+
type: "http://www.w3.org/ns/hydra/core#Link".freeze,
|
256
|
+
"vs:term_status" => %(testing).freeze
|
257
|
+
term :firstPage,
|
258
|
+
comment: %(The first page of an interlinked set of PagedCollections).freeze,
|
259
|
+
domain: "http://www.w3.org/ns/hydra/core#PagedCollection".freeze,
|
260
|
+
label: "first page".freeze,
|
261
|
+
range: "http://www.w3.org/ns/hydra/core#PagedCollection".freeze,
|
262
|
+
"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
263
|
+
type: "http://www.w3.org/ns/hydra/core#Link".freeze,
|
264
|
+
"vs:term_status" => %(testing).freeze
|
265
|
+
term :lastPage,
|
266
|
+
comment: %(The last page of an interlinked set of PagedCollections).freeze,
|
267
|
+
domain: "http://www.w3.org/ns/hydra/core#PagedCollection".freeze,
|
268
|
+
label: "last page".freeze,
|
269
|
+
range: "http://www.w3.org/ns/hydra/core#PagedCollection".freeze,
|
270
|
+
"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
271
|
+
type: "http://www.w3.org/ns/hydra/core#Link".freeze,
|
272
|
+
"vs:term_status" => %(testing).freeze
|
273
|
+
term :member,
|
274
|
+
comment: %(A member of the collection).freeze,
|
275
|
+
domain: "http://www.w3.org/ns/hydra/core#Collection".freeze,
|
276
|
+
label: "member".freeze,
|
277
|
+
range: "http://www.w3.org/ns/hydra/core#Resource".freeze,
|
278
|
+
"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
279
|
+
type: "http://www.w3.org/ns/hydra/core#Link".freeze,
|
280
|
+
"vs:term_status" => %(testing).freeze
|
281
|
+
term :nextPage,
|
282
|
+
comment: %(The page following the current instance in an interlinked set of PagedCollections).freeze,
|
283
|
+
domain: "http://www.w3.org/ns/hydra/core#PagedCollection".freeze,
|
284
|
+
label: "next page".freeze,
|
285
|
+
range: "http://www.w3.org/ns/hydra/core#PagedCollection".freeze,
|
286
|
+
"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
287
|
+
type: "http://www.w3.org/ns/hydra/core#Link".freeze,
|
288
|
+
"vs:term_status" => %(testing).freeze
|
289
|
+
term :operation,
|
290
|
+
comment: %(An operation supported by the Hydra resource).freeze,
|
291
|
+
domain: "http://www.w3.org/ns/hydra/core#Resource".freeze,
|
292
|
+
label: "operation".freeze,
|
293
|
+
range: "http://www.w3.org/ns/hydra/core#Operation".freeze,
|
294
|
+
"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
295
|
+
type: "http://www.w3.org/ns/hydra/core#Link".freeze,
|
296
|
+
"vs:term_status" => %(testing).freeze
|
297
|
+
term :previousPage,
|
298
|
+
comment: %(The page preceding the current instance in an interlinked set of PagedCollections).freeze,
|
299
|
+
domain: "http://www.w3.org/ns/hydra/core#PagedCollection".freeze,
|
300
|
+
label: "previous page".freeze,
|
301
|
+
range: "http://www.w3.org/ns/hydra/core#PagedCollection".freeze,
|
302
|
+
"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
303
|
+
type: "http://www.w3.org/ns/hydra/core#Link".freeze,
|
304
|
+
"vs:term_status" => %(testing).freeze
|
305
|
+
term :returns,
|
306
|
+
comment: %(The information returned by the Web API on success).freeze,
|
307
|
+
domain: "http://www.w3.org/ns/hydra/core#Operation".freeze,
|
308
|
+
label: "returns".freeze,
|
309
|
+
range: "http://www.w3.org/ns/hydra/core#Class".freeze,
|
310
|
+
"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
311
|
+
type: "http://www.w3.org/ns/hydra/core#Link".freeze,
|
312
|
+
"vs:term_status" => %(testing).freeze
|
313
|
+
term :search,
|
314
|
+
comment: %(A IRI template that can be used to query a collection).freeze,
|
315
|
+
label: "search".freeze,
|
316
|
+
range: "http://www.w3.org/ns/hydra/core#IriTemplate".freeze,
|
317
|
+
"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
318
|
+
type: "http://www.w3.org/ns/hydra/core#TemplatedLink".freeze,
|
319
|
+
"vs:term_status" => %(testing).freeze
|
320
|
+
term :statusCodes,
|
321
|
+
comment: %(Additional information about status codes that might be returned by the Web API).freeze,
|
322
|
+
label: "status codes".freeze,
|
323
|
+
range: "http://www.w3.org/ns/hydra/core#StatusCodeDescription".freeze,
|
324
|
+
"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
325
|
+
type: "http://www.w3.org/ns/hydra/core#Link".freeze,
|
326
|
+
"vs:term_status" => %(testing).freeze
|
327
|
+
term :supportedClass,
|
328
|
+
comment: %(A class known to be supported by the Web API).freeze,
|
329
|
+
domain: "http://www.w3.org/ns/hydra/core#ApiDocumentation".freeze,
|
330
|
+
label: "supported classes".freeze,
|
331
|
+
range: "http://www.w3.org/ns/hydra/core#Class".freeze,
|
332
|
+
"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
333
|
+
type: "http://www.w3.org/ns/hydra/core#Link".freeze,
|
334
|
+
"vs:term_status" => %(testing).freeze
|
335
|
+
term :supportedOperation,
|
336
|
+
comment: %(An operation supported by instances of the specific Hydra class or the target of the Hydra link).freeze,
|
337
|
+
label: "supported operation".freeze,
|
338
|
+
range: "http://www.w3.org/ns/hydra/core#Operation".freeze,
|
339
|
+
"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
340
|
+
type: "http://www.w3.org/ns/hydra/core#Link".freeze,
|
341
|
+
"vs:term_status" => %(testing).freeze
|
342
|
+
term :supportedProperty,
|
343
|
+
comment: %(The properties known to be supported by a Hydra class).freeze,
|
344
|
+
domain: "http://www.w3.org/ns/hydra/core#Class".freeze,
|
345
|
+
label: "supported properties".freeze,
|
346
|
+
range: "http://www.w3.org/ns/hydra/core#SupportedProperty".freeze,
|
347
|
+
"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
348
|
+
type: "http://www.w3.org/ns/hydra/core#Link".freeze,
|
349
|
+
"vs:term_status" => %(testing).freeze
|
350
|
+
end
|
351
|
+
end
|
@@ -0,0 +1,173 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
# This file generated automatically using vocab-fetch from http://purl.org/dcx/lrmi-terms/
|
3
|
+
require 'rdf'
|
4
|
+
module RDF::Vocab
|
5
|
+
class LRMI < RDF::Vocabulary("http://purl.org/dcx/lrmi-terms/")
|
6
|
+
|
7
|
+
# Class definitions
|
8
|
+
term :AlignmentObject,
|
9
|
+
comment: %(An intangible item that describes an alignment between a learning resource and a node in an educational framework.).freeze,
|
10
|
+
"dc:issued" => %(2015-02-09).freeze,
|
11
|
+
label: "Alignment Object".freeze,
|
12
|
+
"owl:equivalentClass" => %(schema:AlignmentObject).freeze,
|
13
|
+
"rdfs:isDefinedBy" => %(http://purl.org/dcx/lrmi-terms/).freeze,
|
14
|
+
subClassOf: "schema:Intangible".freeze,
|
15
|
+
type: "rdfs:Class".freeze
|
16
|
+
term :EducationalAudience,
|
17
|
+
comment: %(An individual or group for whom the learning resource was created or useful.).freeze,
|
18
|
+
"dc:issued" => %(2015-02-09).freeze,
|
19
|
+
label: "Educational Audience".freeze,
|
20
|
+
"owl:equivalentClass" => %(schema:EducationalAudience).freeze,
|
21
|
+
"rdfs:isDefinedBy" => %(http://purl.org/dcx/lrmi-terms/).freeze,
|
22
|
+
subClassOf: "schema:Intangible".freeze,
|
23
|
+
type: "rdfs:Class".freeze
|
24
|
+
|
25
|
+
# Property definitions
|
26
|
+
property :alignmentType,
|
27
|
+
comment: %(A category of alignment between the learning resource and the framework node.).freeze,
|
28
|
+
"dc:description" => %(Recommended values include: 'assesses', 'teaches', 'requires', 'textComplexity', 'readingLevel', 'educationalSubject', and 'educationLevel'.).freeze,
|
29
|
+
"dc:issued" => %(2015-02-09).freeze,
|
30
|
+
domainIncludes: ["http://purl.org/dcx/lrmi-terms/AlignmentObject".freeze, "schema:AlignmentObject".freeze],
|
31
|
+
label: "Alignment Type".freeze,
|
32
|
+
"owl:equivalentProperty" => %(schema:alignmentType).freeze,
|
33
|
+
rangeIncludes: "xsd:string".freeze,
|
34
|
+
"rdfs:isDefinedBy" => %(http://purl.org/dcx/lrmi-terms/).freeze,
|
35
|
+
type: "rdf:Property".freeze
|
36
|
+
property :educationalAlignment,
|
37
|
+
comment: %(An alignment to an established educational framework.).freeze,
|
38
|
+
"dc:issued" => %(2015-02-09).freeze,
|
39
|
+
domainIncludes: "schema:CreativeWork".freeze,
|
40
|
+
label: "Educational Alignment".freeze,
|
41
|
+
"owl:equivalentProperty" => %(schema:educationalAlignment).freeze,
|
42
|
+
rangeIncludes: ["http://purl.org/dcx/lrmi-terms/AlignmentObject".freeze, "schema:AlignmentObject".freeze],
|
43
|
+
"rdfs:isDefinedBy" => %(http://purl.org/dcx/lrmi-terms/).freeze,
|
44
|
+
type: "rdf:Property".freeze
|
45
|
+
property :educationalFramework,
|
46
|
+
comment: %(The framework to which the resource being described is aligned.).freeze,
|
47
|
+
"dc:issued" => %(2015-02-09).freeze,
|
48
|
+
domainIncludes: ["http://purl.org/dcx/lrmi-terms/AlignmentObject".freeze, "schema:AlignmentObject".freeze],
|
49
|
+
label: "Educational Framework".freeze,
|
50
|
+
"owl:equivalentProperty" => %(schema:educationalFramework).freeze,
|
51
|
+
rangeIncludes: "xsd:string".freeze,
|
52
|
+
"rdfs:isDefinedBy" => %(http://purl.org/dcx/lrmi-terms/).freeze,
|
53
|
+
type: "rdf:Property".freeze
|
54
|
+
property :educationalRole,
|
55
|
+
comment: %(The role that describes the target audience of the content.).freeze,
|
56
|
+
"dc:description" => %(The educational function assumed or part played by the group for whom the resource is intended.).freeze,
|
57
|
+
"dc:issued" => %(2015-02-09).freeze,
|
58
|
+
domainIncludes: ["http://purl.org/dcx/lrmi-terms/EducationalAudience".freeze, "schema:EducationalAudience".freeze],
|
59
|
+
label: "Educational Role".freeze,
|
60
|
+
"owl:equivalentProperty" => %(schema:educationalRole).freeze,
|
61
|
+
rangeIncludes: "xsd:string".freeze,
|
62
|
+
"rdfs:isDefinedBy" => %(http://purl.org/dcx/lrmi-terms/).freeze,
|
63
|
+
type: "rdf:Property".freeze
|
64
|
+
property :educationalUse,
|
65
|
+
comment: %(The purpose of a work in the context of education.).freeze,
|
66
|
+
"dc:description" => %(For example, 'assignment', 'group work'.).freeze,
|
67
|
+
"dc:issued" => %(2015-02-09).freeze,
|
68
|
+
domainIncludes: "schema:CreativeWork".freeze,
|
69
|
+
label: "Educational Use".freeze,
|
70
|
+
"owl:equivalentProperty" => %(schema:educationalUse).freeze,
|
71
|
+
rangeIncludes: "xsd:string".freeze,
|
72
|
+
"rdfs:isDefinedBy" => %(http://purl.org/dcx/lrmi-terms/).freeze,
|
73
|
+
type: "rdf:Property".freeze
|
74
|
+
property :interactivityType,
|
75
|
+
comment: %(The predominant mode of learning supported by the learning resource.).freeze,
|
76
|
+
"dc:description" => [%(Acceptable values are 'active', 'expositive', or 'mixed'.).freeze, %(Based on, and mappable from, IEEE LOM 5.1: Interactivity Type.).freeze],
|
77
|
+
"dc:issued" => %(2015-02-09).freeze,
|
78
|
+
domainIncludes: "schema:CreativeWork".freeze,
|
79
|
+
label: "Interactivity Type".freeze,
|
80
|
+
"owl:equivalentProperty" => %(schema:interactivityType).freeze,
|
81
|
+
rangeIncludes: "xsd:string".freeze,
|
82
|
+
"rdfs:isDefinedBy" => %(http://purl.org/dcx/lrmi-terms/).freeze,
|
83
|
+
type: "rdf:Property".freeze
|
84
|
+
property :isBasedOnUrl,
|
85
|
+
comment: %(A resource that was used in the creation of this resource.).freeze,
|
86
|
+
"dc:description" => %(This term can be repeated for multiple sources.).freeze,
|
87
|
+
"dc:issued" => %(2015-02-09).freeze,
|
88
|
+
domainIncludes: "schema:CreativeWork".freeze,
|
89
|
+
label: "Is Based On URL".freeze,
|
90
|
+
"owl:equivalentProperty" => %(schema:isBasedOnUrl).freeze,
|
91
|
+
rangeIncludes: "xsd:anyURI".freeze,
|
92
|
+
"rdfs:isDefinedBy" => %(http://purl.org/dcx/lrmi-terms/).freeze,
|
93
|
+
type: "rdf:Property".freeze
|
94
|
+
property :learningResourceType,
|
95
|
+
comment: %(The predominant type or kind characterizing the learning resource.).freeze,
|
96
|
+
"dc:description" => %(For example, 'presentation', 'handout'.).freeze,
|
97
|
+
"dc:issued" => %(2015-02-09).freeze,
|
98
|
+
domainIncludes: "schema:CreativeWork".freeze,
|
99
|
+
label: "Learning Resource Type".freeze,
|
100
|
+
"owl:equivalentProperty" => %(schema:learningResourceType).freeze,
|
101
|
+
rangeIncludes: "xsd:string".freeze,
|
102
|
+
"rdfs:isDefinedBy" => %(http://purl.org/dcx/lrmi-terms/).freeze,
|
103
|
+
type: "rdf:Property".freeze
|
104
|
+
property :targetDescription,
|
105
|
+
comment: %(The description of a node in an established educational framework.).freeze,
|
106
|
+
"dc:issued" => %(2015-02-09).freeze,
|
107
|
+
domainIncludes: ["http://purl.org/dcx/lrmi-terms/AlignmentObject".freeze, "schema:AlignmentObject".freeze],
|
108
|
+
label: "Target Description".freeze,
|
109
|
+
"owl:equivalentProperty" => %(schema:targetDescription).freeze,
|
110
|
+
rangeIncludes: "xsd:string".freeze,
|
111
|
+
"rdfs:isDefinedBy" => %(http://purl.org/dcx/lrmi-terms/).freeze,
|
112
|
+
type: "rdf:Property".freeze
|
113
|
+
property :targetName,
|
114
|
+
comment: %(The name of a node in an established educational framework.).freeze,
|
115
|
+
"dc:issued" => %(2015-02-09).freeze,
|
116
|
+
domainIncludes: ["http://purl.org/dcx/lrmi-terms/AlignmentObject".freeze, "schema:AlignmentObject".freeze],
|
117
|
+
label: "Target Name".freeze,
|
118
|
+
"owl:equivalentProperty" => %(schema:targetName).freeze,
|
119
|
+
rangeIncludes: "xsd:string".freeze,
|
120
|
+
"rdfs:isDefinedBy" => %(http://purl.org/dcx/lrmi-terms/).freeze,
|
121
|
+
type: "rdf:Property".freeze
|
122
|
+
property :targetUrl,
|
123
|
+
comment: %(The URL of a node in an established educational framework.).freeze,
|
124
|
+
"dc:issued" => %(2015-02-09).freeze,
|
125
|
+
domainIncludes: ["http://purl.org/dcx/lrmi-terms/AlignmentObject".freeze, "schema:AlignmentObject".freeze],
|
126
|
+
label: "Target URL".freeze,
|
127
|
+
"owl:equivalentProperty" => %(schema:targetUrl).freeze,
|
128
|
+
rangeIncludes: "xsd:anyURI".freeze,
|
129
|
+
"rdfs:isDefinedBy" => %(http://purl.org/dcx/lrmi-terms/).freeze,
|
130
|
+
type: "rdf:Property".freeze
|
131
|
+
property :timeRequired,
|
132
|
+
comment: %(Approximate or typical time it takes to work with or through this learning resource for the typical intended target audience.).freeze,
|
133
|
+
"dc:description" => [%(Based on, and mappable from, IEEE LOM 5.9: Typical Learning Time.).freeze, %(For example, 'PT30M' and 'PT1H25M').freeze],
|
134
|
+
"dc:issued" => %(2015-02-09).freeze,
|
135
|
+
domainIncludes: ["http://purl.org/dcx/lrmi-terms/AlignmentObject".freeze, "schema:AlignmentObject".freeze],
|
136
|
+
label: "Time Required".freeze,
|
137
|
+
"owl:equivalentProperty" => %(schema:timeRequired).freeze,
|
138
|
+
rangeIncludes: "schema:Duration".freeze,
|
139
|
+
"rdfs:isDefinedBy" => %(http://purl.org/dcx/lrmi-terms/).freeze,
|
140
|
+
type: "rdf:Property".freeze
|
141
|
+
property :typicalAgeRange,
|
142
|
+
comment: %(The typical expected age range.).freeze,
|
143
|
+
"dc:description" => [%(Based on, and mappable from, IEEE LOM 5.7: Typical Age Range.).freeze, %(For example, '7-9', '18-'.).freeze],
|
144
|
+
"dc:issued" => %(2015-02-09).freeze,
|
145
|
+
domainIncludes: "schema:CreativeWork".freeze,
|
146
|
+
label: "Typical Age Range".freeze,
|
147
|
+
"owl:equivalentProperty" => %(schema:typicalAgeRange).freeze,
|
148
|
+
rangeIncludes: "xsd:string".freeze,
|
149
|
+
"rdfs:isDefinedBy" => %(http://purl.org/dcx/lrmi-terms/).freeze,
|
150
|
+
type: "rdf:Property".freeze
|
151
|
+
property :useRightsUrl,
|
152
|
+
comment: %(The URL where the owner specifies permissions for using the resource.).freeze,
|
153
|
+
"dc:description" => %(For example: 'http://creativecommons.org/licenses/by/3.0/', 'http://publisher.com/content-use-description'.).freeze,
|
154
|
+
"dc:issued" => %(2015-02-09).freeze,
|
155
|
+
domainIncludes: "schema:CreativeWork".freeze,
|
156
|
+
label: "Use Rights URL".freeze,
|
157
|
+
rangeIncludes: ["schema:CreativeWork".freeze, "xsd:anyURI".freeze],
|
158
|
+
"rdfs:isDefinedBy" => %(http://purl.org/dcx/lrmi-terms/).freeze,
|
159
|
+
subPropertyOf: "schema:license".freeze,
|
160
|
+
type: "rdf:Property".freeze
|
161
|
+
|
162
|
+
# Extra definitions
|
163
|
+
term :"",
|
164
|
+
"dc:creator" => %(LRMI Task Group).freeze,
|
165
|
+
"dc:description" => %(The LRMI specification is a collection of classes and properties for markup and description of educational resources. The specification builds on the extensive vocabulary provided by Schema.org and other standards.).freeze,
|
166
|
+
"dc:identifier" => %(http://dublincore.org/dcx/lrmi-terms/).freeze,
|
167
|
+
"dc:isVersionOf" => %(http://purl.org/dcx/lrmi-terms/1.1/).freeze,
|
168
|
+
"dc:issued" => %(2015-02-09).freeze,
|
169
|
+
"dc:license" => %(https://creativecommons.org/licenses/by/4.0/).freeze,
|
170
|
+
"dc:title" => %(LRMI RDF Specification).freeze,
|
171
|
+
label: "".freeze
|
172
|
+
end
|
173
|
+
end
|