From e320bb53e58314fb2f04d514fc68202efcb52f3e Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 14 Oct 2018 22:18:17 +0200 Subject: Add validation test suite --- tests/validate/bad-cardinality.ttl | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 tests/validate/bad-cardinality.ttl (limited to 'tests/validate/bad-cardinality.ttl') diff --git a/tests/validate/bad-cardinality.ttl b/tests/validate/bad-cardinality.ttl new file mode 100644 index 00000000..481fe456 --- /dev/null +++ b/tests/validate/bad-cardinality.ttl @@ -0,0 +1,18 @@ +@prefix eg: . +@prefix owl: . +@prefix rdf: . +@prefix rdfs: . + +eg:Thing + a rdfs:Class ; + rdfs:subClassOf [ + a owl:Restriction ; + owl:onProperty rdf:value ; + owl:cardinality 3 + ] . + +eg:s + a eg:Thing ; + rdf:value 1 , + 2 . + -- cgit v1.2.1