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/09/10 08:19:59 UTC

[GitHub] [jena] afs commented on issue #1526: rsparql and custom collection functions

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

   Is the error before the request is sent?
   
   That would be because `rsparql` doesn't know that it is an aggregate function. Aggregators have to be declared to be parsed correctly otherwise they look like plain function calls.
   
   You could add custom Jena initialization code to the classpath to declare the aggregates.
   
   Or when the far end is ARQ, you can use the AGG syntax to indicate an aggregate.
   
   ```
   select ?s1 (AGG set:collect(?loc2) as ?loc2s) {
   ```
   
   except `rsparql` accepts strict SPARQL 1.1 so it needs a tweak for that.
   


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