Click or drag to resize

SparqlBuiltInFunctionFactoryTryCreateExpression Method

Tries to create a SPARQL Function expression if the function Uri correseponds to a supported SPARQL Function.

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

Parameters

u
Type: SystemUri
Function Uri.
args
Type: System.Collections.GenericListISparqlExpression
Function Arguments.
scalarArguments
Type: System.Collections.GenericDictionaryString, ISparqlExpression
Scalar Arguments.
expr
Type: VDS.RDF.Query.ExpressionsISparqlExpression
Generated Expression.

Return Value

Type: Boolean
Whether an expression was successfully generated.

Implements

ISparqlCustomExpressionFactoryTryCreateExpression(Uri, ListISparqlExpression, DictionaryString, ISparqlExpression, ISparqlExpression)
See Also