FederatedSparqlRemoteEndpointQueryWithResultGraph Method (String) |
Namespace: VDS.RDF.Query
Exception | Condition |
---|---|
RdfQueryException | Thrown if any of the requests to the endpoints fail. |
RdfQueryTimeoutException | Thrown if not all the requests complete within the set timeout. |
The query is executed by sending it federating it to all the endpoints this endpoint contains using simultaneous asychronous calls. Once these calls complete the results are naivley merged together (no duplicate data removal) and returned as a single result.
By default if any of the endpoints used return an error then the entire query will fail and an exception will be thrown, this behaviour can be overridden by setting the IgnoreFailedRequests property to be true in which case the result will be the merge of the results from all endpoints which successfully provided a result.