pub struct Rdfs12Context { /* private fields */ }Expand description
Complete selected source phases before augmenting original-target context.
This controller neither asserts target triples nor executes source predicate typing on target terms. It does not construct adequately substituted target propositions or decide full RDFS entailment/consistency. Missing matches stay undecided outside a complete semantic procedure.
Implementations§
Source§impl Rdfs12Context
impl Rdfs12Context
Sourcepub const fn new(config: Rdfs12ContextConfig) -> Self
pub const fn new(config: Rdfs12ContextConfig) -> Self
Configure source and target budgets separately, without implicit defaults.
Sourcepub async fn run<S, A, T, D>(
&self,
store: &mut S,
access: &A,
target: &T,
sink: &mut D,
) -> Result<Rdfs12ContextOutcome, Rdfs12ContextError<S::Term, S::Error>>where
S: Rdf12WitnessStore + Rdf12TripleTermStore,
A: LiteralTermAccess<Term = S::Term, Error = S::Error> + Rdf12ContainerAccess,
T: TripleSource<Term = S::Term, Error = S::Error>,
D: Rdf12SourceDiagnosticSink<Term = S::Term, Error = S::Error>,
pub async fn run<S, A, T, D>(
&self,
store: &mut S,
access: &A,
target: &T,
sink: &mut D,
) -> Result<Rdfs12ContextOutcome, Rdfs12ContextError<S::Term, S::Error>>where
S: Rdf12WitnessStore + Rdf12TripleTermStore,
A: LiteralTermAccess<Term = S::Term, Error = S::Error> + Rdf12ContainerAccess,
T: TripleSource<Term = S::Term, Error = S::Error>,
D: Rdf12SourceDiagnosticSink<Term = S::Term, Error = S::Error>,
Prepare a fresh selected source and then isolated original-target context.
The immutable target and selected source must have independent blank scopes and share the accessor/store’s exact append-only term dictionary. All reads must use authoritative persisted input; cache misses reload or fail. Caller owns freshness, attempt-wide storage/I/O bounds, provenance and promotion. Source diagnostics finish before the first target scan; supported source conflicts return immediately. Target facts are never reclassified as source input or fed into source consistency. Preserve target-role proof roots/paths.
§Errors
Any source or target read, lexical, identity, cancellation or budget failure invalidates all scratch. A known-invalid target literal remains a target error, never a source-conflict or negative-entailment verdict.