Click or drag to resize

FederatedSparqlRemoteEndpoint Class

A Class for connecting to multiple remote SPARQL Endpoints and federating queries over them with the data merging done locally.
Inheritance Hierarchy

Namespace:  VDS.RDF.Query
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public class FederatedSparqlRemoteEndpoint : SparqlRemoteEndpoint

The FederatedSparqlRemoteEndpoint type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyCredentials
Gets/Sets the HTTP authentication credentials to be used.
(Inherited from BaseEndpoint.)
Public propertyDefaultGraphs
Gets the Default Graph URIs for Queries made to the SPARQL Endpoint.
(Inherited from SparqlRemoteEndpoint.)
Public propertyHttpMode
Gets/Sets the HTTP Mode used for requests.
(Inherited from BaseEndpoint.)
Public propertyIgnoreFailedRequests
Gets/Sets whether a failed request on one endpoint should cause the entire request to fail.
Public propertyMaxSimultaneousRequests
Gets/Sets the maximum number of endpoints this endpoint will issue queries to at any one time.
Public propertyNamedGraphs
Gets the List of Named Graphs used in requests.
(Inherited from SparqlRemoteEndpoint.)
Public propertyProxy
Gets/Sets a Proxy Server to be used.
(Inherited from BaseEndpoint.)
Public propertyProxyCredentials
Gets/Sets Credentials to be used for Proxy Server.
(Inherited from BaseEndpoint.)
Public propertyRdfAcceptHeader
Gets/Sets the Accept Header sent with CONSTRUCT/DESCRIBE queries.
(Inherited from SparqlRemoteEndpoint.)
Public propertyResultsAcceptHeader
Gets/Sets the Accept Header sent with ASK/SELECT queries.
(Inherited from SparqlRemoteEndpoint.)
Public propertyTimeout
Gets/Sets the HTTP Timeouts used specified in milliseconds.
(Inherited from BaseEndpoint.)
Public propertyUri
Gets the Endpoints URI.
(Inherited from BaseEndpoint.)
Public propertyUseCredentialsForProxy
Controls whether the Credentials set with the SetCredentials() method or the Credentialsare also used for a Proxy (if used).
(Inherited from BaseEndpoint.)
Public propertyUserAgent
Gets/Sets the user agent string to pass in the request header.
(Inherited from BaseEndpoint.)
Top
Methods
  NameDescription
Public methodAddEndpoint(Uri)
Adds an additional endpoint to be used by this endpoint.
Public methodAddEndpoint(SparqlRemoteEndpoint)
Adds a additional endpoint to be used by this endpoint.
Protected methodApplyCustomRequestOptions
Method which may be overridden in derived classes to add any additional custom request options/headers to the request.
(Inherited from BaseEndpoint.)
Protected methodApplyRequestOptions
Applies generic request options (timeout, authorization and proxy server) to a request.
(Inherited from BaseEndpoint.)
Public methodClearCredentials
Clears any in-use credentials so subsequent requests will not use HTTP authentication.
(Inherited from BaseEndpoint.)
Public methodClearProxy
Clears any in-use credentials so subsequent requests will not use a proxy server.
(Inherited from BaseEndpoint.)
Public methodClearProxyCredentials
Clears the in-use proxy credentials so subsequent requests still use the proxy server but without credentials.
(Inherited from BaseEndpoint.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodQueryRaw(String)
Makes a Query to a Sparql Endpoint and returns the raw Response.
(Overrides SparqlRemoteEndpointQueryRaw(String).)
Public methodQueryRaw(String, String)
Makes a Query to a Sparql Endpoint and returns the raw Response.
(Overrides SparqlRemoteEndpointQueryRaw(String, String).)
Public methodQueryWithResultGraph(String)
Makes a Query where the expected Result is an RDF Graph ie. CONSTRUCT and DESCRIBE Queries.
(Overrides SparqlRemoteEndpointQueryWithResultGraph(String).)
Public methodQueryWithResultGraph(IRdfHandler, String)
Makes a Query where the expected result is a Graph i.e. a CONSTRUCT or DESCRIBE query.
(Overrides SparqlRemoteEndpointQueryWithResultGraph(IRdfHandler, String).)
Public methodQueryWithResultGraph(String, GraphCallback, Object)
Makes a Query asynchronously where the expected Result is an RDF Graph ie. CONSTRUCT and DESCRIBE Queries.
(Inherited from SparqlRemoteEndpoint.)
Public methodQueryWithResultGraph(IRdfHandler, String, QueryCallback, Object)
Makes a Query asynchronously where the expected Result is an RDF Graph ie. CONSTRUCT and DESCRIBE Queries.
(Inherited from SparqlRemoteEndpoint.)
Public methodQueryWithResultSet(String)
Makes a Query where the expected Result is a SparqlResultSet ie. SELECT and ASK Queries.
(Overrides SparqlRemoteEndpointQueryWithResultSet(String).)
Public methodQueryWithResultSet(ISparqlResultsHandler, String)
Makes a Query where the expected Result is a SparqlResultSet ie. SELECT and ASK Queries.
(Overrides SparqlRemoteEndpointQueryWithResultSet(ISparqlResultsHandler, String).)
Public methodQueryWithResultSet(String, SparqlResultsCallback, Object)
Makes a Query asynchronously where the expected Result is a SparqlResultSet i.e. SELECT and ASK Queries.
(Inherited from SparqlRemoteEndpoint.)
Public methodQueryWithResultSet(ISparqlResultsHandler, String, QueryCallback, Object)
Makes a Query asynchronously where the expected Result is a SparqlResultSet i.e. SELECT and ASK Queries.
(Inherited from SparqlRemoteEndpoint.)
Public methodRemoveEndpoint(Uri)
Removes all endpoints with the given URI from this endpoint.
Public methodRemoveEndpoint(SparqlRemoteEndpoint)
Removes a given endpoint from this endpoint.
Public methodSerializeConfiguration
Serializes the Endpoint's Configuration.
(Overrides SparqlRemoteEndpointSerializeConfiguration(ConfigurationSerializationContext).)
Public methodSetCredentials(String, String)
Sets the HTTP Digest authentication credentials to be used.
(Inherited from BaseEndpoint.)
Public methodSetCredentials(String, String, String)
Sets the HTTP Digest authentication credentials to be used.
(Inherited from BaseEndpoint.)
Public methodSetProxy(String)
Sets a Proxy Server to be used.
(Inherited from BaseEndpoint.)
Public methodSetProxy(Uri)
Sets a Proxy Server to be used.
(Inherited from BaseEndpoint.)
Public methodSetProxyCredentials(String, String)
Sets Credentials to be used for Proxy Server.
(Inherited from BaseEndpoint.)
Public methodSetProxyCredentials(String, String, String)
Sets Credentials to be used for Proxy Server.
(Inherited from BaseEndpoint.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks

Queries are federated by executing multiple requesting simultaneously and asynchronously against the endpoints in question with the data then merged locally. The merging process does not attempt to remove duplicate data it just naively merges the data.

See Also