Show / Hide Table of Contents

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 Source

AvailableExtensionAggregates

Gets the Extension Aggregate URIs that this Factory provides.

Declaration
IEnumerable<Uri> AvailableExtensionAggregates { get; }
Property Value
Type Description
IEnumerable<Uri>
| Edit this page View Source

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 Source

TryCreateExpression(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.

Extension Methods

Extensions.ToSafeString(object)
Extensions.AsEnumerable<T>(T)
  • Edit this page
  • View Source
In this article
  • Properties
    • AvailableExtensionAggregates
    • AvailableExtensionFunctions
  • Methods
    • TryCreateExpression(Uri, List<ISparqlExpression>, Dictionary<string, ISparqlExpression>, out ISparqlExpression)
  • Extension Methods
Back to top Generated by DocFX