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