rdf-reasoner 0.0.2 → 0.0.3
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/reasoner/schema.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f9275fa437c87b472623056a9fd7c73980edf4c8
|
4
|
+
data.tar.gz: 9d719a2b0abb97fa4d742bedf500206758310e7a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a367c26d3b6510dbef1b952a02e0e941cca2763a124d292d5848ec46f408419ffc0bedf7dca5f9e8f8ecbc12c602e38d28af1cdb44dd2f56cd389f41887ddf02
|
7
|
+
data.tar.gz: 871e5463c26f3d112986b308054d7cb00dee85d9d652b18df36165d36a9b1c264b33aceac64e318e4cbe356867368250b747c125ad0fbf15bd8d3e1f96a866d2
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.3
|
data/lib/rdf/reasoner/schema.rb
CHANGED
@@ -148,8 +148,8 @@ module RDF::Reasoner
|
|
148
148
|
resource.simple? && RDF::Literal(resource.value, :datatype => RDF::URI(range)).valid?
|
149
149
|
end
|
150
150
|
else
|
151
|
-
# Otherwise, presume that the range refers to a typed resource
|
152
|
-
|
151
|
+
# Otherwise, presume that the range refers to a typed resource. This is allowed if the value is a plain literal
|
152
|
+
resource.plain?
|
153
153
|
end
|
154
154
|
end
|
155
155
|
end
|