rdf-vocab 2.1.1 → 2.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rdf/vocab.rb +19 -3
- data/lib/rdf/vocab/geojson.rb +96 -0
- data/lib/rdf/vocab/hydra.rb +88 -75
- data/lib/rdf/vocab/xkos.rb +38 -11
- metadata +23 -22
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ddc46bacfa5565674f8dcd0d2a6ee54ba7d3d8b6
|
4
|
+
data.tar.gz: 0530f59476bdfd7ba7bf78f505a212d2dedab3b2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3a9545f98fe337da0391584995f8e59ad1410449ae7e4faa7b6680fcc3fe2a7117598ea939c79d58f20ac39a7861959c8bbceac794775933616ef3944c09cc25
|
7
|
+
data.tar.gz: c3d71500c600bbfb1ab156ba3a355d764e0a2fde7a4ae5f1249c7baa492637d67c53185cab50158967f6fc8169bcd362e6a01a4ee92a514a17868c83a976b3fb
|
data/lib/rdf/vocab.rb
CHANGED
@@ -139,9 +139,11 @@ module RDF
|
|
139
139
|
},
|
140
140
|
foaf: {uri: "http://xmlns.com/foaf/0.1/"},
|
141
141
|
geo: {uri: "http://www.w3.org/2003/01/geo/wgs84_pos#"},
|
142
|
-
|
143
|
-
uri: "
|
142
|
+
geojson:{
|
143
|
+
uri: "https://purl.org/geojson/vocab#",
|
144
|
+
source: "http://geojson.org/geojson-ld/vocab.rdf"
|
144
145
|
},
|
146
|
+
geonames: {uri: "http://www.geonames.org/ontology#"},
|
145
147
|
gr: {uri: "http://purl.org/goodrelations/v1#", source: "http://www.heppnetz.de/ontologies/goodrelations/v1.owl"},
|
146
148
|
ht: {uri: "http://www.w3.org/2011/http#"},
|
147
149
|
hydra: {uri: "http://www.w3.org/ns/hydra/core#"},
|
@@ -298,7 +300,21 @@ module RDF
|
|
298
300
|
vs: {uri: "http://www.w3.org/2003/06/sw-vocab-status/ns#"},
|
299
301
|
wdrs: {uri: "http://www.w3.org/2007/05/powder-s#"},
|
300
302
|
wot: {uri: "http://xmlns.com/wot/0.1/", source: "http://xmlns.com/wot/0.1/index.rdf"},
|
301
|
-
xkos: {
|
303
|
+
xkos: {
|
304
|
+
uri: "http://rdf-vocabulary.ddialliance.org/xkos#",
|
305
|
+
source: "http://rdf-vocabulary.ddialliance.org/xkos.ttl",
|
306
|
+
patch: %{
|
307
|
+
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
|
308
|
+
@prefix xkos: <http://rdf-vocabulary.ddialliance.org/xkos#> .
|
309
|
+
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.
|
310
|
+
DeleteExisting {
|
311
|
+
xkos:compares rdfs:range xkos:ConceptScheme .
|
312
|
+
} .
|
313
|
+
AddNew {
|
314
|
+
xkos:compares rdfs:range skos:ConceptScheme .
|
315
|
+
} .
|
316
|
+
}
|
317
|
+
},
|
302
318
|
xhtml: {uri: "http://www.w3.org/1999/xhtml#", strict: false},
|
303
319
|
xhv: {uri: "http://www.w3.org/1999/xhtml/vocab#", strict: false},
|
304
320
|
xsd: {uri: "http://www.w3.org/2001/XMLSchema#", strict: false, alias: true},
|
@@ -0,0 +1,96 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
# frozen_string_literal: true
|
3
|
+
# This file generated automatically using rdf vocabulary format from https://purl.org/geojson/vocab#
|
4
|
+
require 'rdf'
|
5
|
+
module RDF::Vocab
|
6
|
+
# @!parse
|
7
|
+
# # Vocabulary for <https://purl.org/geojson/vocab#>
|
8
|
+
# class GEOJSON < RDF::StrictVocabulary
|
9
|
+
# end
|
10
|
+
class GEOJSON < RDF::StrictVocabulary("https://purl.org/geojson/vocab#")
|
11
|
+
|
12
|
+
# Class definitions
|
13
|
+
term :Feature,
|
14
|
+
comment: %(See RFC 7946 Section 3.2.).freeze,
|
15
|
+
label: "Feature".freeze,
|
16
|
+
:"rdfs:isDefinedBy" => %(http://purl.org/geojson/vocab#).freeze,
|
17
|
+
type: "rdfs:Class".freeze
|
18
|
+
term :FeatureCollection,
|
19
|
+
comment: %(See RFC 7946 Section 3.3.).freeze,
|
20
|
+
label: "FeatureCollection".freeze,
|
21
|
+
:"rdfs:isDefinedBy" => %(http://purl.org/geojson/vocab#).freeze,
|
22
|
+
type: "rdfs:Class".freeze
|
23
|
+
term :GeometryCollection,
|
24
|
+
comment: %(See RFC 7946 Section 3.1.8.).freeze,
|
25
|
+
label: "GeometryCollection".freeze,
|
26
|
+
:"rdfs:isDefinedBy" => %(http://purl.org/geojson/vocab#).freeze,
|
27
|
+
type: "rdfs:Class".freeze
|
28
|
+
term :LineString,
|
29
|
+
comment: %(See RFC 7946 Section 3.1.4.).freeze,
|
30
|
+
label: "LineString".freeze,
|
31
|
+
:"rdfs:isDefinedBy" => %(http://purl.org/geojson/vocab#).freeze,
|
32
|
+
type: "rdfs:Class".freeze
|
33
|
+
term :MultiLineString,
|
34
|
+
comment: %(See RFC 7946 Section 3.1.5.).freeze,
|
35
|
+
label: "MultiLineString".freeze,
|
36
|
+
:"rdfs:isDefinedBy" => %(http://purl.org/geojson/vocab#).freeze,
|
37
|
+
type: "rdfs:Class".freeze
|
38
|
+
term :MultiPoint,
|
39
|
+
comment: %(See RFC 7946 Section 3.1.3.).freeze,
|
40
|
+
label: "MultiPoint".freeze,
|
41
|
+
:"rdfs:isDefinedBy" => %(http://purl.org/geojson/vocab#).freeze,
|
42
|
+
type: "rdfs:Class".freeze
|
43
|
+
term :MultiPolygon,
|
44
|
+
comment: %(See RFC 7946 Section 3.1.7.).freeze,
|
45
|
+
label: "MultiPolygon".freeze,
|
46
|
+
:"rdfs:isDefinedBy" => %(http://purl.org/geojson/vocab#).freeze,
|
47
|
+
type: "rdfs:Class".freeze
|
48
|
+
term :Point,
|
49
|
+
comment: %(See RFC 7946 Section 3.1.2.).freeze,
|
50
|
+
label: "Point".freeze,
|
51
|
+
:"rdfs:isDefinedBy" => %(http://purl.org/geojson/vocab#).freeze,
|
52
|
+
type: "rdfs:Class".freeze
|
53
|
+
term :Polygon,
|
54
|
+
comment: %(See RFC 7946 Section 3.1.6.).freeze,
|
55
|
+
label: "Polygon".freeze,
|
56
|
+
:"rdfs:isDefinedBy" => %(http://purl.org/geojson/vocab#).freeze,
|
57
|
+
type: "rdfs:Class".freeze
|
58
|
+
|
59
|
+
# Property definitions
|
60
|
+
property :bbox,
|
61
|
+
comment: %(See RFC 7946 Section 5.).freeze,
|
62
|
+
label: "bbox".freeze,
|
63
|
+
:"rdfs:isDefinedBy" => %(http://purl.org/geojson/vocab#).freeze,
|
64
|
+
type: "rdf:Property".freeze
|
65
|
+
property :coordinates,
|
66
|
+
comment: %(RFC 7946 Section 3.1.1.).freeze,
|
67
|
+
label: "coordinates".freeze,
|
68
|
+
:"rdfs:isDefinedBy" => %(http://purl.org/geojson/vocab#).freeze,
|
69
|
+
type: "rdf:Property".freeze
|
70
|
+
property :features,
|
71
|
+
comment: %(RFC 7946 Section 3.3.).freeze,
|
72
|
+
label: "features".freeze,
|
73
|
+
:"rdfs:isDefinedBy" => %(http://purl.org/geojson/vocab#).freeze,
|
74
|
+
type: "rdf:Property".freeze
|
75
|
+
property :geometry,
|
76
|
+
comment: %(RFC 7946 Section 3.2.).freeze,
|
77
|
+
label: "geometry".freeze,
|
78
|
+
:"rdfs:isDefinedBy" => %(http://purl.org/geojson/vocab#).freeze,
|
79
|
+
type: "rdf:Property".freeze
|
80
|
+
property :id,
|
81
|
+
comment: %(RFC 7946 Section 3.2.).freeze,
|
82
|
+
label: "id".freeze,
|
83
|
+
:"rdfs:isDefinedBy" => %(http://purl.org/geojson/vocab#).freeze,
|
84
|
+
type: "rdf:Property".freeze
|
85
|
+
property :properties,
|
86
|
+
comment: %(RFC 7946 Section 3.2.).freeze,
|
87
|
+
label: "properties".freeze,
|
88
|
+
:"rdfs:isDefinedBy" => %(http://purl.org/geojson/vocab#).freeze,
|
89
|
+
type: "rdf:Property".freeze
|
90
|
+
property :type,
|
91
|
+
comment: %(RFC 7946 Section 3.).freeze,
|
92
|
+
label: "type".freeze,
|
93
|
+
:"rdfs:isDefinedBy" => %(http://purl.org/geojson/vocab#).freeze,
|
94
|
+
type: "rdf:Property".freeze
|
95
|
+
end
|
96
|
+
end
|
data/lib/rdf/vocab/hydra.rb
CHANGED
@@ -44,25 +44,11 @@ module RDF::Vocab
|
|
44
44
|
subClassOf: "hydra:Resource".freeze,
|
45
45
|
type: "hydra:Class".freeze,
|
46
46
|
:"vs:term_status" => %(testing).freeze
|
47
|
-
term :CreateResourceOperation,
|
48
|
-
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,
|
49
|
-
label: "CreateResourceOperation".freeze,
|
50
|
-
:"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
51
|
-
subClassOf: "hydra:Operation".freeze,
|
52
|
-
type: "hydra:Class".freeze,
|
53
|
-
:"vs:term_status" => %(testing).freeze
|
54
|
-
term :DeleteResourceOperation,
|
55
|
-
comment: %(A DeleteResourceOperation is a HTTP operation that deletes a resource.).freeze,
|
56
|
-
label: "DeleteResourceOperation".freeze,
|
57
|
-
:"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
58
|
-
subClassOf: "hydra:Operation".freeze,
|
59
|
-
type: "hydra:Class".freeze,
|
60
|
-
:"vs:term_status" => %(testing).freeze
|
61
47
|
term :Error,
|
62
48
|
comment: %(A runtime error, used to report information beyond the returned status code.).freeze,
|
63
49
|
label: "Error".freeze,
|
64
50
|
:"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
65
|
-
subClassOf: "hydra:
|
51
|
+
subClassOf: "hydra:Status".freeze,
|
66
52
|
type: "hydra:Class".freeze,
|
67
53
|
:"vs:term_status" => %(testing).freeze
|
68
54
|
term :IriTemplate,
|
@@ -93,18 +79,11 @@ module RDF::Vocab
|
|
93
79
|
subClassOf: "hydra:Resource".freeze,
|
94
80
|
type: "hydra:Class".freeze,
|
95
81
|
:"vs:term_status" => %(testing).freeze
|
96
|
-
term :
|
97
|
-
comment: %(A
|
98
|
-
label: "
|
99
|
-
:"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
100
|
-
subClassOf: "hydra:Collection".freeze,
|
101
|
-
type: "hydra:Class".freeze,
|
102
|
-
:"vs:term_status" => %(testing).freeze
|
103
|
-
term :ReplaceResourceOperation,
|
104
|
-
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,
|
105
|
-
label: "ReplaceResourceOperation".freeze,
|
82
|
+
term :PartialCollectionView,
|
83
|
+
comment: %(A PartialCollectionView describes a partial view of a Collection. Multiple PartialCollectionViews can be connected with the the next/previous properties to allow a client to retrieve all members of the collection.).freeze,
|
84
|
+
label: "PartialCollectionView".freeze,
|
106
85
|
:"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
107
|
-
subClassOf: "hydra:
|
86
|
+
subClassOf: "hydra:Resource".freeze,
|
108
87
|
type: "hydra:Class".freeze,
|
109
88
|
:"vs:term_status" => %(testing).freeze
|
110
89
|
term :Resource,
|
@@ -114,7 +93,7 @@ module RDF::Vocab
|
|
114
93
|
subClassOf: "rdfs:Resource".freeze,
|
115
94
|
type: "hydra:Class".freeze,
|
116
95
|
:"vs:term_status" => %(testing).freeze
|
117
|
-
term :
|
96
|
+
term :Status,
|
118
97
|
comment: %(Additional information about a status code that might be returned.).freeze,
|
119
98
|
label: "Status code description".freeze,
|
120
99
|
:"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
@@ -135,6 +114,13 @@ module RDF::Vocab
|
|
135
114
|
subClassOf: ["hydra:Resource".freeze, "rdf:Property".freeze],
|
136
115
|
type: "hydra:Class".freeze,
|
137
116
|
:"vs:term_status" => %(testing).freeze
|
117
|
+
term :VariableRepresentation,
|
118
|
+
comment: %(A representation specifies how to serialize variable values into strings.).freeze,
|
119
|
+
label: "VariableRepresentation".freeze,
|
120
|
+
:"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
121
|
+
subClassOf: "hydra:Resource".freeze,
|
122
|
+
type: "hydra:Class".freeze,
|
123
|
+
:"vs:term_status" => %(testing).freeze
|
138
124
|
|
139
125
|
# Property definitions
|
140
126
|
property :description,
|
@@ -152,14 +138,6 @@ module RDF::Vocab
|
|
152
138
|
:"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
153
139
|
type: "rdf:Property".freeze,
|
154
140
|
:"vs:term_status" => %(testing).freeze
|
155
|
-
property :itemsPerPage,
|
156
|
-
comment: %(The maximum number of items referenced by each single PagedCollection in a set of interlinked PagedCollections.).freeze,
|
157
|
-
domain: "hydra:PagedCollection".freeze,
|
158
|
-
label: "items per page".freeze,
|
159
|
-
range: "xsd:integer".freeze,
|
160
|
-
:"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
161
|
-
type: "rdf:Property".freeze,
|
162
|
-
:"vs:term_status" => %(testing).freeze
|
163
141
|
property :mapping,
|
164
142
|
comment: %(A variable-to-property mapping of the IRI template.).freeze,
|
165
143
|
domain: "hydra:IriTemplate".freeze,
|
@@ -183,10 +161,10 @@ module RDF::Vocab
|
|
183
161
|
:"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
184
162
|
type: "rdf:Property".freeze,
|
185
163
|
:"vs:term_status" => %(testing).freeze
|
186
|
-
property :
|
187
|
-
comment: %(True if the property
|
164
|
+
property :readable,
|
165
|
+
comment: %(True if the client can retrieve the property's value, false otherwise.).freeze,
|
188
166
|
domain: "hydra:SupportedProperty".freeze,
|
189
|
-
label: "
|
167
|
+
label: "readable".freeze,
|
190
168
|
range: "xsd:boolean".freeze,
|
191
169
|
:"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
192
170
|
type: "rdf:Property".freeze,
|
@@ -200,19 +178,17 @@ module RDF::Vocab
|
|
200
178
|
:"vs:term_status" => %(testing).freeze
|
201
179
|
property :statusCode,
|
202
180
|
comment: %(The HTTP status code).freeze,
|
203
|
-
domain: "hydra:
|
181
|
+
domain: "hydra:Status".freeze,
|
204
182
|
label: "status code".freeze,
|
205
183
|
range: "xsd:integer".freeze,
|
206
184
|
:"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
207
185
|
type: "rdf:Property".freeze,
|
208
186
|
:"vs:term_status" => %(testing).freeze
|
209
187
|
property :template,
|
210
|
-
comment: %(
|
211
|
-
domain: "hydra:IriTemplate".freeze,
|
188
|
+
comment: %(A templated string with placeholders. The literal's datatype indicates the template syntax; if not specified, hydra:Rfc6570Template is assumed.).freeze,
|
212
189
|
label: "template".freeze,
|
213
|
-
range: "xsd:string".freeze,
|
214
190
|
:"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
215
|
-
:"rdfs:seeAlso" => %(
|
191
|
+
:"rdfs:seeAlso" => %(hydra:Rfc6570Template).freeze,
|
216
192
|
type: "rdf:Property".freeze,
|
217
193
|
:"vs:term_status" => %(testing).freeze
|
218
194
|
property :title,
|
@@ -224,7 +200,7 @@ module RDF::Vocab
|
|
224
200
|
type: "rdf:Property".freeze,
|
225
201
|
:"vs:term_status" => %(testing).freeze
|
226
202
|
property :totalItems,
|
227
|
-
comment: %(The total number of items referenced by a collection
|
203
|
+
comment: %(The total number of items referenced by a collection.).freeze,
|
228
204
|
domain: "hydra:Collection".freeze,
|
229
205
|
label: "total items".freeze,
|
230
206
|
range: "xsd:integer".freeze,
|
@@ -239,16 +215,45 @@ module RDF::Vocab
|
|
239
215
|
:"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
240
216
|
type: "rdf:Property".freeze,
|
241
217
|
:"vs:term_status" => %(testing).freeze
|
242
|
-
property :
|
243
|
-
comment: %(
|
218
|
+
property :variableRepresentation,
|
219
|
+
comment: %(The representation format to use when expanding the IRI template.).freeze,
|
220
|
+
label: "variable representation".freeze,
|
221
|
+
range: "hydra:VariableRepresentation".freeze,
|
222
|
+
:"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
223
|
+
type: "rdf:Property".freeze,
|
224
|
+
:"vs:term_status" => %(testing).freeze
|
225
|
+
property :writeable,
|
226
|
+
comment: %(True if the client can change the property's value, false otherwise.).freeze,
|
244
227
|
domain: "hydra:SupportedProperty".freeze,
|
245
|
-
label: "
|
228
|
+
label: "writeable".freeze,
|
246
229
|
range: "xsd:boolean".freeze,
|
247
230
|
:"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
248
231
|
type: "rdf:Property".freeze,
|
249
232
|
:"vs:term_status" => %(testing).freeze
|
250
233
|
|
234
|
+
# Datatype definitions
|
235
|
+
term :Rfc6570Template,
|
236
|
+
comment: %(An IRI template as defined by RFC6570.).freeze,
|
237
|
+
label: "RFC6570 IRI template".freeze,
|
238
|
+
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,
|
241
|
+
type: "rdfs:Datatype".freeze,
|
242
|
+
:"vs:term_status" => %(testing).freeze
|
243
|
+
|
251
244
|
# Extra definitions
|
245
|
+
term :BasicRepresentation,
|
246
|
+
comment: %(A representation that serializes just the lexical form of a variable value, but omits language and type information.).freeze,
|
247
|
+
label: "BasicRepresentation".freeze,
|
248
|
+
:"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
249
|
+
type: "hydra:VariableRepresentation".freeze,
|
250
|
+
:"vs:term_status" => %(testing).freeze
|
251
|
+
term :ExplicitRepresentation,
|
252
|
+
comment: %(A representation that serializes a variable value including its language and type information and thus differentiating between IRIs and literals.).freeze,
|
253
|
+
label: "ExplicitRepresentation".freeze,
|
254
|
+
:"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
255
|
+
type: "hydra:VariableRepresentation".freeze,
|
256
|
+
:"vs:term_status" => %(testing).freeze
|
252
257
|
term :apiDocumentation,
|
253
258
|
comment: %(A link to the API documentation).freeze,
|
254
259
|
label: "apiDocumentation".freeze,
|
@@ -272,19 +277,19 @@ module RDF::Vocab
|
|
272
277
|
:"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
273
278
|
type: "hydra:Link".freeze,
|
274
279
|
:"vs:term_status" => %(testing).freeze
|
275
|
-
term :
|
276
|
-
comment: %(The first
|
277
|
-
domain: "hydra:
|
278
|
-
label: "first
|
279
|
-
range: "hydra:
|
280
|
+
term :first,
|
281
|
+
comment: %(The first resource of an interlinked set of resources.).freeze,
|
282
|
+
domain: "hydra:Resource".freeze,
|
283
|
+
label: "first".freeze,
|
284
|
+
range: "hydra:Resource".freeze,
|
280
285
|
:"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
281
286
|
type: "hydra:Link".freeze,
|
282
287
|
:"vs:term_status" => %(testing).freeze
|
283
|
-
term :
|
284
|
-
comment: %(The last
|
285
|
-
domain: "hydra:
|
286
|
-
label: "last
|
287
|
-
range: "hydra:
|
288
|
+
term :last,
|
289
|
+
comment: %(The last resource of an interlinked set of resources.).freeze,
|
290
|
+
domain: "hydra:Resource".freeze,
|
291
|
+
label: "last".freeze,
|
292
|
+
range: "hydra:Resource".freeze,
|
288
293
|
:"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
289
294
|
type: "hydra:Link".freeze,
|
290
295
|
:"vs:term_status" => %(testing).freeze
|
@@ -296,11 +301,11 @@ module RDF::Vocab
|
|
296
301
|
:"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
297
302
|
type: "hydra:Link".freeze,
|
298
303
|
:"vs:term_status" => %(testing).freeze
|
299
|
-
term :
|
300
|
-
comment: %(The
|
301
|
-
domain: "hydra:
|
302
|
-
label: "next
|
303
|
-
range: "hydra:
|
304
|
+
term :next,
|
305
|
+
comment: %(The resource following the current instance in an interlinked set of resources.).freeze,
|
306
|
+
domain: "hydra:Resource".freeze,
|
307
|
+
label: "next".freeze,
|
308
|
+
range: "hydra:Resource".freeze,
|
304
309
|
:"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
305
310
|
type: "hydra:Link".freeze,
|
306
311
|
:"vs:term_status" => %(testing).freeze
|
@@ -312,11 +317,18 @@ module RDF::Vocab
|
|
312
317
|
:"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
313
318
|
type: "hydra:Link".freeze,
|
314
319
|
:"vs:term_status" => %(testing).freeze
|
315
|
-
term :
|
316
|
-
comment: %(
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
+
term :possibleStatus,
|
321
|
+
comment: %(A status that might be returned by the Web API \(other statuses should be expected and properly handled as well\)).freeze,
|
322
|
+
label: "possible status".freeze,
|
323
|
+
range: "hydra:Status".freeze,
|
324
|
+
:"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
325
|
+
type: "hydra:Link".freeze,
|
326
|
+
:"vs:term_status" => %(testing).freeze
|
327
|
+
term :previous,
|
328
|
+
comment: %(The resource preceding the current instance in an interlinked set of resources.).freeze,
|
329
|
+
domain: "hydra:Resource".freeze,
|
330
|
+
label: "previous".freeze,
|
331
|
+
range: "hydra:Resource".freeze,
|
320
332
|
:"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
321
333
|
type: "hydra:Link".freeze,
|
322
334
|
:"vs:term_status" => %(testing).freeze
|
@@ -329,19 +341,12 @@ module RDF::Vocab
|
|
329
341
|
type: "hydra:Link".freeze,
|
330
342
|
:"vs:term_status" => %(testing).freeze
|
331
343
|
term :search,
|
332
|
-
comment: %(A IRI template that can be used to query a collection).freeze,
|
344
|
+
comment: %(A IRI template that can be used to query a collection.).freeze,
|
333
345
|
label: "search".freeze,
|
334
346
|
range: "hydra:IriTemplate".freeze,
|
335
347
|
:"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
336
348
|
type: "hydra:TemplatedLink".freeze,
|
337
349
|
:"vs:term_status" => %(testing).freeze
|
338
|
-
term :statusCodes,
|
339
|
-
comment: %(Additional information about status codes that might be returned by the Web API).freeze,
|
340
|
-
label: "status codes".freeze,
|
341
|
-
range: "hydra:StatusCodeDescription".freeze,
|
342
|
-
:"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
343
|
-
type: "hydra:Link".freeze,
|
344
|
-
:"vs:term_status" => %(testing).freeze
|
345
350
|
term :supportedClass,
|
346
351
|
comment: %(A class known to be supported by the Web API).freeze,
|
347
352
|
domain: "hydra:ApiDocumentation".freeze,
|
@@ -365,5 +370,13 @@ module RDF::Vocab
|
|
365
370
|
:"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
366
371
|
type: "hydra:Link".freeze,
|
367
372
|
:"vs:term_status" => %(testing).freeze
|
373
|
+
term :view,
|
374
|
+
comment: %(A specific view of a resource.).freeze,
|
375
|
+
domain: "hydra:Resource".freeze,
|
376
|
+
label: "view".freeze,
|
377
|
+
range: "hydra:Resource".freeze,
|
378
|
+
:"rdfs:isDefinedBy" => %(http://www.w3.org/ns/hydra/core).freeze,
|
379
|
+
type: "hydra:Link".freeze,
|
380
|
+
:"vs:term_status" => %(testing).freeze
|
368
381
|
end
|
369
382
|
end
|
data/lib/rdf/vocab/xkos.rb
CHANGED
@@ -11,18 +11,18 @@ module RDF::Vocab
|
|
11
11
|
|
12
12
|
# Ontology definition
|
13
13
|
ontology :"http://rdf-vocabulary.ddialliance.org/xkos",
|
14
|
-
:"cc:license" => %(http://creativecommons.org/licenses/by
|
15
|
-
comment:
|
14
|
+
:"cc:license" => %(http://creativecommons.org/licenses/by/4.0/).freeze,
|
15
|
+
comment: %(This ontology is based on work initiated at Dagstuhl Schloss in September 2011).freeze,
|
16
16
|
:"dc11:contributor" => [%(Daniel Gillman).freeze, %(Jannik Jensen).freeze, %(R.T.A.M. Grim).freeze, %(Richard Cyganiak).freeze, %(Thomas Bosch).freeze, %(Wendy L. Thomas).freeze, %(Yves Jaques).freeze],
|
17
17
|
:"dc11:creator" => %(Franck Cotton).freeze,
|
18
|
-
:"dc11:rights" => %(Copyright ©
|
18
|
+
:"dc11:rights" => %(Copyright © 2016 The DDI Alliance).freeze,
|
19
19
|
:"dc11:title" => %(XKOS: an SKOS extension for representing statistical classifications).freeze,
|
20
20
|
:"http://purl.org/vocab/vann/preferredNamespacePrefix" => %(xkos).freeze,
|
21
21
|
:"http://purl.org/vocab/vann/preferredNamespaceUri" => %(xkos:).freeze,
|
22
|
-
:"http://purl.org/vocommons/voaf#classNumber" => %(
|
22
|
+
:"http://purl.org/vocommons/voaf#classNumber" => %(4).freeze,
|
23
23
|
:"http://purl.org/vocommons/voaf#extends" => %(http://www.w3.org/2004/02/skos/core).freeze,
|
24
|
-
:"http://purl.org/vocommons/voaf#propertyNumber" => %(
|
25
|
-
:"owl:versionInfo" => %(Version 1.0 - 2014-
|
24
|
+
:"http://purl.org/vocommons/voaf#propertyNumber" => %(40).freeze,
|
25
|
+
:"owl:versionInfo" => [%(Version 1.0.1 - 2014-11-26).freeze, %(Version 1.0.2 - 2016-03-15).freeze, %(Version 1.0.3 - 2016-03-15).freeze, %(Version 1.1 - 2016-03-20).freeze],
|
26
26
|
type: ["http://purl.org/vocommons/voaf#Vocabulary".freeze, "owl:Ontology".freeze]
|
27
27
|
|
28
28
|
# Class definitions
|
@@ -39,6 +39,10 @@ module RDF::Vocab
|
|
39
39
|
label: "Correspondence".freeze,
|
40
40
|
:"rdfs:isDefinedBy" => %(http://rdf-vocabulary.ddialliance.org/xkos).freeze,
|
41
41
|
type: ["owl:Class".freeze, "rdfs:Class".freeze]
|
42
|
+
term :ExplanatoryNote,
|
43
|
+
label: "Explanatory note".freeze,
|
44
|
+
:"rdfs:isDefinedBy" => %(http://rdf-vocabulary.ddialliance.org/xkos).freeze,
|
45
|
+
type: ["owl:Class".freeze, "rdfs:Class".freeze]
|
42
46
|
|
43
47
|
# Property definitions
|
44
48
|
property :additionalContentNote,
|
@@ -62,6 +66,11 @@ module RDF::Vocab
|
|
62
66
|
range: "skos:Concept".freeze,
|
63
67
|
:"rdfs:isDefinedBy" => %(http://rdf-vocabulary.ddialliance.org/xkos).freeze,
|
64
68
|
type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
|
69
|
+
property :caseLaw,
|
70
|
+
label: "case law".freeze,
|
71
|
+
:"rdfs:isDefinedBy" => %(http://rdf-vocabulary.ddialliance.org/xkos).freeze,
|
72
|
+
subPropertyOf: "skos:note".freeze,
|
73
|
+
type: ["owl:AnnotationProperty".freeze, "rdf:Property".freeze]
|
65
74
|
property :causal,
|
66
75
|
label: "has causal".freeze,
|
67
76
|
:"rdfs:isDefinedBy" => %(http://rdf-vocabulary.ddialliance.org/xkos).freeze,
|
@@ -83,6 +92,12 @@ module RDF::Vocab
|
|
83
92
|
range: "skos:Concept".freeze,
|
84
93
|
:"rdfs:isDefinedBy" => %(http://rdf-vocabulary.ddialliance.org/xkos).freeze,
|
85
94
|
type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
|
95
|
+
property :compares,
|
96
|
+
domain: "xkos:Correspondence".freeze,
|
97
|
+
label: "compares".freeze,
|
98
|
+
range: "skos:ConceptScheme".freeze,
|
99
|
+
:"rdfs:isDefinedBy" => %(http://rdf-vocabulary.ddialliance.org/xkos).freeze,
|
100
|
+
type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
|
86
101
|
property :coreContentNote,
|
87
102
|
label: "core content".freeze,
|
88
103
|
:"rdfs:isDefinedBy" => %(http://rdf-vocabulary.ddialliance.org/xkos).freeze,
|
@@ -129,13 +144,13 @@ module RDF::Vocab
|
|
129
144
|
label: "generalizes".freeze,
|
130
145
|
:"owl:inverseOf" => %(xkos:specializes).freeze,
|
131
146
|
:"rdfs:isDefinedBy" => %(http://rdf-vocabulary.ddialliance.org/xkos).freeze,
|
132
|
-
subPropertyOf: "skos:
|
147
|
+
subPropertyOf: "skos:narrower".freeze,
|
133
148
|
type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
|
134
149
|
property :hasPart,
|
135
150
|
label: "has part".freeze,
|
136
151
|
:"owl:inverseOf" => %(xkos:isPartOf).freeze,
|
137
152
|
:"rdfs:isDefinedBy" => %(http://rdf-vocabulary.ddialliance.org/xkos).freeze,
|
138
|
-
subPropertyOf: "skos:
|
153
|
+
subPropertyOf: ["dc:hasPart".freeze, "skos:narrower".freeze],
|
139
154
|
type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
|
140
155
|
property :inclusionNote,
|
141
156
|
label: "inclusions".freeze,
|
@@ -146,7 +161,7 @@ module RDF::Vocab
|
|
146
161
|
label: "is a part of".freeze,
|
147
162
|
:"owl:inverseOf" => %(xkos:hasPart).freeze,
|
148
163
|
:"rdfs:isDefinedBy" => %(http://rdf-vocabulary.ddialliance.org/xkos).freeze,
|
149
|
-
subPropertyOf: "skos:
|
164
|
+
subPropertyOf: ["dc:isPartOf".freeze, "skos:broader".freeze],
|
150
165
|
type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
|
151
166
|
property :levels,
|
152
167
|
domain: "skos:ConceptScheme".freeze,
|
@@ -172,6 +187,12 @@ module RDF::Vocab
|
|
172
187
|
:"rdfs:isDefinedBy" => %(http://rdf-vocabulary.ddialliance.org/xkos).freeze,
|
173
188
|
subPropertyOf: "xkos:succeeds".freeze,
|
174
189
|
type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
|
190
|
+
property :notationPattern,
|
191
|
+
domain: "xkos:ClassificationLevel".freeze,
|
192
|
+
label: "code pattern".freeze,
|
193
|
+
range: "xsd:string".freeze,
|
194
|
+
:"rdfs:isDefinedBy" => %(http://rdf-vocabulary.ddialliance.org/xkos).freeze,
|
195
|
+
type: ["owl:DatatypeProperty".freeze, "rdf:Property".freeze]
|
175
196
|
property :numberOfLevels,
|
176
197
|
domain: "skos:ConceptScheme".freeze,
|
177
198
|
label: "number of levels".freeze,
|
@@ -184,6 +205,12 @@ module RDF::Vocab
|
|
184
205
|
range: "skos:Concept".freeze,
|
185
206
|
:"rdfs:isDefinedBy" => %(http://rdf-vocabulary.ddialliance.org/xkos).freeze,
|
186
207
|
type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
|
208
|
+
property :plainText,
|
209
|
+
domain: "xkos:ExplanatoryNote".freeze,
|
210
|
+
label: "plain text".freeze,
|
211
|
+
range: "rdf:PlainLiteral".freeze,
|
212
|
+
:"rdfs:isDefinedBy" => %(http://rdf-vocabulary.ddialliance.org/xkos).freeze,
|
213
|
+
type: ["owl:AnnotationProperty".freeze, "rdf:Property".freeze]
|
187
214
|
property :precedes,
|
188
215
|
comment: %(predecessor in the sequence).freeze,
|
189
216
|
label: "precedes".freeze,
|
@@ -211,7 +238,7 @@ module RDF::Vocab
|
|
211
238
|
label: "specializes".freeze,
|
212
239
|
:"owl:inverseOf" => %(xkos:generalizes).freeze,
|
213
240
|
:"rdfs:isDefinedBy" => %(http://rdf-vocabulary.ddialliance.org/xkos).freeze,
|
214
|
-
subPropertyOf: "skos:
|
241
|
+
subPropertyOf: "skos:broader".freeze,
|
215
242
|
type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
|
216
243
|
property :succeeds,
|
217
244
|
comment: [%(successeur dans la séquence).freeze, %(successor in the sequence).freeze],
|
@@ -222,7 +249,7 @@ module RDF::Vocab
|
|
222
249
|
property :supersedes,
|
223
250
|
label: "supersedes".freeze,
|
224
251
|
:"rdfs:isDefinedBy" => %(http://rdf-vocabulary.ddialliance.org/xkos).freeze,
|
225
|
-
subPropertyOf: "xkos:follows".freeze,
|
252
|
+
subPropertyOf: ["dc:replaces".freeze, "xkos:follows".freeze],
|
226
253
|
type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
|
227
254
|
property :targetConcept,
|
228
255
|
domain: "xkos:ConceptAssociation".freeze,
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rdf-vocab
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Chandek-Stark
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2017-01-23 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rdf
|
@@ -18,14 +18,14 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - "~>"
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: '2.
|
21
|
+
version: '2.2'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
requirements:
|
26
26
|
- - "~>"
|
27
27
|
- !ruby/object:Gem::Version
|
28
|
-
version: '2.
|
28
|
+
version: '2.2'
|
29
29
|
- !ruby/object:Gem::Dependency
|
30
30
|
name: haml
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|
@@ -60,42 +60,42 @@ dependencies:
|
|
60
60
|
requirements:
|
61
61
|
- - "~>"
|
62
62
|
- !ruby/object:Gem::Version
|
63
|
-
version: '1.
|
63
|
+
version: '1.13'
|
64
64
|
type: :development
|
65
65
|
prerelease: false
|
66
66
|
version_requirements: !ruby/object:Gem::Requirement
|
67
67
|
requirements:
|
68
68
|
- - "~>"
|
69
69
|
- !ruby/object:Gem::Version
|
70
|
-
version: '1.
|
70
|
+
version: '1.13'
|
71
71
|
- !ruby/object:Gem::Dependency
|
72
72
|
name: json-ld
|
73
73
|
requirement: !ruby/object:Gem::Requirement
|
74
74
|
requirements:
|
75
75
|
- - "~>"
|
76
76
|
- !ruby/object:Gem::Version
|
77
|
-
version: '2.
|
77
|
+
version: '2.1'
|
78
78
|
type: :development
|
79
79
|
prerelease: false
|
80
80
|
version_requirements: !ruby/object:Gem::Requirement
|
81
81
|
requirements:
|
82
82
|
- - "~>"
|
83
83
|
- !ruby/object:Gem::Version
|
84
|
-
version: '2.
|
84
|
+
version: '2.1'
|
85
85
|
- !ruby/object:Gem::Dependency
|
86
86
|
name: json-schema
|
87
87
|
requirement: !ruby/object:Gem::Requirement
|
88
88
|
requirements:
|
89
89
|
- - "~>"
|
90
90
|
- !ruby/object:Gem::Version
|
91
|
-
version: '2.
|
91
|
+
version: '2.7'
|
92
92
|
type: :development
|
93
93
|
prerelease: false
|
94
94
|
version_requirements: !ruby/object:Gem::Requirement
|
95
95
|
requirements:
|
96
96
|
- - "~>"
|
97
97
|
- !ruby/object:Gem::Version
|
98
|
-
version: '2.
|
98
|
+
version: '2.7'
|
99
99
|
- !ruby/object:Gem::Dependency
|
100
100
|
name: jsonpath
|
101
101
|
requirement: !ruby/object:Gem::Requirement
|
@@ -130,42 +130,42 @@ dependencies:
|
|
130
130
|
requirements:
|
131
131
|
- - "~>"
|
132
132
|
- !ruby/object:Gem::Version
|
133
|
-
version: '1.
|
133
|
+
version: '1.7'
|
134
134
|
type: :development
|
135
135
|
prerelease: false
|
136
136
|
version_requirements: !ruby/object:Gem::Requirement
|
137
137
|
requirements:
|
138
138
|
- - "~>"
|
139
139
|
- !ruby/object:Gem::Version
|
140
|
-
version: '1.
|
140
|
+
version: '1.7'
|
141
141
|
- !ruby/object:Gem::Dependency
|
142
142
|
name: rake
|
143
143
|
requirement: !ruby/object:Gem::Requirement
|
144
144
|
requirements:
|
145
145
|
- - "~>"
|
146
146
|
- !ruby/object:Gem::Version
|
147
|
-
version: '
|
147
|
+
version: '12.0'
|
148
148
|
type: :development
|
149
149
|
prerelease: false
|
150
150
|
version_requirements: !ruby/object:Gem::Requirement
|
151
151
|
requirements:
|
152
152
|
- - "~>"
|
153
153
|
- !ruby/object:Gem::Version
|
154
|
-
version: '
|
154
|
+
version: '12.0'
|
155
155
|
- !ruby/object:Gem::Dependency
|
156
156
|
name: rdf-rdfa
|
157
157
|
requirement: !ruby/object:Gem::Requirement
|
158
158
|
requirements:
|
159
159
|
- - "~>"
|
160
160
|
- !ruby/object:Gem::Version
|
161
|
-
version: '2.
|
161
|
+
version: '2.1'
|
162
162
|
type: :development
|
163
163
|
prerelease: false
|
164
164
|
version_requirements: !ruby/object:Gem::Requirement
|
165
165
|
requirements:
|
166
166
|
- - "~>"
|
167
167
|
- !ruby/object:Gem::Version
|
168
|
-
version: '2.
|
168
|
+
version: '2.1'
|
169
169
|
- !ruby/object:Gem::Dependency
|
170
170
|
name: rdf-reasoner
|
171
171
|
requirement: !ruby/object:Gem::Requirement
|
@@ -186,28 +186,28 @@ dependencies:
|
|
186
186
|
requirements:
|
187
187
|
- - "~>"
|
188
188
|
- !ruby/object:Gem::Version
|
189
|
-
version: '2.
|
189
|
+
version: '2.2'
|
190
190
|
type: :development
|
191
191
|
prerelease: false
|
192
192
|
version_requirements: !ruby/object:Gem::Requirement
|
193
193
|
requirements:
|
194
194
|
- - "~>"
|
195
195
|
- !ruby/object:Gem::Version
|
196
|
-
version: '2.
|
196
|
+
version: '2.2'
|
197
197
|
- !ruby/object:Gem::Dependency
|
198
198
|
name: rspec
|
199
199
|
requirement: !ruby/object:Gem::Requirement
|
200
200
|
requirements:
|
201
201
|
- - "~>"
|
202
202
|
- !ruby/object:Gem::Version
|
203
|
-
version: '3.
|
203
|
+
version: '3.5'
|
204
204
|
type: :development
|
205
205
|
prerelease: false
|
206
206
|
version_requirements: !ruby/object:Gem::Requirement
|
207
207
|
requirements:
|
208
208
|
- - "~>"
|
209
209
|
- !ruby/object:Gem::Version
|
210
|
-
version: '3.
|
210
|
+
version: '3.5'
|
211
211
|
- !ruby/object:Gem::Dependency
|
212
212
|
name: rspec-its
|
213
213
|
requirement: !ruby/object:Gem::Requirement
|
@@ -228,14 +228,14 @@ dependencies:
|
|
228
228
|
requirements:
|
229
229
|
- - "~>"
|
230
230
|
- !ruby/object:Gem::Version
|
231
|
-
version: '0.
|
231
|
+
version: '0.9'
|
232
232
|
type: :development
|
233
233
|
prerelease: false
|
234
234
|
version_requirements: !ruby/object:Gem::Requirement
|
235
235
|
requirements:
|
236
236
|
- - "~>"
|
237
237
|
- !ruby/object:Gem::Version
|
238
|
-
version: '0.
|
238
|
+
version: '0.9'
|
239
239
|
description: Defines several standard RDF vocabularies
|
240
240
|
email: public-rdf-ruby@w3.org
|
241
241
|
executables: []
|
@@ -269,6 +269,7 @@ files:
|
|
269
269
|
- lib/rdf/vocab/fcrepo4.rb
|
270
270
|
- lib/rdf/vocab/foaf.rb
|
271
271
|
- lib/rdf/vocab/geo.rb
|
272
|
+
- lib/rdf/vocab/geojson.rb
|
272
273
|
- lib/rdf/vocab/geonames.rb
|
273
274
|
- lib/rdf/vocab/gr.rb
|
274
275
|
- lib/rdf/vocab/ht.rb
|