W3C home > Mailing lists > Public > semantic-web@w3.org > November 2010

Re: Datatype normalization

From: Toby Inkster <tai@g5n.co.uk>
Date: Fri, 12 Nov 2010 22:16:03 +0000
To: nathan@webr3.org
Cc: Semantic Web <semantic-web@w3.org>
Message-ID: <20101112221603.13b24cf3@miranda.g5n.co.uk>
On Fri, 12 Nov 2010 11:33:12 +0000
Nathan <nathan@webr3.org> wrote:

> What reason would there be not to just infer/pull the type and
> convert to a typed literal?

It probably is sensible to do it, but not in a general RDF library.
Why? Because probably the place where you're going to be able to do it
most reliably/usefully will be where the value is actually used to do
something.

Replacing your { ex:prop rdfs:range xsd:decimal . } with an ex:costs
property (same range), the specific programming which actually processes
these as prices, rather than the generic programming which is
processing them as typed literals, will have better knowledge of what
the data is supposed to look like, so how best to clean it up.

-- 
Toby A Inkster
<mailto:mail@tobyinkster.co.uk>
<http://tobyinkster.co.uk>
Received on Friday, 12 November 2010 22:16:35 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 08:45:21 UTC