diff options
Diffstat (limited to 'tests/validate/bad-string-literal-value-high.ttl')
-rw-r--r-- | tests/validate/bad-string-literal-value-high.ttl | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/validate/bad-string-literal-value-high.ttl b/tests/validate/bad-string-literal-value-high.ttl new file mode 100644 index 00000000..7119e30a --- /dev/null +++ b/tests/validate/bad-string-literal-value-high.ttl @@ -0,0 +1,19 @@ +@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:startsWithC + a rdfs:Datatype ; + rdfs:label "starts with C" ; + owl:onDatatype xsd:string ; + owl:withRestrictions ( + [ + xsd:maxExclusive "D" + ] [ + xsd:minInclusive "B" + ] + ) . + +eg:s + rdf:value "Door"^^eg:startsWithC . + |