Re: comments on RDF mapping

On Tue, 2007-10-23 at 09:10 -0400, Jim Hendler wrote:

> let's use a simple example - the example of a QCR raised to  
> the original working group was to be able to say
>   A hand has five fingers, one of which is a thumb.
> Can you show me how to say this in OWL11 (in a document format - RDF  
> or N3 preferably)

:Finger a owl:Class .
:Thumb a owl:Class ;
  rdfs:subClassOf :Finger .
  
:hasFinger a owl:ObjectProperty .

:Hand a owl:Class ;
  rdfs:subClassOf [
    a owl:Restriction ;
    owl:onProperty :hasFinger ;
    owl:cardinality 5 ;
    owl11:onClass :Finger
  ] ;
  rdfs:subClassOf [
    a owl:Restriction ;
    owl:onProperty :hasFinger ;
    owl:cardinality 1 ;
    owl11:onClass :Thumb
  ] .

-- 
Mike Smith

Clark & Parsia

Received on Tuesday, 23 October 2007 13:25:42 UTC