aboutsummaryrefslogtreecommitdiffstats
path: root/tests/validate/bad-range-instance-not-literal.ttl
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-10-14 22:18:17 +0200
committerDavid Robillard <d@drobilla.net>2019-01-05 17:12:38 +0100
commit1460ce896e041a7b33382504a84d747f0f7bd65e (patch)
treeb5bb7b49b3bd0db98d18347d09ed037d76a0a6c9 /tests/validate/bad-range-instance-not-literal.ttl
parent0f943c203ae9653efabb8168b82d2e56898c5fac (diff)
downloadserd-1460ce896e041a7b33382504a84d747f0f7bd65e.tar.gz
serd-1460ce896e041a7b33382504a84d747f0f7bd65e.tar.bz2
serd-1460ce896e041a7b33382504a84d747f0f7bd65e.zip
Add validation test suite
Diffstat (limited to 'tests/validate/bad-range-instance-not-literal.ttl')
-rw-r--r--tests/validate/bad-range-instance-not-literal.ttl18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/validate/bad-range-instance-not-literal.ttl b/tests/validate/bad-range-instance-not-literal.ttl
new file mode 100644
index 00000000..ea7803f6
--- /dev/null
+++ b/tests/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 .
+