diff options
Diffstat (limited to 'tests/validate/bad-pattern.ttl')
-rw-r--r-- | tests/validate/bad-pattern.ttl | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/validate/bad-pattern.ttl b/tests/validate/bad-pattern.ttl new file mode 100644 index 00000000..1c367bd2 --- /dev/null +++ b/tests/validate/bad-pattern.ttl @@ -0,0 +1,21 @@ +@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:BrokenLiteral + a rdfs:Datatype ; + rdfs:label "broken literal" ; + owl:withRestrictions ( + [ + xsd:pattern "[" + ] + ) . + +eg:value + a rdf:Property ; + rdfs:label "value" ; + rdfs:range eg:BinaryLiteral . + +eg:s + eg:value "no match"^^eg:BrokenLiteral . + |