Query a specific commit point of a store
            
Namespace: BrightstarDB.ClientAssembly: BrightstarDB (in BrightstarDB.dll) Version: 1.9.0.0 (1.9.0.0)
Syntax
| C# | 
|---|
Stream ExecuteQuery(
	ICommitPointInfo commitPoint,
	string queryExpression,
	string defaultGraphUri,
	SparqlResultsFormat resultsFormat = null,
	RdfFormat graphFormat = null
)  | 
| Visual Basic | 
|---|
Function ExecuteQuery ( 
	commitPoint As ICommitPointInfo,
	queryExpression As String,
	defaultGraphUri As String,
	Optional resultsFormat As SparqlResultsFormat = Nothing,
	Optional graphFormat As RdfFormat = Nothing
) As Stream  | 
| Visual C++ | 
|---|
Stream^ ExecuteQuery(
	ICommitPointInfo^ commitPoint, 
	String^ queryExpression, 
	String^ defaultGraphUri, 
	SparqlResultsFormat^ resultsFormat = nullptr, 
	RdfFormat^ graphFormat = nullptr
)  | 
| F# | 
|---|
abstract ExecuteQuery : 
        commitPoint : ICommitPointInfo * 
        queryExpression : string * 
        defaultGraphUri : string * 
        ?resultsFormat : SparqlResultsFormat * 
        ?graphFormat : RdfFormat 
(* Defaults:
        let _resultsFormat = defaultArg resultsFormat null
        let _graphFormat = defaultArg graphFormat null
*)
-> Stream 
 | 
Parameters
- commitPoint
 - Type: BrightstarDB.Client..::..ICommitPointInfo
The commit point be queried 
- queryExpression
 - Type: System..::..String
The SPARQL query string 
- defaultGraphUri
 - Type: System..::..String
The URI of the default graph for the query 
- 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 results
See Also