Browse wiki

From OWL Test Cases

Jump to:navigation, search
Restrictions-different-type
Features DataAllValuesFrom +, DataSomeValuesFrom +, SubClassOf +, DataOneOf +, DatatypeRestriction +, ClassAssertion +, Declaration +
Has author Birte Glimm +
Modification dateThis property is a special property in this wiki. 12 June 2009 14:57:20  +
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.0"^^xsd:float "4"^^xsd:integer))
  ) 
  SubClassOf(:A DataAllValuesFrom(:dp 
    DataOneOf("3.0"^^xsd:decimal))
  )
  ClassAssertion(:A :a)
  ClassAssertion(DataSomeValuesFrom(:dp 
    DatatypeRestriction(
      xsd:integer 
      xsd:maxInclusive "3"^^xsd:integer)) :a
  )
)
Test case author Birte Glimm  +
Test case description The individual a must have dp fillers that The individual a must have dp fillers that are in the sets {3.0 (float), 4 (integer)} and {3.0 (decimal)} (different types are used, but 3.0 has the same value for floats and decimals). Furthermore, the dp filler must be an integer <= 3, but since 3.0 has the same value as 3 the ontology is consistent. ame value as 3 the ontology is consistent.
Test case id Consistent Restrictions with Different Types  +
Test case lacks EL status  +, QL status  +, RL status  +
Test case semantics Test:DIRECT +, Test:RDF-BASED +
Test case species Test:DL +, Test:FULL +
Test case status Test:Rejected +
Test case syntax Test:FUNCTIONAL +
Categories Withdrawn test, ConsistencyTest, Consistency 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