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

   @nkaralis -- thank for the report. The unbound `?g` is a bug.
   
   @rvesse's analysis is correct (a simpler reproduction below). TDB is the 
main user of quad-based execution but its available for in-memory as well:
   
   ```
   ## ==> Q.rq <==
   SELECT * {
       GRAPH ?g { 
               SELECT ?s  { ?s ?p ?o }
       }
   }
   ```
   ```
   ## ==> D.trig <==
   PREFIX : <http://example/>
   
   GRAPH :g1 { :s :p :o }
   ```
   and
   ```
     sparql --optimize=false --engine=quad --data D.trig --query Q.rq
   ```
   giving
   ```
   --------------------------
   | s                  | g |
   ==========================
   | <http://example/s> |   |
   --------------------------
   ```
   


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