[redland-dev] RDQL Qname Bug?
Dave Beckett
dave.beckett at bristol.ac.uk
Thu Dec 23 03:56:28 PST 2004
On Tue, 21 Dec 2004 20:35:41 -0500, Christopher Schmidt <crschmidt at crschmidt.net> wrote:
> When attempting to run an RDQL query on a Qname with no localname:
>
> http://librdf.org/query?uri=http%3A%2F%2Fxmlns.com%2Ffoaf%2F0.1%2F&query=SELECT+%3Fx%0D%0AWHERE%0D%0A++%28foaf%3A+%3Ffoo+%3Fx%29%0D%0Ausing+foaf+for+%3Chttp%3A%2F%2Fxmlns.com%2Ffoaf%2F0.1%2F%3E&language=rdql&Run+Query=Run+Query&.cgifields=language
>
> Redland returns a syntax error.
>
> The equivilant query works as expected in SPARQL.
>
> I'm not quite sure why this is: I think I followed the qname->uri
> generation back to raptor_qname_string_to_uri, which seems to have
> support for URI generation from non-localnamed qnames.
Yes, that's a bug. The RDQL lexer was forbidding that form. I'll
fix that in CVS. Just looking to see if I can make it UTF-8 happy
while I'm there so you can use a wider Unicode set of names.
Dave
More information about the redland-dev
mailing list