diff --git a/testcases/class-expression-issues/max-cardinality-ttl.json b/testcases/class-expression-issues/max-cardinality-ttl.json new file mode 100644 index 000000000..dd5f72789 --- /dev/null +++ b/testcases/class-expression-issues/max-cardinality-ttl.json @@ -0,0 +1,9 @@ +{ + "ontologies": [ + { + "id": "max-cardinality-ttl", + "preferredPrefix": "max-cardinality-ttl", + "ontology_purl": "./testcases/class-expression-issues/max-cardinality.ttl" + } + ] +} diff --git a/testcases/class-expression-issues/max-cardinality.ttl b/testcases/class-expression-issues/max-cardinality.ttl new file mode 100644 index 000000000..7a669312c --- /dev/null +++ b/testcases/class-expression-issues/max-cardinality.ttl @@ -0,0 +1,31 @@ +@prefix : . +@prefix owl: . +@prefix rdf: . +@prefix xml: . +@prefix xsd: . +@prefix rdfs: . +@base . + + rdf:type owl:Ontology . + +################################################################# +# Object Properties +################################################################# + +### http://www.ebi.ac.uk/testcases/class-expression-issues/maxCardinality.owl#hasArm +:hasArm rdf:type owl:ObjectProperty . + + +################################################################# +# Classes +################################################################# + +### http://www.ebi.ac.uk/testcases/class-expression-issues/maxCardinality.owl#Person +:Person rdf:type owl:Class ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:onProperty :hasArm ; + owl:maxCardinality 2 + ] . + + +### Generated by the OWL API (version 4.5.24.2023-01-14T21:28:32Z) https://github.com/owlcs/owlapi