Interface ISparqlCustomExpressionFactory
Interface for implementing SPARQL custom expression factories which turn URI specified functions into SPARQL Expressions.
Namespace: VDS.RDF.Query.Expressions
Assembly: dotNetRdf.dll
Syntax
public interface ISparqlCustomExpressionFactory
Properties
| Edit this page View SourceAvailableExtensionAggregates
Gets the Extension Aggregate URIs that this Factory provides.
Declaration
IEnumerable<Uri> AvailableExtensionAggregates { get; }
Property Value
Type | Description |
---|---|
IEnumerable<Uri> |
AvailableExtensionFunctions
Gets the Extension Function URIs that this Factory provides.
Declaration
IEnumerable<Uri> AvailableExtensionFunctions { get; }
Property Value
Type | Description |
---|---|
IEnumerable<Uri> |
Methods
| Edit this page View SourceTryCreateExpression(Uri, List<ISparqlExpression>, Dictionary<string, ISparqlExpression>, out ISparqlExpression)
Tries to Create a SPARQL Expression for a function with the given URI and set of arguments.
Declaration
bool TryCreateExpression(Uri u, List<ISparqlExpression> args, Dictionary<string, ISparqlExpression> scalarArguments, out ISparqlExpression expr)
Parameters
Type | Name | Description |
---|---|---|
Uri | u | URI of the function. |
List<ISparqlExpression> | args | List of Arguments. |
Dictionary<string, ISparqlExpression> | scalarArguments | Dictionary of Scalar Arguments which are supportable by aggregates when Syntax is set to SPARQL 1.1 Extended. |
ISparqlExpression | expr | Resulting Expression if able to generate. |
Returns
Type | Description |
---|---|
bool | True if an expression is generated, false if not. |