afs commented on issue #1369:
URL: https://github.com/apache/jena/issues/1369#issuecomment-1147255487

   Why not add a detection criterion so that BIND is reversed to a project 
expression only if the project is safe? This would work down the `(extend)` 
stack with a "while safe" test. Replace that stream with a for-loop, push back 
remaining `level.opExtends` into the pattern.
   
   These short examples hide the fact that in real queries, the BIND are at the 
end of a long pattern. Only BIND at the end are considered. Adding an extra 
sub-query - even if the same query - is unexpected by users.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to