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

   As @Aklakan says - aggregation puts `?type` out of scope. In Q1 there was no 
intermediate step that changes scoping.
   
   In Q2, the `VALUES` is performed after aggregation so `?type` from the query 
pattern as gone away, and before projection
   (and you can't add the variable to the projection because that's determined 
by the grouping).
   


-- 
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