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

Re: Range interpretation question.

From: Arjohn Kampman <akam@aidministrator.nl>
Date: Wed, 25 Apr 2001 10:33:33 +0200 (MEST)
Message-Id: <200104250833.KAA06794@spa.aidministrator.nl>
To: conen@gmx.de, www-rdf-logic@w3.org
> Which interpretation of range constraints do you prefer?
> 
> [ P, rdfs:range, C] 
>     is intended to express:
> (a) P may be applied to any resource that belongs to class C
> or
> (b) If P is applied to a resource r, r will belong to C

I'd prefer (a), because using (b) can lead you into strange
situations:

Assume that the C is rdfs:Literal and that you're using a resource
uri as a target of the property. Using (b) this would mean that the
uri is a literal. To the best of my knowledge, a uri cannot be both
a resource and a literal.

Arjohn

--
arjohn.kampman@aidministrator.nl
aidministrator nederland b.v.  -  http://www.aidministrator.nl/
prinses julianaplein 14-b, 3817 cs amersfoort, the netherlands
tel. +31-(0)33-4659987   fax. +31-(0)33-4659987
Received on Wednesday, 25 April 2001 04:35:04 GMT

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