Show / Hide Table of Contents

Interface ISparqlAlgebra

Interface for classes that represent the SPARQL Algebra and are used to evaluate queries.
Namespace: VDS.RDF.Query.Algebra
Assembly: dotNetRDF.dll
Syntax
public interface ISparqlAlgebra

Properties

| Improve this Doc 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
System.Collections.Generic.IEnumerable<System.String>
| Improve this Doc 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
System.Collections.Generic.IEnumerable<System.String>
| Improve this Doc View Source

Variables

Gets the enumeration of Variables used in the Algebra.
Declaration
IEnumerable<string> Variables { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<System.String>

Methods

| Improve this Doc View Source

Evaluate(SparqlEvaluationContext)

Evaluates the Algebra in the given Context.
Declaration
BaseMultiset Evaluate(SparqlEvaluationContext context)
Parameters
Type Name Description
SparqlEvaluationContext context Evaluation Context.
Returns
Type Description
BaseMultiset
| Improve this Doc View Source

ToGraphPattern()

Converts the Algebra back to a Graph Pattern.
Declaration
GraphPattern ToGraphPattern()
Returns
Type Description
GraphPattern
Exceptions
Type Condition
System.NotSupportedException Thrown if the given Algebra cannot be converted to a Graph Pattern.
| Improve this Doc View Source

ToQuery()

Converts the Algebra back to a SPARQL Query.
Declaration
SparqlQuery ToQuery()
Returns
Type Description
SparqlQuery
Exceptions
Type Condition
System.NotSupportedException Thrown if the given Algebra cannot be converted to a SPARQL Query.

Extension Methods

Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Properties
    • FixedVariables
    • FloatingVariables
    • Variables
  • Methods
    • Evaluate(SparqlEvaluationContext)
    • ToGraphPattern()
    • ToQuery()
  • Extension Methods
Back to top Generated by DocFX