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