You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jena.apache.org by GitBox <gi...@apache.org> on 2022/05/25 19:17:35 UTC

[GitHub] [jena] afs commented on issue #1272: The IRI function in UpdateRequests ignores BASE IRIs

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: issues-unsubscribe@jena.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org
For additional commands, e-mail: issues-help@jena.apache.org