afs opened a new issue, #1868:
URL: https://github.com/apache/jena/issues/1868

   ### Version
   
   4.7.0
   
   ### What happened?
   
   The following query, on an empty dataset should return no rows because `{0}` 
only applies to nodes in the graph. But optimization creates `1 
<http://example.com/p>{0} 1` which does have a result. 
   
   ```
   SELECT * WHERE {
      VALUES ?v { 1 }
      ?v <http://example.com/p>{0} ?v
   }
   ```
   `{0}` isn't in SPARQL 1.1 but this is the base for `?` operator for property 
paths which is in SPARQL.
   
   ### Relevant output and stacktrace
   
   _No response_
   
   ### Are you interested in making a pull request?
   
   None


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