RDFLib/rdflib — Issue #116: Sparql construct query fails if "construct" in lower case
Author: gjhiggins
Created: 2012-02-20 08:33:06+00:00
State: closed

apeck1...@gmail.com, 2010-02-25T00:45:28.000Z

What steps will reproduce the problem?
1. Try a sparql query using "construct" instead of "CONSTRUCT"
2.
3.

What is the expected output? What do you see instead?
Example error...
SyntaxError: lexical error at line 1, column 58: no action found for
'construct { ?s swb:label ?o } where { ?s swb:label ?o . }'

What version of the product are you using? On what operating system?
2.4.1. From inspecting source it looks like annoyance exists in 2.4.2 as well.
Suse linux 10.1

Please provide any additional information below.

The probable cause is line 51 of lexical analyzer:

./src/bison/SPARQLLiteralLexerPatterns.bgen.frag

CONSTRUCT

should be

Probably need to also fix DESCRIBE and ASK

Comment 1 by gromgull
Sparql support has been moved to the rdfextras project

I moved this to http://code.google.com/p/rdfextras/issues/detail?id=19