sparql-view-unfold
    Preparing search index...

    Custom SPARQL 1.2 generator with optimized literal output. Extends the standard generator to produce more compact SPARQL for boolean and string literals commonly used in rewritten queries.

    Hierarchy

    • Generator
      • MyGenerator
    Index

    Constructors

    • Parameters

      • OptionaldefaultContext: Partial<SparqlGeneratorContext>

      Returns MyGenerator

    Properties

    defaultContext: SparqlGeneratorContext
    myGenerator: OwnGenerator = ...

    Methods

    • Generates a SPARQL query string from an AST.

      Parameters

      • ast: Query | Update

        The query or update AST to generate

      • Optionalcontext: Partial<SparqlGeneratorContext>

        Optional generation context settings

      Returns string

      The generated SPARQL string

    • Generates a query string starting from the Path grammar rule.

      Parameters

      • ast: Path
      • Optionalcontext: Partial<SparqlGeneratorContext>

      Returns string