aboutsummaryrefslogtreecommitdiffstats
path: root/test/validate/bad-range-instance-not-literal.ttl
diff options
context:
space:
mode:
Diffstat (limited to 'test/validate/bad-range-instance-not-literal.ttl')
-rw-r--r--test/validate/bad-range-instance-not-literal.ttl18
1 files changed, 18 insertions, 0 deletions
diff --git a/test/validate/bad-range-instance-not-literal.ttl b/test/validate/bad-range-instance-not-literal.ttl
new file mode 100644
index 00000000..ea7803f6
--- /dev/null
+++ b/test/validate/bad-range-instance-not-literal.ttl
@@ -0,0 +1,18 @@
+@prefix eg: <http://example.org/> .
+@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+
+eg:Thing
+ a rdfs:Class .
+
+eg:value
+ a rdf:Property ;
+ rdfs:label "value" ;
+ rdfs:range rdfs:Literal .
+
+eg:thing
+ a eg:Thing .
+
+eg:s
+ eg:value eg:thing .
+