Show / Hide Table of Contents

Interface ISparqlAlgebra

Interface for classes that represent the SPARQL Algebra and are used to evaluate queries.

Inherited Members
IVisitable.Accept<T>(ISparqlAlgebraVisitor<T>)
IProcessable.Accept<TResult, TContext>(ISparqlQueryAlgebraProcessor<TResult, TContext>, TContext)
Namespace: VDS.RDF.Query.Algebra
Assembly: dotNetRdf.dll
Syntax
public interface ISparqlAlgebra : IVisitable, IProcessable

Properties

| Edit this page View Source

FixedVariables

Gets the enumeration of fixed variables in the algebra i.e. variables that are guaranteed to have a bound value.

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

FloatingVariables

Gets the enumeration of floating variables in the algebra i.e. variables that are not guaranteed to have a bound value.

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

Variables

Gets the enumeration of Variables used in the Algebra.

Declaration
IEnumerable<string> Variables { get; }
Property Value
Type Description
IEnumerable<string>

Methods

| Edit this page View Source

ToGraphPattern()

Converts the Algebra back to a Graph Pattern.

Declaration
GraphPattern ToGraphPattern()
Returns
Type Description
GraphPattern
Exceptions
Type Condition
NotSupportedException

Thrown if the given Algebra cannot be converted to a Graph Pattern.

| Edit this page View Source

ToQuery()

Converts the Algebra back to a SPARQL Query.

Declaration
SparqlQuery ToQuery()
Returns
Type Description
SparqlQuery
Exceptions
Type Condition
NotSupportedException

Thrown if the given Algebra cannot be converted to a SPARQL Query.

Extension Methods

Extensions.ToSafeString(object)
Extensions.AsEnumerable<T>(T)
  • Edit this page
  • View Source
In this article
  • Properties
    • FixedVariables
    • FloatingVariables
    • Variables
  • Methods
    • ToGraphPattern()
    • ToQuery()
  • Extension Methods
Back to top Generated by DocFX