aboutsummaryrefslogtreecommitdiffstats
path: root/test/validate/bad-cardinality-low.ttl
diff options
context:
space:
mode:
Diffstat (limited to 'test/validate/bad-cardinality-low.ttl')
-rw-r--r--test/validate/bad-cardinality-low.ttl17
1 files changed, 17 insertions, 0 deletions
diff --git a/test/validate/bad-cardinality-low.ttl b/test/validate/bad-cardinality-low.ttl
new file mode 100644
index 00000000..60bfc9f8
--- /dev/null
+++ b/test/validate/bad-cardinality-low.ttl
@@ -0,0 +1,17 @@
+@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:Thing
+ a rdfs:Class ;
+ rdfs:label "Thing" ;
+ rdfs:subClassOf [
+ a owl:Restriction ;
+ owl:onProperty rdf:value ;
+ owl:minCardinality 1
+ ] .
+
+eg:s
+ a eg:Thing .
+