TestCase:WebOnt-cardinality-006
From OWL Test Cases
[Download OWL] | |
Test Id | WebOnt-cardinality-006 |
---|---|
Description | An owl:cardinality constraint is simply shorthand for a pair of owl:minCardinality and owl:maxCardinality constraints.
|
Status | Proposed (2009-06-29) |
Author | Jeremy J. Carroll |
Original syntax | RDF-XML |
Syntactic Species/Profile | OWL 2 Full (EL profile assertion missing, QL profile assertion missing, RL profile assertion missing) |
Semantics | This test is applicable under the RDF-based semantics. It should not be considered under the direct semantics because it does not satisfy the syntactic constraints of OWL 2 DL. |
WebOnt test | http://www.w3.org/2002/03owlt/cardinality/Manifest006#test |
Premise ontology (download)
Convert syntax: functional, XML, Manchester This informative conversion will be incorrect for OWL 2 Full. info.pngConversions are provided by the OWL Syntax Converter which tries to "repair" OWL 2 Full inputs to become DL. | |
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:owl="http://www.w3.org/2002/07/owl#" xml:base="http://www.w3.org/2002/03owlt/cardinality/premises006" > <rdf:Description rdf:about="conclusions006#c"> <owl:intersectionOf rdf:parseType="Collection"> <owl:Restriction> <owl:onProperty rdf:resource="conclusions006#p"/> <owl:maxCardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#nonNegativeInteger" >1</owl:maxCardinality> </owl:Restriction> <owl:Restriction> <owl:onProperty rdf:resource="conclusions006#p"/> <owl:minCardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#nonNegativeInteger" >1</owl:minCardinality> </owl:Restriction> </owl:intersectionOf> </rdf:Description> </rdf:RDF> | |
Conclusion ontology (download)
Convert syntax: functional, XML, Manchester This informative conversion will be incorrect for OWL 2 Full. info.pngConversions are provided by the OWL Syntax Converter which tries to "repair" OWL 2 Full inputs to become DL. | |
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:owl="http://www.w3.org/2002/07/owl#" xml:base="http://www.w3.org/2002/03owlt/cardinality/conclusions006" > <rdf:Description rdf:ID="c"> <owl:intersectionOf rdf:parseType="Collection"> <owl:Restriction> <owl:onProperty rdf:resource="#p"/> <owl:cardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#nonNegativeInteger" >1</owl:cardinality> </owl:Restriction> </owl:intersectionOf> </rdf:Description> </rdf:RDF> | |
Imported ontologies | none |