Browse wiki

From OWL Test Cases

Jump to:navigation, search
New-Feature-Keys-007
Auxiliary test inputs New-Feature-Keys-007-RDFXML +
Features ObjectIntersectionOf +, ObjectSomeValuesFrom +, DataHasValue +, SubClassOf +, HasKey +, ClassAssertion +, DataPropertyAssertion +, Declaration +
Has author Mike Smith +
Modification dateThis property is a special property in this wiki. 17 July 2009 18:58:01  +
Nonconclusion ontology
Prefix( : = <http://example.org/> )

Ontology(
  ClassAssertion( :Man :Peter )
)
Premise ontology
Prefix( : = <http://example.org/> )

Ontology(
  Declaration( Class( :Person ) )
  Declaration( Class( :Man ) )
  Declaration( DataProperty( :hasSSN ) )
  Declaration( ObjectProperty( :marriedTo ) )

  HasKey( :Person () ( :hasSSN ) )

  DataPropertyAssertion( :hasSSN :Peter "123-45-6789" )
  ClassAssertion( :Person :Peter )

  ClassAssertion(
    ObjectSomeValuesFrom(
       :marriedTo
       ObjectIntersectionOf( :Man DataHasValue( :hasSSN "123-45-6789" ) )
    )
    :Lois
  )

  SubClassOf( :Man :Person )
)
Test case author Mike Smith  +
Test case description Demonstrates that a key axiom only applies to named individuals. Based on an example in the Structural Specification and Functional-Style Syntax document.
Test case id New-Feature-Keys-007  +
Test case profile Test:EL +
Test case semantics Test:DIRECT +, Test:RDF-BASED +
Test case species Test:DL +, Test:FULL +
Test case specref http://www.w3.org/TR/owl2-syntax/#Keys  +
Test case status Test:Approved +
Test case syntax Test:FUNCTIONAL +
Categories EL profile test, No QL profile test, No RL profile test, NegativeEntailmentTest, Nonentailment 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