From b5865b7ab1c687f537951f9d0b10c47b475bc23d Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 14 Oct 2018 22:18:17 +0200 Subject: Add validation test suite --- tests/validate/bad-literal-value-low-inclusive.ttl | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 tests/validate/bad-literal-value-low-inclusive.ttl (limited to 'tests/validate/bad-literal-value-low-inclusive.ttl') diff --git a/tests/validate/bad-literal-value-low-inclusive.ttl b/tests/validate/bad-literal-value-low-inclusive.ttl new file mode 100644 index 00000000..c88123dd --- /dev/null +++ b/tests/validate/bad-literal-value-low-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 "-0.1"^^eg:Normal . + -- cgit v1.2.1