Interface IQueryableStorage
Interface for storage providers which allow SPARQL Queries to be made against them.
Inherited Members
System.IDisposable.Dispose()
Assembly: dotNetRDF.dll
Syntax
public interface IQueryableStorage : IStorageProvider, IStorageCapabilities, IDisposable
Methods
|
Improve this Doc
View Source
Query(String)
Makes a SPARQL Query against the underlying store.
Declaration
object Query(string sparqlQuery)
Parameters
Type |
Name |
Description |
System.String |
sparqlQuery |
SPARQL Query. |
Returns
Exceptions
Type |
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. |
|
Improve this Doc
View Source
Query(IRdfHandler, ISparqlResultsHandler, String)
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)
Parameters
Exceptions
Type |
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. |
Extension Methods