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

| Improve this Doc View Source

AvailableExtensionAggregates

Gets the Extension Aggregate URIs that this Factory provides.

Declaration
IEnumerable<Uri> AvailableExtensionAggregates { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<T><System.Uri>
| Improve this Doc View Source

AvailableExtensionFunctions

Gets the Extension Function URIs that this Factory provides.

Declaration
IEnumerable<Uri> AvailableExtensionFunctions { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<T><System.Uri>

Methods

| Improve this Doc 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
System.Uri u

URI of the function.

System.Collections.Generic.List<T><ISparqlExpression> args

List of Arguments.

System.Collections.Generic.Dictionary<TKey, TValue><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
System.Boolean

True if an expression is generated, false if not.

Extension Methods

Extensions.ToSafeString(object)
Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • 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