Skip to main content

Module compiler

Module compiler 

Source
Expand description

SPARQL algebra → SQL.

Each graph pattern compiles to a [Block]: FROM items, WHERE conditions, variable bindings and solution-modifier state. Blocks stay “plain” (a single SELECT-FROM-WHERE) for as long as possible so that SQLite sees one flat join; they are sealed into subqueries only when SQL semantics require it.

Modules§

expr
SPARQL expressions → SQL.
plan
Greedy, statistics-driven join ordering for basic graph patterns.

Structs§

QueryOptions
Per-query options.

Enums§

ValueType
A static value type for QueryOptions::var_types.

Constants§

HISTORY_GRAPH
The graph of the store’s history: commits (PROV-O activities, identified by their tick as an xsd:integer) and their changes (oxl:added / oxl:removed triple terms).
VERSION_SERVICE
The IRI prefix naming a version of the store in SERVICE <oxilite:version/REF> { … }.

Functions§

expr_int_base
The id offset of inline integers (a tick t is the integer id t + expr_int_base()).