diff options
Diffstat (limited to 'tests/validate/bad-literal-value-high-exclusive.ttl')
-rw-r--r-- | tests/validate/bad-literal-value-high-exclusive.ttl | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/validate/bad-literal-value-high-exclusive.ttl b/tests/validate/bad-literal-value-high-exclusive.ttl new file mode 100644 index 00000000..9e2bfe47 --- /dev/null +++ b/tests/validate/bad-literal-value-high-exclusive.ttl @@ -0,0 +1,18 @@ +@prefix eg: <http://example.org/> . +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . + +eg:Normal + a rdfs:Datatype ; + rdfs:label "normal" ; + owl:onDatatype xsd:double ; + owl:withRestrictions ( + [ + xsd:maxExclusive 1.0 + ] [ + xsd:minExclusive 0.0 + ] + ) . + +eg:s + rdf:value "1.0"^^eg:Normal . |