pub struct QueryOptions {
pub union_default_graph: bool,
pub sqlite_planner: bool,
pub default_graph: Option<Vec<i64>>,
pub named_graphs: Option<Vec<i64>>,
pub reasoning: Reasoning,
pub include_inferred: bool,
pub include_schema_graphs: bool,
pub var_types: BTreeMap<String, ValueType>,
pub as_of: Option<String>,
pub as_of_tick: Option<i64>,
pub versions: BTreeMap<String, i64>,
pub functions: Functions,
}Expand description
Per-query options.
Fields§
§union_default_graph: boolTreat the default graph as the union of all graphs (Oxigraph’s union_default_graph).
sqlite_planner: boolLet SQLite choose the join order instead of the oxilite planner (for benchmarking).
default_graph: Option<Vec<i64>>Overrides the default graph with the merge of these graphs (term ids, 0 = default
graph), like Oxigraph’s default_graph option.
named_graphs: Option<Vec<i64>>Overrides the available named graphs (term ids).
reasoning: ReasoningEntailment regime (default: none, like Oxigraph).
include_inferred: boolAlso match materialized inferences (quads_inf, see materialize()).
include_schema_graphs: boolMatch triples of the registered schema graphs (ontologies, shapes; see
oxilite_core::registry). Default true: the dataset is the dataset. Set to false
to query the data without the axioms and shapes that describe it.
var_types: BTreeMap<String, ValueType>Value types known for variables (e.g. from a schema): comparisons on them compile to one typed comparison instead of a comparison per possible type. A value of another type then compares as unknown (false in a filter).
as_of: Option<String>Read the store as it was at this version (HEAD~2, #42, @2026-09-01T00:00:00Z; see
version::VersionRef). Needs a store with a change log; the store resolves it to
Self::as_of_tick before compiling.
as_of_tick: Option<i64>The resolved tick of Self::as_of.
versions: BTreeMap<String, i64>Resolved ticks of the versions named by SERVICE <oxilite:version/REF> (by REF).
functions: FunctionsHost functions callable by IRI (see crate::functions). A call to one is evaluated
by the fallback evaluator; the rest of the query still compiles to SQL.