Click or drag to resize

IQueryableStorageQuery Method (String)

Makes a SPARQL Query against the underlying store.

Namespace:  VDS.RDF.Storage
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
Object Query(
	string sparqlQuery
)

Parameters

sparqlQuery
Type: SystemString
SPARQL Query.

Return Value

Type: Object
SparqlResultSet or a Graph depending on the Sparql Query.
Exceptions
ExceptionCondition
RdfQueryExceptionThrown if an error occurs performing the query.
RdfStorageExceptionThrown if an error occurs performing the query.
RdfParseExceptionThrown 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.
RdfParserSelectionExceptionThrown if the store returns results in a format dotNetRDF does not understand.
See Also