W3C home > Mailing lists > Public > w3c-rdfcore-wg@w3.org > March 2002

Re: Datatyping issue, too many options?

From: Brian McBride <bwm@hplb.hpl.hp.com>
Date: Thu, 21 Mar 2002 14:13:54 +0000
Message-Id: <>
To: Pat Hayes <phayes@ai.uwf.edu>, Graham Klyne <GK@NineByNine.org>
Cc: w3c-rdfcore-wg@w3.org
At 16:53 16/03/2002 -0800, Pat Hayes wrote:

>>(3) Section 5:
>>    ex:Jenny ex:age _:x .
>>    _:x rdfs:dlex "10" .
>>    ex:age rdfs:drange datatype:decimal .
>>I think that options (1) and (2) cover the use cases that have been put 
>>forward.  I don't recall a use-case that needs (3), so this may be an 
>>issue to the extent that the proposal goes to some additional effort to 
>>support more options than may be really needed.

I think the issue here is whether we need to retain the ability to say:

   ex:Jenny ex:age _:x .
   _:x rdfs:dlex "10" .

when we can say:

   ex:Jenny ex:age _:x .
   _:x xsdr:decimal "10" .

The former is useful if we want to be able to represent a graph where the 
type of _:x is unknown, and then later add it, for all uses of ex:age by 
adding the triple:

   ex:age rdfs:range xsdr:decimal . # or drange if you prefer

A user case I have heard mentioned is where one scrapes some data from a 
web page, captures it as:

   ex:Jenny ex:age _:x .
   _:x rdfs:dlex "10" .

Later discover that age's take a decimal value and add the range constraint.

It does seem to met that its unlikely to be too onerous to use replace the 
rdfs:dlex xsdr:decimal in that situation.

Pat was pretty pasionate about this facility being needed;  I'm not groking 
it.  Can anyone suggest what I'm missing?

Received on Thursday, 21 March 2002 09:17:11 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:24:11 UTC