Browse wiki

From OWL Test Cases

Jump to:navigation, search
Contradicting-datatype-restrictions
Features DataAllValuesFrom +, DataSomeValuesFrom +, SubClassOf +, DataOneOf +, DatatypeRestriction +, ClassAssertion +, Declaration +
Has author Birte Glimm +
Modification dateThis property is a special property in this wiki. 17 July 2009 18:50:40  +
Premise ontology
Prefix(:=<http://example.org/>)
Prefix(xsd:=<http://www.w3.org/2001/XMLSchema#>)
Ontology(
  Declaration(NamedIndividual(:a))
  Declaration(DataProperty(:dp))
  Declaration(Class(:A))
  SubClassOf(:A DataAllValuesFrom(:dp 
    DataOneOf("3"^^xsd:integer "4"^^xsd:integer))
  ) 
  SubClassOf(:A DataAllValuesFrom(:dp 
    DataOneOf("2"^^xsd:integer "3"^^xsd:integer))
  )
  SubClassOf(:A DataSomeValuesFrom(:dp 
    DatatypeRestriction(xsd:integer 
      xsd:minInclusive "4"^^xsd:integer)
    )
  )
  ClassAssertion(:A :a)
)
Test case author Birte Glimm  +
Test case description The individual a is in A and thus must have a dp filler that is an integer >= 4. Furthermore the dp fillers must be in the set {3, 4} and in the set {2, 3}. Although 3 is in both sets, 3 is not >= 4, which causes the inconsistency.
Test case id Contradicting datatype Restrictions  +
Test case semantics Test:DIRECT +, Test:RDF-BASED +
Test case species Test:DL +, Test:FULL +
Test case status Test:Approved +
Test case syntax Test:FUNCTIONAL +
Categories No EL profile test, No QL profile test, No RL profile test, InconsistencyTest, Inconsistency form
hide properties that link here 
  No properties link to this page.
 

 

Enter the name of the page to start browsing from.
Navigation
OWL 2 Informative
OWL 2 Normative
Toolbox