pub struct Entailment<'a> {
pub reasoning: Reasoning,
pub inferred: bool,
pub hide_schema: bool,
pub transitive: &'a BTreeSet<i64>,
pub scopes: &'a BTreeSet<i64>,
pub max_compound: usize,
pub as_of: Option<i64>,
}Expand description
Builds derived tables of entailed triples.
Fields§
§reasoning: Reasoning§inferred: boolAlso read materialized inferences (quads_inf).
hide_schema: boolExclude every registered schema graph from the stored triples
(QueryOptions::include_schema_graphs).
transitive: &'a BTreeSet<i64>§scopes: &'a BTreeSet<i64>Graphs with a closure of their own (see tbox_closure.scope); every other graph uses
the closure of crate::registry::all_scope.
max_compound: usizeMaximum terms of a compound SELECT.
as_of: Option<i64>Read the store as it was at this tick (see version), from the change log.
Implementations§
Source§impl Entailment<'_>
impl Entailment<'_>
Sourcepub fn base(&self) -> String
pub fn base(&self) -> String
The table of stored triples: asserted, plus materialized inferences on request, minus the registered schema graphs when they are hidden.
Every quad source of the compiler goes through this or Self::source, so hiding is
applied once and covers patterns, paths, OPTIONAL and GRAPH ?g alike. Inferences
are conclusions rather than schema, so they are never hidden.