diff options
author | David Robillard <d@drobilla.net> | 2020-11-09 14:07:46 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2021-03-08 23:35:30 -0500 |
commit | 7efaf2431b9c1a96f6ed2e28626aff4886efc749 (patch) | |
tree | ba84dfdb11c4e952ff39621a9b8fcf834e9592a5 /test/validate/bad-literal-value-high-exclusive.ttl | |
parent | 1ba44998b0c5b8d76d574531d60b703ad56a2c8a (diff) | |
download | serd-7efaf2431b9c1a96f6ed2e28626aff4886efc749.tar.gz serd-7efaf2431b9c1a96f6ed2e28626aff4886efc749.tar.bz2 serd-7efaf2431b9c1a96f6ed2e28626aff4886efc749.zip |
Add validation to command line interface
Diffstat (limited to 'test/validate/bad-literal-value-high-exclusive.ttl')
-rw-r--r-- | test/validate/bad-literal-value-high-exclusive.ttl | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/test/validate/bad-literal-value-high-exclusive.ttl b/test/validate/bad-literal-value-high-exclusive.ttl new file mode 100644 index 00000000..f83d2216 --- /dev/null +++ b/test/validate/bad-literal-value-high-exclusive.ttl @@ -0,0 +1,20 @@ +@prefix eg: <http://example.org/> . +@prefix owl: <http://www.w3.org/2002/07/owl#> . +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . +@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 "1.0"^^eg:Normal . |