Click or drag to resize

ISparqlCustomExpressionFactory.TryCreateExpression Method

Tries to Create a SPARQL Expression for a function with the given URI and set of arguments.

Namespace:  VDS.RDF.Query.Expressions
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
bool TryCreateExpression(
	Uri u,
	List<ISparqlExpression> args,
	Dictionary<string, ISparqlExpression> scalarArguments,
	out ISparqlExpression expr
)

Parameters

u
Type: System.Uri
URI of the function.
args
Type: System.Collections.Generic.List<ISparqlExpression>
List of Arguments.
scalarArguments
Type: System.Collections.Generic.Dictionary<String, ISparqlExpression>
Dictionary of Scalar Arguments which are supportable by aggregates when Syntax is set to SPARQL 1.1 Extended.
expr
Type: VDS.RDF.Query.Expressions.ISparqlExpression
Resulting Expression if able to generate.

Return Value

Type: Boolean
True if an expression is generated, false if not.
See Also