- From: Nathan <nathan@webr3.org>
- Date: Fri, 12 Nov 2010 22:21:07 +0000
- To: Toby Inkster <tai@g5n.co.uk>
- CC: Semantic Web <semantic-web@w3.org>
Toby Inkster wrote: > 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. makes sense, and something I seem to keep forgetting recently, it's less about the graph and more about the data / properties you're considering for x application. Cheers for the timely reminder Toby! :) Nathan
Received on Friday, 12 November 2010 22:22:23 UTC