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>,
}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).