Query the store using a SPARQL query
            
Namespace: BrightstarDB.ClientAssembly: BrightstarDB (in BrightstarDB.dll) Version: 1.9.0.0 (1.9.0.0)
Syntax
| C# | 
|---|
Stream ExecuteQuery(
	string storeName,
	string queryExpression,
	string defaultGraphUri,
	Nullable<DateTime> ifNotModifiedSince = null,
	SparqlResultsFormat resultsFormat = null,
	RdfFormat graphFormat = null
)  | 
| Visual Basic | 
|---|
Function ExecuteQuery ( 
	storeName As String,
	queryExpression As String,
	defaultGraphUri As String,
	Optional ifNotModifiedSince As Nullable(Of DateTime) = Nothing,
	Optional resultsFormat As SparqlResultsFormat = Nothing,
	Optional graphFormat As RdfFormat = Nothing
) As Stream  | 
| Visual C++ | 
|---|
Stream^ ExecuteQuery(
	String^ storeName, 
	String^ queryExpression, 
	String^ defaultGraphUri, 
	Nullable<DateTime> ifNotModifiedSince = nullptr, 
	SparqlResultsFormat^ resultsFormat = nullptr, 
	RdfFormat^ graphFormat = nullptr
)  | 
| F# | 
|---|
abstract ExecuteQuery : 
        storeName : string * 
        queryExpression : string * 
        defaultGraphUri : string * 
        ?ifNotModifiedSince : Nullable<DateTime> * 
        ?resultsFormat : SparqlResultsFormat * 
        ?graphFormat : RdfFormat 
(* Defaults:
        let _ifNotModifiedSince = defaultArg ifNotModifiedSince null
        let _resultsFormat = defaultArg resultsFormat null
        let _graphFormat = defaultArg graphFormat null
*)
-> Stream 
 | 
Parameters
- storeName
 - Type: System..::..String
The name of the store to query 
- queryExpression
 - Type: System..::..String
SPARQL query string 
- defaultGraphUri
 - Type: System..::..String
The URI of the graph that will be the default graph for the query 
- ifNotModifiedSince (Optional)
 - Type: System..::..Nullable<(Of <(<'DateTime>)>)>
OPTIONAL : If this parameter is provided and the store has not been changed since the time specified,
            a BrightstarClientException will be raised with the message "Store not modified". 
- resultsFormat (Optional)
 - Type: BrightstarDB..::..SparqlResultsFormat
OPTIONAL: Specifies the serialization format for the SPARQL results. Defaults to Xml 
- graphFormat (Optional)
 - Type: BrightstarDB..::..RdfFormat
OPTIONAL: Specifies the serialization format for RDF graph results. Defaults to RdfXml 
Return Value
Type: 
StreamA stream containing XML SPARQL result XML
See Also