Query a specific commit point of a store

Namespace: BrightstarDB.Client
Assembly: BrightstarDB (in BrightstarDB.dll) Version: 1.9.0.0 (1.9.0.0)

Syntax

C#
public Stream ExecuteQuery(
	ICommitPointInfo commitPoint,
	string queryExpression,
	SparqlResultsFormat resultsFormat = null,
	RdfFormat graphFormat = null
)
Visual Basic
Public Function ExecuteQuery ( 
	commitPoint As ICommitPointInfo,
	queryExpression As String,
	Optional resultsFormat As SparqlResultsFormat = Nothing,
	Optional graphFormat As RdfFormat = Nothing
) As Stream
Visual C++
public:
virtual Stream^ ExecuteQuery(
	ICommitPointInfo^ commitPoint, 
	String^ queryExpression, 
	SparqlResultsFormat^ resultsFormat = nullptr, 
	RdfFormat^ graphFormat = nullptr
) sealed
F#
abstract ExecuteQuery : 
        commitPoint : ICommitPointInfo * 
        queryExpression : string * 
        ?resultsFormat : SparqlResultsFormat * 
        ?graphFormat : RdfFormat 
(* Defaults:
        let _resultsFormat = defaultArg resultsFormat null
        let _graphFormat = defaultArg graphFormat null
*)
-> Stream 
override ExecuteQuery : 
        commitPoint : ICommitPointInfo * 
        queryExpression : 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
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: Stream
A stream containing XML SPARQL results

Implements

IBrightstarService..::..ExecuteQuery(ICommitPointInfo, String, SparqlResultsFormat, RdfFormat)

See Also