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

   There isn't anything special about update: the prologue accumulates. For 
BASE that is "replace" although the new base URI is resolved against the 
previous one, starting from the file or URL the query is read from.
   
   ```
   BASE <http://base/>
   PREFIX ex: <z1/z2/>
   BASE <y/>
   PREFIX : <a>
   
   SELECT (:123 AS ?X) (ex:456 AS ?Y)
   WHERE {}
   ```
   gives `http://base/y/a123` ,`http://base/z1/z2/456`.
   ```
   
   Repeated prologues in update are just updating the active prefixes and base 
as the parser goes along.
   


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