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/good-literal-value-high-inclusive.ttl | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 tests/validate/good-literal-value-high-inclusive.ttl (limited to 'tests/validate/good-literal-value-high-inclusive.ttl') diff --git a/tests/validate/good-literal-value-high-inclusive.ttl b/tests/validate/good-literal-value-high-inclusive.ttl new file mode 100644 index 00000000..df9cf565 --- /dev/null +++ b/tests/validate/good-literal-value-high-inclusive.ttl @@ -0,0 +1,19 @@ +@prefix eg: . +@prefix rdf: . +@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.0"^^eg:Normal . -- cgit v1.2.1