diff options
Diffstat (limited to 'test/validate/bad-pattern.ttl')
-rw-r--r-- | test/validate/bad-pattern.ttl | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/test/validate/bad-pattern.ttl b/test/validate/bad-pattern.ttl new file mode 100644 index 00000000..fef79aeb --- /dev/null +++ b/test/validate/bad-pattern.ttl @@ -0,0 +1,23 @@ +@prefix eg: <http://example.org/> . +@prefix owl: <http://www.w3.org/2002/07/owl#> . +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . + +eg:BrokenLiteral + a rdfs:Datatype ; + rdfs:label "Broken Literal" ; + owl:withRestrictions ( + [ + xsd:pattern "[" + ] + ) . + +# eg:value +# a rdf:Property ; +# rdfs:label "value" ; +# rdfs:range eg:BrokenLiteral . + +eg:s + rdf:value "no match"^^eg:BrokenLiteral . + |