Click or drag to resize

ISparqlQueryProcessorProcessQuery Method (SparqlQuery, GraphCallback, SparqlResultsCallback, Object)

Processes a SPARQL Query asynchronously invoking the relevant callback when the query completes.

Namespace:  VDS.RDF.Query
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
void ProcessQuery(
	SparqlQuery query,
	GraphCallback rdfCallback,
	SparqlResultsCallback resultsCallback,
	Object state
)

Parameters

query
Type: VDS.RDF.QuerySparqlQuery
SPARQL QUery.
rdfCallback
Type: VDS.RDFGraphCallback
Callback for queries that return a Graph.
resultsCallback
Type: VDS.RDFSparqlResultsCallback
Callback for queries that return a Result Set.
state
Type: SystemObject
State to pass to the callback.
See Also