OptionaldefaultContext: Partial<SparqlGeneratorContext>Protected ReadonlydefaultPrivate ReadonlymyGenerates a SPARQL query string from an AST.
The query or update AST to generate
Optionalcontext: Partial<SparqlGeneratorContext>Optional generation context settings
The generated SPARQL string
Generates a query string starting from the Path grammar rule.
Optionalcontext: Partial<SparqlGeneratorContext>
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.