aboutsummaryrefslogtreecommitdiffstats
path: root/tests/validate/bad-inverse-functional-property.ttl
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-10-14 22:18:17 +0200
committerDavid Robillard <d@drobilla.net>2020-10-27 13:13:58 +0100
commit2901a3669de67025f4daa47e5c452a4ffbec1476 (patch)
tree826da112a6338ff6f53edc78fb9e978f662ce7ee /tests/validate/bad-inverse-functional-property.ttl
parent9afb76e19e67951f6e6273acbbd35ceafb376e45 (diff)
downloadserd-2901a3669de67025f4daa47e5c452a4ffbec1476.tar.gz
serd-2901a3669de67025f4daa47e5c452a4ffbec1476.tar.bz2
serd-2901a3669de67025f4daa47e5c452a4ffbec1476.zip
Add validation to command line interface
Diffstat (limited to 'tests/validate/bad-inverse-functional-property.ttl')
-rw-r--r--tests/validate/bad-inverse-functional-property.ttl15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/validate/bad-inverse-functional-property.ttl b/tests/validate/bad-inverse-functional-property.ttl
new file mode 100644
index 00000000..95c0aaea
--- /dev/null
+++ b/tests/validate/bad-inverse-functional-property.ttl
@@ -0,0 +1,15 @@
+@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:identity
+ rdfs:label "identity" ;
+ a owl:InverseFunctionalProperty .
+
+eg:s1
+ eg:identity "me" .
+
+eg:s2
+ eg:identity "me" .
+