Browse wiki

From OWL Test Cases

Jump to:navigation, search
Numeric-restrictions-different-type
Features DataAllValuesFrom +, DataSomeValuesFrom +, SubClassOf +, DatatypeRestriction +, ClassAssertion +, Declaration +
Has author Birte Glimm +
Modification dateThis property is a special property in this wiki. 12 June 2009 15:14:41  +
Premise ontology
Prefix(:=<http://example.org/>)
Prefix(xsd:=<http://www.w3.org/2001/XMLSchema#>)
Prefix(rdfs:=<http://www.w3.org/2000/01/rdf-schema#>)
Ontology(
  Declaration(NamedIndividual(:a))
  Declaration(DataProperty(:dp))
  Declaration(Class(:A))
  SubClassOf(:A 
    DataAllValuesFrom(:dp DatatypeRestriction(
      xsd:byte 
      xsd:minInclusive "4.5"^^xsd:decimal 
      xsd:maxInclusive "7"^^xsd:short)
    )
  ) 
  SubClassOf(:A 
    DataAllValuesFrom(:dp DatatypeRestriction(
      xsd:decimal 
      xsd:minInclusive "6.0"^^xsd:float 
      xsd:maxInclusive "6.8"^^xsd:decimal)
    )
  ) 
  ClassAssertion(:A :a)
  ClassAssertion(DataSomeValuesFrom(:dp rdfs:Literal) :a)
)
Test case author Birte Glimm  +
Test case description The data property dp has a restriction to bytes >= 5 (4.5 needs to be rounded up) and <= 7 and a restriction to decimals >= 6.0 and <= 6.8. The individual a is required to have a dp successor, but 6 is a value that fulfils both restrictions.
Test case id Consistent Numeric Restrictions of Different Type  +
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