Aklakan commented on issue #3148: URL: https://github.com/apache/jena/issues/3148#issuecomment-3338685058
The user agent for `SERVICE` is currently hard coded - it could turned into yet another context property that could be configurable on request / endpoint / dataset / global ARQ level. https://github.com/apache/jena/blob/c8a32ea1ed06fabd4fdc6ebf7d5ed65fafb1e7ab/jena-arq/src/main/java/org/apache/jena/sparql/exec/http/Service.java#L230-L233 A more invasive approach would be a SPARQL syntax extension for service options - something like those examples: * Query Level from https://github.com/w3c/sparql-dev/issues/10#issuecomment-892768925 ```sparql SELECT ?id FROM NAMED <http://www.openlinksw.com/dataspace/[email protected]/weblog/[email protected]%27s%20BLOG%20%5B127%5D/sioc.ttl> OPTION (get:soft "soft", get:method "GET") WHERE { GRAPH ?g { ?id a ?o } } LIMIT 10 ``` * Service level: ```sparql SELECT * { SERVICE[userAgent: "my-bot"] <https://query.wikidata.org/sparq> { ?s ?p ?o } ``` -- 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]
