Skip to content

Commit

Permalink
Max cardinality on class example. (#773)
Browse files Browse the repository at this point in the history
  • Loading branch information
henrietteharmse authored Oct 24, 2024
1 parent 6a41a23 commit 70155be
Show file tree
Hide file tree
Showing 2 changed files with 65 additions and 0 deletions.
9 changes: 9 additions & 0 deletions testcases/class-expression-issues/max-cardinality.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"ontologies": [
{
"id": "max-cardinality",
"preferredPrefix": "max-cardinality",
"ontology_purl": "./testcases/class-expression-issues/max-cardinality.owl"
}
]
}
56 changes: 56 additions & 0 deletions testcases/class-expression-issues/max-cardinality.owl
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
<?xml version="1.0"?>
<rdf:RDF xmlns="http://www.ebi.ac.uk/testcases/class-expression-issues/maxCardinality.owl"
xml:base="http://www.ebi.ac.uk/testcases/class-expression-issues/maxCardinality.owl"
xmlns:owl="http://www.w3.org/2002/07/owl#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:xml="http://www.w3.org/XML/1998/namespace"
xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#">
<owl:Ontology rdf:about="http://www.ebi.ac.uk/testcases/class-expression-issues/maxCardinality.owl"/>



<!--
///////////////////////////////////////////////////////////////////////////////////////
//
// Object Properties
//
///////////////////////////////////////////////////////////////////////////////////////
-->




<!-- http://www.ebi.ac.uk/testcases/class-expression-issues/maxCardinality.owl#hasArm -->

<owl:ObjectProperty rdf:about="http://www.ebi.ac.uk/testcases/class-expression-issues/maxCardinality.owl#hasArm"/>



<!--
///////////////////////////////////////////////////////////////////////////////////////
//
// Classes
//
///////////////////////////////////////////////////////////////////////////////////////
-->




<!-- http://www.ebi.ac.uk/testcases/class-expression-issues/maxCardinality.owl#Person -->

<owl:Class rdf:about="http://www.ebi.ac.uk/testcases/class-expression-issues/maxCardinality.owl#Person">
<rdfs:subClassOf>
<owl:Restriction>
<owl:onProperty rdf:resource="http://www.ebi.ac.uk/testcases/class-expression-issues/maxCardinality.owl#hasArm"/>
<owl:maxCardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#nonNegativeInteger">2</owl:maxCardinality>
</owl:Restriction>
</rdfs:subClassOf>
</owl:Class>
</rdf:RDF>



<!-- Generated by the OWL API (version 4.5.24.2023-01-14T21:28:32Z) https://github.com/owlcs/owlapi -->

0 comments on commit 70155be

Please sign in to comment.