IReasoningQueryableStorageQuery Method (IRdfHandler, ISparqlResultsHandler, String, Boolean) |
Makes a SPARQL Query against the underlying store processing the resulting Graph/Result Set with a handler of your choice.
Namespace:
VDS.RDF.Storage
Assembly:
dotNetRDF (in dotNetRDF.dll) Version:
Syntax void Query(
IRdfHandler rdfHandler,
ISparqlResultsHandler resultsHandler,
string sparqlQuery,
bool reasoning
)
Sub Query (
rdfHandler As IRdfHandler,
resultsHandler As ISparqlResultsHandler,
sparqlQuery As String,
reasoning As Boolean
)
Parameters
- rdfHandler
- Type: VDS.RDFIRdfHandler
RDF Handler. - resultsHandler
- Type: VDS.RDFISparqlResultsHandler
SPARQL Results Handler. - sparqlQuery
- Type: SystemString
SPARQL Query. - reasoning
- Type: SystemBoolean
rReasoning On demand by query.
Exceptions Exception | Condition |
---|
RdfQueryException | Thrown if an error occurs performing the query. |
RdfStorageException | Thrown if an error occurs performing the query. |
RdfParseException | Thrown if the query is invalid when validated by dotNetRDF prior to passing the query request to the store or if the request succeeds but the store returns malformed results. |
RdfParserSelectionException | Thrown if the store returns results in a format dotNetRDF does not understand. |
See Also