Click or drag to resize

ISparqlCustomExpressionFactoryTryCreateExpression 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: SystemUri
URI of the function.
args
Type: System.Collections.GenericListISparqlExpression
List of Arguments.
scalarArguments
Type: System.Collections.GenericDictionaryString, ISparqlExpression
Dictionary of Scalar Arguments which are supportable by aggregates when Syntax is set to SPARQL 1.1 Extended.
expr
Type: VDS.RDF.Query.ExpressionsISparqlExpression
Resulting Expression if able to generate.

Return Value

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