RDFLib/rdflib — Issue #169: Datatype for literals constructed from a python float should perhaps be xsd:double
Author: gjhiggins
Created: 2012-02-20 08:34:17+00:00
State: open

gromgull, 2011-08-21T09:08:35.000Z

This would be more in line with SPARQL/N3 ...

Comment 1 by gromgull
I.e. it would avoid the need for explicit datatype references here:

http://code.google.com/p/rdfextras/source/browse/test/test_sparql/test_parser.py?spec=svn5121681f2442ccc9b4b665a6256ef7b3d05673d2&r=5121681f2442ccc9b4b665a6256ef7b3d05673d2#50

And here:

http://code.google.com/p/rdfextras/source/browse/rdfextras/sparql/parser.py?spec=svn6daa48c5133c30e2825006bd1c373fcb502ea2fc&r=6daa48c5133c30e2825006bd1c373fcb502ea2fc#358

Comment 2 by gromgull
Fixed in r7a4d65400beb