aboutsummaryrefslogtreecommitdiffstats
path: root/test/validate/bad-datatype-property.ttl
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-11-09 14:07:46 +0100
committerDavid Robillard <d@drobilla.net>2021-03-08 23:35:30 -0500
commit7efaf2431b9c1a96f6ed2e28626aff4886efc749 (patch)
treeba84dfdb11c4e952ff39621a9b8fcf834e9592a5 /test/validate/bad-datatype-property.ttl
parent1ba44998b0c5b8d76d574531d60b703ad56a2c8a (diff)
downloadserd-7efaf2431b9c1a96f6ed2e28626aff4886efc749.tar.gz
serd-7efaf2431b9c1a96f6ed2e28626aff4886efc749.tar.bz2
serd-7efaf2431b9c1a96f6ed2e28626aff4886efc749.zip
Add validation to command line interface
Diffstat (limited to 'test/validate/bad-datatype-property.ttl')
-rw-r--r--test/validate/bad-datatype-property.ttl18
1 files changed, 18 insertions, 0 deletions
diff --git a/test/validate/bad-datatype-property.ttl b/test/validate/bad-datatype-property.ttl
new file mode 100644
index 00000000..a3e993f3
--- /dev/null
+++ b/test/validate/bad-datatype-property.ttl
@@ -0,0 +1,18 @@
+@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#> .
+
+eg:value
+ rdfs:label "value" ;
+ a owl:DatatypeProperty .
+
+eg:Thing
+ a rdfs:Class .
+
+eg:s1
+ a eg:Thing .
+
+eg:s2
+ eg:value eg:s1 .
+