TestCase:WebOnt-I4.5-001
From OWL Test Cases
[Download OWL] | |
Test Id | WebOnt-I4.5-001 |
---|---|
Description | An example combinging owl:oneOf and owl:inverseOf. |
Status | Approved (2009-01-07) (proposed 2009-01-06) |
Author | Charles White |
Original syntax | RDF-XML |
Syntactic Species/Profile | OWL 2 DL (not EL, not QL, not RL) |
Semantics | This test is applicable under both direct and RDF-based semantics. |
WebOnt test | http://www.w3.org/2002/03owlt/I4.5/Manifest001#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#" xmlns:first="http://www.w3.org/2002/03owlt/I4.5/premises001#" xml:base="http://www.w3.org/2002/03owlt/I4.5/premises001" > <owl:Ontology/> <owl:Class rdf:ID="EuropeanCountry" /> <owl:Class rdf:ID="Person" /> <owl:Class rdf:ID="EUCountry"> <owl:oneOf rdf:parseType="Collection"> <first:EuropeanCountry rdf:ID="UK"/> <first:EuropeanCountry rdf:ID="BE"/> <first:EuropeanCountry rdf:ID="ES"/> <first:EuropeanCountry rdf:ID="FR"/> <first:EuropeanCountry rdf:ID="NL"/> <first:EuropeanCountry rdf:ID="PT"/> </owl:oneOf> </owl:Class> <owl:ObjectProperty rdf:ID="hasEuroMP" > <rdfs:domain rdf:resource="#EUCountry"/> </owl:ObjectProperty> <owl:ObjectProperty rdf:ID="isEuroMPFrom" > <owl:inverseOf rdf:resource="#hasEuroMP"/> </owl:ObjectProperty> <owl:Class rdf:ID="EuroMP"> <owl:equivalentClass> <owl:Restriction> <owl:onProperty rdf:resource="#isEuroMPFrom" /> <owl:someValuesFrom rdf:resource="http://www.w3.org/2002/07/owl#Thing" /> </owl:Restriction> </owl:equivalentClass> </owl:Class> <first:Person rdf:ID="Kinnock" /> <first:EuropeanCountry rdf:about="#UK"> <first:hasEuroMP rdf:resource="#Kinnock" /> </first:EuropeanCountry> </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:first="http://www.w3.org/2002/03owlt/I4.5/premises001#" xmlns:owl="http://www.w3.org/2002/07/owl#" xml:base="http://www.w3.org/2002/03owlt/I4.5/conclusions001" > <owl:Ontology/> <first:EuroMP rdf:about="premises001#Kinnock" /> <owl:Class rdf:about="premises001#EuroMP"/> </rdf:RDF> | |
Imported ontologies | none |
The version of this test approved by the WebOnt WG was incorrect. The premise ontology present in that version of the test was marked as an OWL DL document, but was not OWL DL because it did not contain a triple of the form O rdf:type owl:Ontology. The ontology has been revised to contain the necessary triple.
The version of this test approved by the WebOnt WG was incorrect. The conclusion ontology present in that version of the test was marked as an OWL Lite document, but was not OWL Lite because it did not contain a triple of the form O rdf:type owl:Ontology. The ontology has been revised to contain the necessary triple.
OWL EL Report (Informative)
Ontology violates the OWL EL constraints in at least the following:
- The following axiom is not allowed: EquivalentClasses(EUCountry OneOf(BE ES FR NL PT UK) )
- due to class description OneOf(BE ES FR NL PT UK)
- The following axiom is not allowed: InverseProperties(isEuroMPFrom hasEuroMP)
OWL QL Report (Informative)
Ontology violates the OWL QL constraints in at least the following:
- The following axiom is not allowed: EquivalentClasses(EUCountry OneOf(BE ES FR NL PT UK) )
- due to class description OneOf(BE ES FR NL PT UK)
OWL RL Report (Informative)
Ontology violates the OWL RL constraints in at least the following:
- The following axiom is not allowed: EquivalentClasses(EUCountry OneOf(BE ES FR NL PT UK) )
- due to class description OneOf(BE ES FR NL PT UK)
- The following axiom is not allowed: EquivalentClasses(EuroMP SomeValuesFrom(isEuroMPFrom Thing) )
- due to class description SomeValuesFrom(isEuroMPFrom Thing)