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# | 
|---|
public Stream ExecuteQuery(
	ICommitPointInfo commitPoint,
	string queryExpression,
	IEnumerable<string> defaultGraphUris,
	SparqlResultsFormat resultsFormat = null,
	RdfFormat graphFormat = null
)  | 
| Visual Basic | 
|---|
Public Function ExecuteQuery ( 
	commitPoint As ICommitPointInfo,
	queryExpression As String,
	defaultGraphUris As IEnumerable(Of String),
	Optional resultsFormat As SparqlResultsFormat = Nothing,
	Optional graphFormat As RdfFormat = Nothing
) As Stream  | 
| Visual C++ | 
|---|
public:
virtual Stream^ ExecuteQuery(
	ICommitPointInfo^ commitPoint, 
	String^ queryExpression, 
	IEnumerable<String^>^ defaultGraphUris, 
	SparqlResultsFormat^ resultsFormat = nullptr, 
	RdfFormat^ graphFormat = nullptr
) sealed  | 
| F# | 
|---|
abstract ExecuteQuery : 
        commitPoint : ICommitPointInfo * 
        queryExpression : string * 
        defaultGraphUris : IEnumerable<string> * 
        ?resultsFormat : SparqlResultsFormat * 
        ?graphFormat : RdfFormat 
(* Defaults:
        let _resultsFormat = defaultArg resultsFormat null
        let _graphFormat = defaultArg graphFormat null
*)
-> Stream 
override ExecuteQuery : 
        commitPoint : ICommitPointInfo * 
        queryExpression : string * 
        defaultGraphUris : IEnumerable<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 
- defaultGraphUris
 - Type: System.Collections.Generic..::..IEnumerable<(Of <(<'String>)>)>
OPTIONAL: An enumeration over the URIs of the graphs that will be taken together as the default graph for the query. May be NULL to use the built-in default graph 
- 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
Implements
IBrightstarService..::..ExecuteQuery(ICommitPointInfo, String, IEnumerable<(Of <<'(String>)>>), SparqlResultsFormat, RdfFormat)
See Also