W3C home > Mailing lists > Public > www-rdf-interest@w3.org > May 2000

Re: RDF and polymorphism

From: Graham Klyne <GK@Dial.pipex.com>
Date: Thu, 04 May 2000 18:35:32 +0100
Message-Id: <4.3.1.2.20000504183052.00c45f00@pop.dial.pipex.com>
To: Dan Brickley <danbri@w3.org>
Cc: R.van.Dort@Everest.nl, www-rdf-interest@w3.org, ricko@gate.sinica.edu.tw
At 12:43 PM 5/4/00 -0400, Dan Brickley wrote:


>On Thu, 4 May 2000 R.van.Dort@Everest.nl wrote:
>
> > In my knowledge RDF does not support polymorphism.
> > Properties are identified by their name.
> > When you are using domain and range for a property, this forces you to
> > define separate propertynames for each domain and/or range.
> > Isn't this a big handicap with respect to the expressiveness of RDF?
>
>We do have the sub-property relationship that can be used to relate
>hierarchies of properties, so using separate names for properties that are
>similar but have different constraints isn't entirely chaotic.

Another approach, I understand, is to define a new class with multiple 
rdfs:subClassOf properties, and use that for the domain and/or range of a 
property.

(But I'm still not entirely clear when to use rdfs:subPropertyOf vs 
rdfs:subClassOf.)

#g


------------
Graham Klyne
(GK@ACM.ORG)
Received on Thursday, 4 May 2000 15:37:58 GMT

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