sparql-view-unfold
    Preparing search index...

    Interface TransformationContext

    The factories and the solver every transformation works through.

    It holds no mapping: a mapping reaches the one pass that needs it through the closure transformations/unfolding!unfoldingTransformation creates. It is built fresh per rewrite, the ClusterSolver being stateful and the pipeline asynchronous.

    interface TransformationContext {
        AF: AlgebraFactory;
        astFactory: AstFactory;
        astTransformer: AstTransformer;
        clusterSolver: ClusterSolver;
        coinExistenceVariable: () => Variable;
        DF: DataFactory;
        generator: Generator;
        parser: Parser;
    }
    Index

    Properties

    AF: AlgebraFactory

    Factory for creating algebra operations and expressions

    astFactory: AstFactory

    Factory for creating AST nodes

    astTransformer: AstTransformer

    Transformer for traversing and modifying AST/algebra structures

    clusterSolver: ClusterSolver

    Solver for variable clustering and unification during rewriting

    coinExistenceVariable: () => Variable

    Coins the variable a pattern that binds nothing projects, SPARQL having no sub-ASK and no empty projection. It is the one variable the unfolding lets out of a pattern's sub-SELECT, so every call hands back a name no other pattern of this rewrite uses.

    DF: DataFactory

    RDF data factory for creating terms

    generator: Generator

    SPARQL generator for converting algebra back to query strings

    parser: Parser

    SPARQL parser for parsing query strings