diff options
author | David Robillard <d@drobilla.net> | 2018-10-14 22:18:17 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-04-13 19:48:23 +0200 |
commit | e320bb53e58314fb2f04d514fc68202efcb52f3e (patch) | |
tree | 67b5741ef8d614ae7fbcbd530ad4bc82ccbb5ff4 /tests/validate/bad-literal-value-low-exclusive.ttl | |
parent | 25a0c50bb95f9523e700a2ca91b6b4a61c8243c5 (diff) | |
download | serd-e320bb53e58314fb2f04d514fc68202efcb52f3e.tar.gz serd-e320bb53e58314fb2f04d514fc68202efcb52f3e.tar.bz2 serd-e320bb53e58314fb2f04d514fc68202efcb52f3e.zip |
Add validation test suite
Diffstat (limited to 'tests/validate/bad-literal-value-low-exclusive.ttl')
-rw-r--r-- | tests/validate/bad-literal-value-low-exclusive.ttl | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/validate/bad-literal-value-low-exclusive.ttl b/tests/validate/bad-literal-value-low-exclusive.ttl new file mode 100644 index 00000000..fdcaf94a --- /dev/null +++ b/tests/validate/bad-literal-value-low-exclusive.ttl @@ -0,0 +1,18 @@ +@prefix eg: <http://example.org/> . +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . + +eg:Normal + a rdfs:Datatype ; + rdfs:label "normal" ; + owl:onDatatype xsd:double ; + owl:withRestrictions ( + [ + xsd:maxExclusive 1.0 + ] [ + xsd:minExclusive 0.0 + ] + ) . + +eg:s + rdf:value "0.0"^^eg:Normal . |