New-Feature-Keys-007

From OWL Test Cases

Jump to:navigation, search
[Download OWL]
Test Id New-Feature-Keys-007
Description Demonstrates that a key axiom only applies to named individuals. Based on an example in the Structural Specification and Functional-Style Syntax document.
Status Approved (2009-07-15, when passed by 2 implementations) (proposed 2009-04-28)
Author Mike Smith
Original syntax Functional
Syntactic Species/Profile OWL 2 DL (EL, not QL, not RL)
Semantics This test is applicable under both direct and RDF-based semantics.
Specification Reference http://www.w3.org/TR/owl2-syntax/#Keys
Premise ontology (download)

Convert syntax: RDF, XML, Manchester      This informative conversion will be incorrect for OWL 2 Full. info.pngConversions are provided by the OWL Syntax Converter which tries to "repair" OWL 2 Full inputs to become DL.

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 )
)
Nonconclusion ontology (download)

Convert syntax: RDF, XML, Manchester      This informative conversion will be incorrect for OWL 2 Full. info.pngConversions are provided by the OWL Syntax Converter which tries to "repair" OWL 2 Full inputs to become DL.

Prefix( : = <http://example.org/> )

Ontology(
  ClassAssertion( :Man :Peter )
)
Imported ontologies none
Auxiliary syntax documents New-Feature-Keys-007-RDFXML
Navigation
OWL 2 Informative
OWL 2 Normative
Toolbox