Browse wiki

From OWL Test Cases

Jump to:navigation, search
Contradicting-dateTime-restrictions
Features DataAllValuesFrom +, DataHasValue +, SubClassOf +, DatatypeRestriction +, ClassAssertion +, Declaration +
Has author Birte Glimm +
Modification dateThis property is a special property in this wiki. 17 July 2009 18:50:48  +
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 
    DataHasValue(:dp "2007-10-08T20:44:11.656+01:00"^^xsd:dateTime)) 
  SubClassOf(:A 
    DataAllValuesFrom(:dp DatatypeRestriction(
      xsd:dateTime 
      xsd:minInclusive "2008-07-08T20:44:11.656+01:00"^^xsd:dateTime 
      xsd:maxInclusive "2008-10-08T20:44:11.656+01:00"^^xsd:dateTime)
    )
  ) 
  ClassAssertion(:A :a)
)
Test case author Birte Glimm  +
Test case description The individual a must have a dp filler that is a date from 2007, but the restrictions on dp allow only values from 2008, which makes the ontology inconsistent.
Test case id Contradicting-dateTime-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