W3C home > Mailing lists > Public > public-owl-wg@w3.org > October 2007

Re: comments on RDF mapping

From: Michael Smith <msmith@clarkparsia.com>
Date: Tue, 23 Oct 2007 09:25:48 -0400
To: Jim Hendler <hendler@cs.rpi.edu>
Cc: public-owl-wg@w3.org
Message-Id: <1193145948.6406.14.camel@msmith-laptop>


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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:13:26 GMT