Interface IReasoningQueryableStorage
Interface for storage providers which allow SPARQL Queries to be made against them with reasoning set by query.
Inherited Members
Namespace: VDS.RDF.Storage
Assembly: dotNetRdf.dll
Syntax
public interface IReasoningQueryableStorage : IStorageProvider, IStorageCapabilities, IDisposable
Methods
| Edit this page View SourceQuery(string, bool)
Makes a SPARQL Query against the underlying store.
Declaration
object Query(string sparqlQuery, bool reasoning)
Parameters
Type | Name | Description |
---|---|---|
string | sparqlQuery | SPARQL Query. |
bool | reasoning | rReasoning On demand by query. |
Returns
Type | Description |
---|---|
object | Sparql |
Exceptions
Type | Condition |
---|---|
Rdf |
Thrown if an error occurs performing the query. |
Rdf |
Thrown if an error occurs performing the query. |
Rdf |
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. |
Rdf |
Thrown if the store returns results in a format dotNetRDF does not understand. |
Query(IRdfHandler, ISparqlResultsHandler, string, bool)
Makes a SPARQL Query against the underlying store processing the resulting Graph/Result Set with a handler of your choice.
Declaration
void Query(IRdfHandler rdfHandler, ISparqlResultsHandler resultsHandler, string sparqlQuery, bool reasoning)
Parameters
Type | Name | Description |
---|---|---|
IRdf |
rdfHandler | RDF Handler. |
ISparql |
resultsHandler | SPARQL Results Handler. |
string | sparqlQuery | SPARQL Query. |
bool | reasoning | rReasoning On demand by query. |
Exceptions
Type | Condition |
---|---|
Rdf |
Thrown if an error occurs performing the query. |
Rdf |
Thrown if an error occurs performing the query. |
Rdf |
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. |
Rdf |
Thrown if the store returns results in a format dotNetRDF does not understand. |