shacl 0.1.1 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +19 -14
- data/VERSION +1 -1
- data/etc/doap.ttl +1 -1
- data/lib/rdf/vocab/shacl.rb +1096 -1096
- data/lib/shacl/algebra/and.rb +3 -2
- data/lib/shacl/algebra/constraint_component.rb +9 -0
- data/lib/shacl/algebra/node_shape.rb +10 -16
- data/lib/shacl/algebra/not.rb +3 -2
- data/lib/shacl/algebra/operator.rb +276 -44
- data/lib/shacl/algebra/or.rb +3 -2
- data/lib/shacl/algebra/pattern.rb +43 -0
- data/lib/shacl/algebra/property_shape.rb +11 -16
- data/lib/shacl/algebra/{qualified_value_shape.rb → qualified_value.rb} +19 -5
- data/lib/shacl/algebra/shape.rb +12 -41
- data/lib/shacl/algebra/sparql_constraint.rb +160 -0
- data/lib/shacl/algebra/xone.rb +3 -2
- data/lib/shacl/algebra.rb +20 -12
- data/lib/shacl/context.rb +5 -0
- data/lib/shacl/shapes.rb +46 -13
- data/lib/shacl/validation_report.rb +6 -2
- data/lib/shacl/validation_result.rb +28 -21
- data/lib/shacl.rb +10 -5
- metadata +51 -29
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: shacl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gregg Kellogg
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-06-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rdf
|
@@ -16,110 +16,124 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '3.
|
19
|
+
version: '3.2'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.2.8
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
26
|
requirements:
|
27
27
|
- - "~>"
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '3.
|
29
|
+
version: '3.2'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.2.8
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: json-ld
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
36
36
|
requirements:
|
37
37
|
- - "~>"
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version: '3.
|
40
|
-
- - ">="
|
41
|
-
- !ruby/object:Gem::Version
|
42
|
-
version: 3.1.7
|
39
|
+
version: '3.2'
|
43
40
|
type: :runtime
|
44
41
|
prerelease: false
|
45
42
|
version_requirements: !ruby/object:Gem::Requirement
|
46
43
|
requirements:
|
47
44
|
- - "~>"
|
48
45
|
- !ruby/object:Gem::Version
|
49
|
-
version: '3.
|
50
|
-
- - ">="
|
51
|
-
- !ruby/object:Gem::Version
|
52
|
-
version: 3.1.7
|
46
|
+
version: '3.2'
|
53
47
|
- !ruby/object:Gem::Dependency
|
54
48
|
name: sxp
|
55
49
|
requirement: !ruby/object:Gem::Requirement
|
56
50
|
requirements:
|
57
51
|
- - "~>"
|
58
52
|
- !ruby/object:Gem::Version
|
59
|
-
version: '1.
|
53
|
+
version: '1.2'
|
60
54
|
type: :runtime
|
61
55
|
prerelease: false
|
62
56
|
version_requirements: !ruby/object:Gem::Requirement
|
63
57
|
requirements:
|
64
58
|
- - "~>"
|
65
59
|
- !ruby/object:Gem::Version
|
66
|
-
version: '1.
|
60
|
+
version: '1.2'
|
67
61
|
- !ruby/object:Gem::Dependency
|
68
62
|
name: sparql
|
69
63
|
requirement: !ruby/object:Gem::Requirement
|
70
64
|
requirements:
|
71
65
|
- - "~>"
|
72
66
|
- !ruby/object:Gem::Version
|
73
|
-
version: '3.
|
67
|
+
version: '3.2'
|
68
|
+
- - ">="
|
69
|
+
- !ruby/object:Gem::Version
|
70
|
+
version: 3.2.4
|
74
71
|
type: :runtime
|
75
72
|
prerelease: false
|
76
73
|
version_requirements: !ruby/object:Gem::Requirement
|
77
74
|
requirements:
|
78
75
|
- - "~>"
|
79
76
|
- !ruby/object:Gem::Version
|
80
|
-
version: '3.
|
77
|
+
version: '3.2'
|
78
|
+
- - ">="
|
79
|
+
- !ruby/object:Gem::Version
|
80
|
+
version: 3.2.4
|
81
81
|
- !ruby/object:Gem::Dependency
|
82
82
|
name: rdf-spec
|
83
83
|
requirement: !ruby/object:Gem::Requirement
|
84
84
|
requirements:
|
85
85
|
- - "~>"
|
86
86
|
- !ruby/object:Gem::Version
|
87
|
-
version: '3.
|
87
|
+
version: '3.2'
|
88
88
|
type: :development
|
89
89
|
prerelease: false
|
90
90
|
version_requirements: !ruby/object:Gem::Requirement
|
91
91
|
requirements:
|
92
92
|
- - "~>"
|
93
93
|
- !ruby/object:Gem::Version
|
94
|
-
version: '3.
|
94
|
+
version: '3.2'
|
95
95
|
- !ruby/object:Gem::Dependency
|
96
96
|
name: rdf-turtle
|
97
97
|
requirement: !ruby/object:Gem::Requirement
|
98
98
|
requirements:
|
99
99
|
- - "~>"
|
100
100
|
- !ruby/object:Gem::Version
|
101
|
-
version: '3.
|
101
|
+
version: '3.2'
|
102
|
+
type: :development
|
103
|
+
prerelease: false
|
104
|
+
version_requirements: !ruby/object:Gem::Requirement
|
105
|
+
requirements:
|
106
|
+
- - "~>"
|
107
|
+
- !ruby/object:Gem::Version
|
108
|
+
version: '3.2'
|
109
|
+
- !ruby/object:Gem::Dependency
|
110
|
+
name: rdf-vocab
|
111
|
+
requirement: !ruby/object:Gem::Requirement
|
112
|
+
requirements:
|
113
|
+
- - "~>"
|
114
|
+
- !ruby/object:Gem::Version
|
115
|
+
version: '3.2'
|
102
116
|
type: :development
|
103
117
|
prerelease: false
|
104
118
|
version_requirements: !ruby/object:Gem::Requirement
|
105
119
|
requirements:
|
106
120
|
- - "~>"
|
107
121
|
- !ruby/object:Gem::Version
|
108
|
-
version: '3.
|
122
|
+
version: '3.2'
|
109
123
|
- !ruby/object:Gem::Dependency
|
110
124
|
name: rdf-xsd
|
111
125
|
requirement: !ruby/object:Gem::Requirement
|
112
126
|
requirements:
|
113
127
|
- - "~>"
|
114
128
|
- !ruby/object:Gem::Version
|
115
|
-
version: '3.
|
129
|
+
version: '3.2'
|
116
130
|
type: :development
|
117
131
|
prerelease: false
|
118
132
|
version_requirements: !ruby/object:Gem::Requirement
|
119
133
|
requirements:
|
120
134
|
- - "~>"
|
121
135
|
- !ruby/object:Gem::Version
|
122
|
-
version: '3.
|
136
|
+
version: '3.2'
|
123
137
|
- !ruby/object:Gem::Dependency
|
124
138
|
name: rspec
|
125
139
|
requirement: !ruby/object:Gem::Requirement
|
@@ -176,13 +190,16 @@ files:
|
|
176
190
|
- lib/shacl.rb
|
177
191
|
- lib/shacl/algebra.rb
|
178
192
|
- lib/shacl/algebra/and.rb
|
193
|
+
- lib/shacl/algebra/constraint_component.rb
|
179
194
|
- lib/shacl/algebra/node_shape.rb
|
180
195
|
- lib/shacl/algebra/not.rb
|
181
196
|
- lib/shacl/algebra/operator.rb
|
182
197
|
- lib/shacl/algebra/or.rb
|
198
|
+
- lib/shacl/algebra/pattern.rb
|
183
199
|
- lib/shacl/algebra/property_shape.rb
|
184
|
-
- lib/shacl/algebra/
|
200
|
+
- lib/shacl/algebra/qualified_value.rb
|
185
201
|
- lib/shacl/algebra/shape.rb
|
202
|
+
- lib/shacl/algebra/sparql_constraint.rb
|
186
203
|
- lib/shacl/algebra/xone.rb
|
187
204
|
- lib/shacl/context.rb
|
188
205
|
- lib/shacl/format.rb
|
@@ -191,10 +208,15 @@ files:
|
|
191
208
|
- lib/shacl/validation_report.rb
|
192
209
|
- lib/shacl/validation_result.rb
|
193
210
|
- lib/shacl/version.rb
|
194
|
-
homepage: https://
|
211
|
+
homepage: https://github.com/ruby-rdf/shacl
|
195
212
|
licenses:
|
196
213
|
- Unlicense
|
197
|
-
metadata:
|
214
|
+
metadata:
|
215
|
+
documentation_uri: https://ruby-rdf.github.io/shacl
|
216
|
+
bug_tracker_uri: https://github.com/ruby-rdf/shacl/issues
|
217
|
+
homepage_uri: https://github.com/ruby-rdf/shacl
|
218
|
+
mailing_list_uri: https://lists.w3.org/Archives/Public/public-rdf-ruby/
|
219
|
+
source_code_uri: https://github.com/ruby-rdf/shacl
|
198
220
|
post_install_message:
|
199
221
|
rdoc_options: []
|
200
222
|
require_paths:
|
@@ -203,14 +225,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
203
225
|
requirements:
|
204
226
|
- - ">="
|
205
227
|
- !ruby/object:Gem::Version
|
206
|
-
version: '2.
|
228
|
+
version: '2.6'
|
207
229
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
208
230
|
requirements:
|
209
231
|
- - ">="
|
210
232
|
- !ruby/object:Gem::Version
|
211
233
|
version: '0'
|
212
234
|
requirements: []
|
213
|
-
rubygems_version: 3.
|
235
|
+
rubygems_version: 3.3.3
|
214
236
|
signing_key:
|
215
237
|
specification_version: 4
|
216
238
|
summary: Implementation of Shapes Constraint Language (SHACL) for RDF.rb
|