Bug #213

Error on ORDER BY variables projected away by SELECT clause

Added by Alex Hall - over 7 years ago.

Status:New Start date:02/07/2012
Priority:Normal Due date:
Assignee:- % Done:


Category:Query Engine
Target version:-


A SPARQL query that mentions a variable in an ORDER BY expression that appears in the WHERE clause but is projected away by the SELECT clause incorrectly causes an exception to be thrown. According to SPARQL, ordering is applied prior to projection, so this should be valid. This appears to be a case where TQL and SPARQL semantics are mis-aligned.

Also available in: Atom PDF