Interface INativelyQueryableStore
Interface for Triple Stores which can be queried natively i.e. the Stores provide their own SPARQL implementations.
Inherited Members
System.IDisposable.Dispose()
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
| Improve this Doc View SourceExecuteQuery(String)
Executes a SPARQL Query on the Triple Store.
Declaration
object ExecuteQuery(string query)
Parameters
Type | Name | Description |
---|---|---|
System.String | query | Sparql Query as unparsed String. |
Returns
Type | Description |
---|---|
System.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.
|
Improve this Doc
View Source
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. |
System.String | query | SPARQL Query as unparsed String. |