gjhiggins/rdflib — Issue #123: Sparql construct query fails if "construct" in lower case
Author: gjhiggins
Created: 2011-10-19 01:27:26+00:00
State: closed

Originally filed by apeck1...@gmail.com on 2010-02-25T00:45:28

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