From 2901a3669de67025f4daa47e5c452a4ffbec1476 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 14 Oct 2018 22:18:17 +0200 Subject: Add validation to command line interface --- tests/validate/bad-string-literal-value-high.ttl | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 tests/validate/bad-string-literal-value-high.ttl (limited to 'tests/validate/bad-string-literal-value-high.ttl') 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: . +@prefix rdf: . +@prefix xsd: . + +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 . + -- cgit v1.2.1