rdf-vocab 3.1.12 → 3.1.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/rdf/vocab.rb +20 -0
- data/lib/rdf/vocab/earl.rb +13 -0
- data/lib/rdf/vocab/hydra.rb +41 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5b9ce1d87e2306d5b7ea34fb8e44b9cf2730bfa49edd94e9ea0e5fd7e15bf100
|
4
|
+
data.tar.gz: 74986e50c0b03b1a45de8ae9272e70cf644df3ef71cf23b9c1da469909232fa3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b5e073c41d3c6efc70d8db52c6341a0b421a7a540af16474c3619b15383c25569f6be10d67c127a579274a6f79b230a366d1e2e759d2af9cdd31d0feef731f07
|
7
|
+
data.tar.gz: c63c27ab9329e4df52b718e0ad59f9d2e75f5a47a206cd7bd809ef272022c1d44f83d4a47336dc5420e71ec7f63579c5615cd6ab1e8b307740cf229a9e7ce52c
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.1.
|
1
|
+
3.1.13
|
data/lib/rdf/vocab.rb
CHANGED
@@ -100,6 +100,26 @@ module RDF
|
|
100
100
|
earl: {
|
101
101
|
uri: "http://www.w3.org/ns/earl#",
|
102
102
|
source: "http://www.w3.org/ns/earl",
|
103
|
+
patch: %{
|
104
|
+
@prefix earl: <http://www.w3.org/ns/earl#>.
|
105
|
+
@prefix owl: <http://www.w3.org/2002/07/owl#>.
|
106
|
+
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.
|
107
|
+
|
108
|
+
AddNew {
|
109
|
+
# Extends EARL to talk about collections of assertions
|
110
|
+
earl:Report a rdfs:Class, owl:Class ;
|
111
|
+
rdfs:label "Report" ;
|
112
|
+
rdfs:comment "A collection of earl:Assertion" .
|
113
|
+
earl:assertion a owl:ObjectProperty, rdfs:Property ;
|
114
|
+
rdfs:label "assertion" ;
|
115
|
+
rdfs:comment "Test Assertions associated with an earl:Report or earl:TestCase" ;
|
116
|
+
rdfs:domain [
|
117
|
+
a owl:Class ;
|
118
|
+
owl:unionOf (earl:Report earl:TestCase)
|
119
|
+
] ;
|
120
|
+
rdfs:range earl:Assertion .
|
121
|
+
} .
|
122
|
+
},
|
103
123
|
},
|
104
124
|
ebucore: {
|
105
125
|
uri: "http://www.ebu.ch/metadata/ontologies/ebucore/ebucore#",
|
data/lib/rdf/vocab/earl.rb
CHANGED
@@ -52,6 +52,10 @@ module RDF::Vocab
|
|
52
52
|
label: "Pass".freeze,
|
53
53
|
subClassOf: "http://www.w3.org/ns/earl#OutcomeValue".freeze,
|
54
54
|
type: ["http://www.w3.org/2000/01/rdf-schema#Class".freeze, "http://www.w3.org/2002/07/owl#Class".freeze]
|
55
|
+
term :Report,
|
56
|
+
comment: "A collection of earl:Assertion".freeze,
|
57
|
+
label: "Report".freeze,
|
58
|
+
type: ["http://www.w3.org/2000/01/rdf-schema#Class".freeze, "http://www.w3.org/2002/07/owl#Class".freeze]
|
55
59
|
term :Software,
|
56
60
|
comment: "any piece of software such as an authoring tool, browser, or evaluation tool".freeze,
|
57
61
|
label: "Software".freeze,
|
@@ -91,6 +95,15 @@ module RDF::Vocab
|
|
91
95
|
label: "Asserted By".freeze,
|
92
96
|
range: "http://www.w3.org/ns/earl#Assertor".freeze,
|
93
97
|
type: ["http://www.w3.org/1999/02/22-rdf-syntax-ns#Property".freeze, "http://www.w3.org/2002/07/owl#ObjectProperty".freeze]
|
98
|
+
property :assertion,
|
99
|
+
comment: "Test Assertions associated with an earl:Report or earl:TestCase".freeze,
|
100
|
+
domain: term(
|
101
|
+
type: "http://www.w3.org/2002/07/owl#Class".freeze,
|
102
|
+
unionOf: list("http://www.w3.org/ns/earl#Report".freeze, "http://www.w3.org/ns/earl#TestCase".freeze)
|
103
|
+
),
|
104
|
+
label: "assertion".freeze,
|
105
|
+
range: "http://www.w3.org/ns/earl#Assertion".freeze,
|
106
|
+
type: ["http://www.w3.org/2000/01/rdf-schema#Property".freeze, "http://www.w3.org/2002/07/owl#ObjectProperty".freeze]
|
94
107
|
property :info,
|
95
108
|
comment: "additional warnings or error messages in a human-readable form".freeze,
|
96
109
|
domain: "http://www.w3.org/ns/earl#TestResult".freeze,
|
data/lib/rdf/vocab/hydra.rb
CHANGED
@@ -15,6 +15,7 @@ module RDF::Vocab
|
|
15
15
|
"http://purl.org/dc/terms/publisher": "Hydra W3C Community Group".freeze,
|
16
16
|
"http://purl.org/dc/terms/rights": "Copyright © 2012-2014 the Contributors to the Hydra Core Vocabulary Specification".freeze,
|
17
17
|
"http://purl.org/vocab/vann/preferredNamespacePrefix": "hydra".freeze,
|
18
|
+
"http://www.w3.org/2000/01/rdf-schema#seeAlso": "https://www.hydra-cg.com/spec/latest/core/".freeze,
|
18
19
|
label: "The Hydra Core Vocabulary".freeze,
|
19
20
|
type: "http://www.w3.org/2002/07/owl#Ontology".freeze
|
20
21
|
|
@@ -54,6 +55,13 @@ module RDF::Vocab
|
|
54
55
|
label: "Error".freeze,
|
55
56
|
subClassOf: "http://www.w3.org/ns/hydra/core#Status".freeze,
|
56
57
|
type: "http://www.w3.org/ns/hydra/core#Class".freeze
|
58
|
+
term :HeaderSpecification,
|
59
|
+
comment: "Specifies a possible either expected or returned header values".freeze,
|
60
|
+
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "testing".freeze,
|
61
|
+
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
62
|
+
label: "Header specification".freeze,
|
63
|
+
subClassOf: "http://www.w3.org/ns/hydra/core#Resource".freeze,
|
64
|
+
type: "http://www.w3.org/2000/01/rdf-schema#Class".freeze
|
57
65
|
term :IriTemplate,
|
58
66
|
comment: "The class of IRI templates.".freeze,
|
59
67
|
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "testing".freeze,
|
@@ -119,6 +127,14 @@ module RDF::Vocab
|
|
119
127
|
type: "http://www.w3.org/ns/hydra/core#Class".freeze
|
120
128
|
|
121
129
|
# Property definitions
|
130
|
+
property :closedSet,
|
131
|
+
comment: "Determines whether the provided set of header values is closed or not.".freeze,
|
132
|
+
domain: "http://www.w3.org/ns/hydra/core#HeaderSpecification".freeze,
|
133
|
+
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "testing".freeze,
|
134
|
+
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
135
|
+
label: "closed set".freeze,
|
136
|
+
range: "http://www.w3.org/2001/XMLSchema#boolean".freeze,
|
137
|
+
type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property".freeze
|
122
138
|
property :description,
|
123
139
|
comment: "A description.".freeze,
|
124
140
|
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],
|
@@ -134,7 +150,14 @@ module RDF::Vocab
|
|
134
150
|
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "testing".freeze,
|
135
151
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
136
152
|
label: "expects header".freeze,
|
137
|
-
|
153
|
+
rangeIncludes: ["http://www.w3.org/2001/XMLSchema#string".freeze, "http://www.w3.org/ns/hydra/core#HeaderSpecification".freeze],
|
154
|
+
type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property".freeze
|
155
|
+
property :extension,
|
156
|
+
comment: "Hint on what kind of extensions are in use.".freeze,
|
157
|
+
domain: "http://www.w3.org/ns/hydra/core#ApiDocumentation".freeze,
|
158
|
+
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "testing".freeze,
|
159
|
+
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
160
|
+
label: "extension".freeze,
|
138
161
|
type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property".freeze
|
139
162
|
property :freetextQuery,
|
140
163
|
comment: "A property representing a freetext query.".freeze,
|
@@ -144,6 +167,14 @@ module RDF::Vocab
|
|
144
167
|
label: "freetext query".freeze,
|
145
168
|
range: "http://www.w3.org/2001/XMLSchema#string".freeze,
|
146
169
|
type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property".freeze
|
170
|
+
property :headerName,
|
171
|
+
comment: "Name of the header.".freeze,
|
172
|
+
domain: "http://www.w3.org/ns/hydra/core#HeaderSpecification".freeze,
|
173
|
+
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "testing".freeze,
|
174
|
+
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
175
|
+
label: "header name".freeze,
|
176
|
+
range: "http://www.w3.org/2001/XMLSchema#string".freeze,
|
177
|
+
type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property".freeze
|
147
178
|
property :limit,
|
148
179
|
comment: "Instructs to limit set only to N elements.".freeze,
|
149
180
|
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "testing".freeze,
|
@@ -188,6 +219,14 @@ module RDF::Vocab
|
|
188
219
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
189
220
|
label: "page reference".freeze,
|
190
221
|
type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property".freeze
|
222
|
+
property :possibleValue,
|
223
|
+
comment: "Possible value of the header.".freeze,
|
224
|
+
domain: "http://www.w3.org/ns/hydra/core#HeaderSpecification".freeze,
|
225
|
+
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "testing".freeze,
|
226
|
+
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
227
|
+
label: "possible header value".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
|
191
230
|
property :property,
|
192
231
|
comment: "A property".freeze,
|
193
232
|
domainIncludes: ["http://www.w3.org/ns/hydra/core#IriTemplateMapping".freeze, "http://www.w3.org/ns/hydra/core#SupportedProperty".freeze],
|
@@ -225,7 +264,7 @@ module RDF::Vocab
|
|
225
264
|
"http://www.w3.org/2003/06/sw-vocab-status/ns#term_status": "testing".freeze,
|
226
265
|
isDefinedBy: "http://www.w3.org/ns/hydra/core".freeze,
|
227
266
|
label: "returns header".freeze,
|
228
|
-
|
267
|
+
rangeIncludes: ["http://www.w3.org/2001/XMLSchema#string".freeze, "http://www.w3.org/ns/hydra/core#HeaderSpecification".freeze],
|
229
268
|
type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property".freeze
|
230
269
|
property :statusCode,
|
231
270
|
comment: "The HTTP status code. Please note it may happen this value will be different to actual status code received.".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: 3.1.
|
4
|
+
version: 3.1.13
|
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: 2021-03-
|
13
|
+
date: 2021-03-25 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rdf
|