How to use the sparqlalgebrajs.translate function in sparqlalgebrajs

To help you get started, we’ve selected a few sparqlalgebrajs examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github comunica / comunica / packages / actor-sparql-parse-algebra / lib / ActorSparqlParseAlgebra.ts View on Github external
public async run(action: IActionSparqlParse): Promise {
    return { operation: translate(action.query,
        { quads: true, prefixes: this.prefixes, blankToVariable: true, baseIRI: action.baseIRI }) };
  }

sparqlalgebrajs

Convert SPARQL to SPARQL algebra

MIT
Latest version published 6 months ago

Package Health Score

62 / 100
Full package analysis

Similar packages