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(
	string storeName,
	string queryExpression,
	IEnumerable<string> defaultGraphUris,
	Nullable<DateTime> ifNotModifiedSince,
	SparqlResultsFormat resultsFormat,
	RdfFormat graphFormat,
	out ISerializationFormat streamFormat
)
Visual Basic
Public Function ExecuteQuery ( 
	storeName As String,
	queryExpression As String,
	defaultGraphUris As IEnumerable(Of String),
	ifNotModifiedSince As Nullable(Of DateTime),
	resultsFormat As SparqlResultsFormat,
	graphFormat As RdfFormat,
	<OutAttribute> ByRef streamFormat As ISerializationFormat
) As Stream
Visual C++
public:
virtual Stream^ ExecuteQuery(
	String^ storeName, 
	String^ queryExpression, 
	IEnumerable<String^>^ defaultGraphUris, 
	Nullable<DateTime> ifNotModifiedSince, 
	SparqlResultsFormat^ resultsFormat, 
	RdfFormat^ graphFormat, 
	[OutAttribute] ISerializationFormat^% streamFormat
) sealed
F#
abstract ExecuteQuery : 
        storeName : string * 
        queryExpression : string * 
        defaultGraphUris : IEnumerable<string> * 
        ifNotModifiedSince : Nullable<DateTime> * 
        resultsFormat : SparqlResultsFormat * 
        graphFormat : RdfFormat * 
        streamFormat : ISerializationFormat byref -> Stream 
override ExecuteQuery : 
        storeName : string * 
        queryExpression : string * 
        defaultGraphUris : IEnumerable<string> * 
        ifNotModifiedSince : Nullable<DateTime> * 
        resultsFormat : SparqlResultsFormat * 
        graphFormat : RdfFormat * 
        streamFormat : ISerializationFormat byref -> Stream 

Parameters

storeName
Type: System..::..String
The name of the store to query
queryExpression
Type: System..::..String
The SPARQL query string
defaultGraphUris
Type: System.Collections.Generic..::..IEnumerable<(Of <(<'String>)>)>
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
ifNotModifiedSince
Type: System..::..Nullable<(Of <(<'DateTime>)>)>
OPTIONAL : If this parameter has a value and the store has not been changed since the time specified, a BrightstarStoreNotModifiedException will be raised with the message "Store not modified".
resultsFormat
Type: BrightstarDB..::..SparqlResultsFormat
Specifies the serialization format for the SPARQL result set returned by the query. May be NULL to indicate that an RDF graph is the expected result.
graphFormat
Type: BrightstarDB..::..RdfFormat
Specifies the serialization format for the RDF graph returned by the query. May be NULL to indicate that a SPARQL results set is the expected result.
streamFormat
Type: BrightstarDB..::..ISerializationFormat%
Specifies the serialization format used in the returned Stream.

Return Value

Type: Stream
A stream containing the results of executing the query

Implements

IBrightstarService..::..ExecuteQuery(String, String, IEnumerable<(Of <<'(String>)>>), Nullable<(Of <<'(DateTime>)>>), SparqlResultsFormat, RdfFormat, ISerializationFormat%)

See Also