Hey,
happy 2017 :)
I am wondering if there is a way to "intercept" the HTTP request that
is being generated by the SERVICE clause?
As you might know, some triplestores (RDF4J, Dydra) provide an
extension of the SPARQL protocol that allows sending query bindings
separately from the query string.
On 01/01/17 12:53, Martynas Jusevičius wrote:
Hey,
happy 2017 :)
I am wondering if there is a way to "intercept"
Any thing can be intercepted with a custom OpExecutor.
the HTTP request that
is being generated by the SERVICE clause?
See Service.configureQuery for the use of serviceContex
Just a bit more on how SERVICE-specific HTTP action is managed:
https://jena.apache.org/documentation/query/service.html#configuration-from-jena-version-311
The code is here:
https://github.com/apache/jena/blob/master/jena-arq/src/main/java/org/apache/jena/sparql/engine/http/QueryEngineHTTP.java