Hi,
I would like to run a federated query where reasoning happens only on the local db.
I start with sth like that:
SELECT * WHERE {
?s :someRelation ?o .
SERVICE <someExternalSprqlEndpoint> {
?o :someOtherRelation ?p . }
}
it works nicely but only to the point where the triple <?s :someRelation ?o> is part of my local graph and no reasoning is enabled. However, in cases where <?s :someRelation ?o> is a conclusion of some rule deployed locally and when reasoning is enabled for the query Stardog starts to reason over someExternalSprqlEndpoint and fails in case the query on the service is a bit more complicated.
In fact what i would like to achive is that stardog reasons only locally and uses the results found for ?o to query the external sparql end point.
It tried to run the query with no reasoning (but enabling it directly by a service call), but then stardog returns no results.
SELECT * WHERE {
SERVICE <http://admin:admin@localhost:5820/mdDB/query/reasoning>
{?s :someRelation ?o .}
SERVICE <someExternalSprqlEndpoint> {
?o :someOtherRelation ?p . }
}
Any hints?