A group needs to be handled by translateAlgProject.
GROUP BY (expr AS ?v) translates to extends directly below the group, binding group variables.
Those extends are registered, so they become (expr AS ?v) group conditions instead of BINDs in the WHERE clause.
A group needs to be handled by translateAlgProject.
GROUP BY (expr AS ?v)translates to extends directly below the group, binding group variables. Those extends are registered, so they become(expr AS ?v)group conditions instead of BINDs in the WHERE clause.