npm.io
1.3.1 • Published 10h ago

@traqula/algebra-transformations-1-2

Licence
MIT
Version
1.3.1
Deps
3
Size
59 kB
Vulns
0
Weekly
0
Stars
24

Traqula algebra transformations 1.2

npm version

Traqula algebra transformations 1.2 contains transformation functions for translating the Traqula AST for SPARQL 1.2 into SPARQL Algebra. These transformation definitions extend the SPARQL 1.1 transformations with support for SPARQL 1.2 features such as reified triples and triple terms.

Installation

npm install @traqula/algebra-transformations-1-2

or

yarn add @traqula/algebra-transformations-1-2

What's added over SPARQL 1.1 transformations

  • Handling of reified triple and triple term nodes in AST-to-algebra conversion
  • Updated inScopeVariables to account for SPARQL 1.2 constructs
  • Updated createAlgebraContext for SPARQL 1.2

Usage

This package is primarily used by @traqula/algebra-sparql-1-2. For end-user algebra transformation, use the engine package directly.

For guidance on extending transformations, see the documentation on creating and modifying transformers.