Click or drag to resize

IGraphPatternBuilderOptional Method

Adds an OPTIONAL graph pattern to the SPARQL query or graph pattern.

Namespace:  VDS.RDF.Query.Builder
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
IGraphPatternBuilder Optional(
	Action<IGraphPatternBuilder> buildGraphPattern
)

Parameters

buildGraphPattern
Type: SystemActionIGraphPatternBuilder

[Missing <param name="buildGraphPattern"/> documentation for "M:VDS.RDF.Query.Builder.IGraphPatternBuilder.Optional(System.Action{VDS.RDF.Query.Builder.IGraphPatternBuilder})"]

Return Value

Type: IGraphPatternBuilder

[Missing <returns> documentation for "M:VDS.RDF.Query.Builder.IGraphPatternBuilder.Optional(System.Action{VDS.RDF.Query.Builder.IGraphPatternBuilder})"]

See Also