Interface INativelyQueryableStore
Interface for Triple Stores which can be queried natively i.e. the Stores provide their own SPARQL implementations.
Inherited Members
Namespace: VDS.RDF
Assembly: dotNetRdf.dll
Syntax
public interface INativelyQueryableStore : ITripleStore, IDisposable
Remarks
A Natively Queryable store will typically not load its Graphs and Triples into memory as this is generally unecessary.
Methods
| Edit this page View SourceExecuteQuery(string)
Executes a SPARQL Query on the Triple Store.
Declaration
object ExecuteQuery(string query)
Parameters
Type | Name | Description |
---|---|---|
string | query | Sparql Query as unparsed String. |
Returns
Type | Description |
---|---|
object |
Remarks
This assumes that the Store has access to some native SPARQL query processor on/at the Store which will be used to return the results. Implementations should parse the returned result into a SparqlResultSet or Graph.
ExecuteQuery(IRdfHandler, ISparqlResultsHandler, string)
Executes a SPARQL Query on the Triple Store processing the results using an appropriate handler from those provided.
Declaration
void ExecuteQuery(IRdfHandler rdfHandler, ISparqlResultsHandler resultsHandler, string query)
Parameters
Type | Name | Description |
---|---|---|
IRdfHandler | rdfHandler | RDF Handler. |
ISparqlResultsHandler | resultsHandler | Results Handler. |
string | query | SPARQL Query as unparsed String. |