W3C home > Mailing lists > Public > www-rdf-interest@w3.org > April 2001

RE: "If" and "else" in RDF

From: Danny Ayers <danny@panlanka.net>
Date: Sun, 29 Apr 2001 22:54:04 +0600
To: <www-rdf-interest@w3.org>
Message-ID: <EBEPLGMHCDOJJJPCFHEFOEDBDEAA.danny@panlanka.net>

<- <rdfs:Class id="Gender" rdfs:label="Gender"/>
<- <rdf:Property id="address" rdfs:domain="#Gender"
<- rdfs:range="http://www.w3.org/2000/01/rdf-schema#Literal"/>
<- 
<- <Gender id="Male">
<-    <rdfs:label>Male</rdfs:label>
<-    <address>Mr</address>
<- </Gender>
<- 
<- <Gender id="Female">
<-    <rdfs:label>Female</rdfs:label>
<-    <address>Ms</address>
<- </Gender>
<- 
<- To me the relationship is implicit in the definition, no "if 
<- then" is really 
<- needed.
<- 
<- I dunno if this helps in any way, but it did me.

Yep, that's better, thankyou ;-)
Received on Sunday, 29 April 2001 12:58:02 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:51:49 GMT