aboutsummaryrefslogtreecommitdiffstats
path: root/test/validate/bad-datatype-property.ttl
diff options
context:
space:
mode:
Diffstat (limited to 'test/validate/bad-datatype-property.ttl')
-rw-r--r--test/validate/bad-datatype-property.ttl19
1 files changed, 19 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..3c2f7a9f
--- /dev/null
+++ b/test/validate/bad-datatype-property.ttl
@@ -0,0 +1,19 @@
+@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:name
+ a owl:DatatypeProperty ;
+ rdfs:label "name" .
+
+eg:Thing
+ a rdfs:Class ;
+ rdfs:label "Thing" .
+
+eg:s1
+ a eg:Thing .
+
+eg:s2
+ eg:name eg:s1 .
+