From 7efaf2431b9c1a96f6ed2e28626aff4886efc749 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 9 Nov 2020 14:07:46 +0100 Subject: Add validation to command line interface --- test/validate/bad-literal-value-high-inclusive.ttl | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 test/validate/bad-literal-value-high-inclusive.ttl (limited to 'test/validate/bad-literal-value-high-inclusive.ttl') diff --git a/test/validate/bad-literal-value-high-inclusive.ttl b/test/validate/bad-literal-value-high-inclusive.ttl new file mode 100644 index 00000000..c0753250 --- /dev/null +++ b/test/validate/bad-literal-value-high-inclusive.ttl @@ -0,0 +1,20 @@ +@prefix eg: . +@prefix owl: . +@prefix rdf: . +@prefix rdfs: . +@prefix xsd: . + +eg:Normal + a rdfs:Datatype ; + rdfs:label "normal" ; + owl:onDatatype xsd:double ; + owl:withRestrictions ( + [ + xsd:maxInclusive 1.0 + ] [ + xsd:minInclusive 0.0 + ] + ) . + +eg:s + rdf:value "1.1"^^eg:Normal . -- cgit v1.2.1