I am in the process of implementing a SPARQL 1.1-compliant endpoint for web.rya 
so that Rya can be used as a federated repository with RDF4J workbench.

One of requirements is to be able to pass default-graph-uri and named-graph-uri 
filters external to the query to override the graph filter in the query itself 
(see https://www.w3.org/TR/sparql11-protocol/#query-operation).

In the sail API this is accomplished by setting the dataset on the query object 
(see 
http://docs.rdf4j.org/javadoc/2.2/org/eclipse/rdf4j/query/Operation.html#setDataset-org.eclipse.rdf4j.query.Dataset-),
 but that setting does not seem to be honored by the Rya SAIL implementation. 
Any ideas on where I can start digging to correct this?

(I have also tried wrapping the Rya repository connection in a 
ContextAwareConnection and setting readContexts, but the effect is the same).

Boris Pelakh
Ontologist, Developer, Software Architect
[email protected]<mailto:[email protected]>
+1-321-243-3804
[SemanticArtsLogo]

Reply via email to