Skip to content

Commit cbfab3f

Browse files
henrietteharmsehaideriqbal
authored andcommittedOct 30, 2024·
Add ttl Max cardinality on class example.
1 parent 72d7719 commit cbfab3f

File tree

2 files changed

+40
-0
lines changed

2 files changed

+40
-0
lines changed
 
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"ontologies": [
3+
{
4+
"id": "max-cardinality-ttl",
5+
"preferredPrefix": "max-cardinality-ttl",
6+
"ontology_purl": "./testcases/class-expression-issues/max-cardinality.ttl"
7+
}
8+
]
9+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
@prefix : <http://www.ebi.ac.uk/testcases/class-expression-issues/maxCardinality.owl> .
2+
@prefix owl: <http://www.w3.org/2002/07/owl#> .
3+
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
4+
@prefix xml: <http://www.w3.org/XML/1998/namespace> .
5+
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
6+
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
7+
@base <http://www.ebi.ac.uk/testcases/class-expression-issues/maxCardinality.owl> .
8+
9+
<http://www.ebi.ac.uk/testcases/class-expression-issues/maxCardinality.owl> rdf:type owl:Ontology .
10+
11+
#################################################################
12+
# Object Properties
13+
#################################################################
14+
15+
### http://www.ebi.ac.uk/testcases/class-expression-issues/maxCardinality.owl#hasArm
16+
:hasArm rdf:type owl:ObjectProperty .
17+
18+
19+
#################################################################
20+
# Classes
21+
#################################################################
22+
23+
### http://www.ebi.ac.uk/testcases/class-expression-issues/maxCardinality.owl#Person
24+
:Person rdf:type owl:Class ;
25+
rdfs:subClassOf [ rdf:type owl:Restriction ;
26+
owl:onProperty :hasArm ;
27+
owl:maxCardinality 2
28+
] .
29+
30+
31+
### Generated by the OWL API (version 4.5.24.2023-01-14T21:28:32Z) https://github.com/owlcs/owlapi

0 commit comments

Comments
 (0)
Please sign in to comment.