aboutsummaryrefslogtreecommitdiffstats
path: root/tests/validate/good-literal-value-high-inclusive.ttl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/validate/good-literal-value-high-inclusive.ttl')
-rw-r--r--tests/validate/good-literal-value-high-inclusive.ttl19
1 files changed, 19 insertions, 0 deletions
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: <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:maxInclusive 1.0
+ ]
+ [
+ xsd:minInclusive 0.0
+ ]
+ ) .
+
+eg:s
+ rdf:value "1.0"^^eg:Normal .