pub struct Rdfs12FragmentEntailment { /* private fields */ }Expand description
Decide targets against a checked, literal-free RDFS 1.2 source fragment.
Source roots may use ordinary predicates, declare an ordinary named property,
or assert Resource subClassOf Class / Proposition subClassOf Property.
Standard names in data components and quoted contents do not assert schema.
Both graphs must be normative RDF; scoped blanks/nested object terms are supported.
Free injective-constructor standard completions provide explicit countermodels:
failed ordinary projection, fixed-name datatype/property membership, or a target
triple term whose named predicate is unforced by the source. All candidate
scans and consistent matching share one cumulative work budget. A matching
projection with unresolved standard constraints remains inconclusive.
This does not enable the full rdfs execution selector.
Implementations§
Source§impl Rdfs12FragmentEntailment
impl Rdfs12FragmentEntailment
Sourcepub const fn new(limits: Rdfs12FragmentLimits) -> Self
pub const fn new(limits: Rdfs12FragmentLimits) -> Self
Set every admission/cumulative-search budget explicitly.
Sourcepub async fn check<S, E, A>(
&self,
source: &S,
target: &E,
access: &A,
) -> Result<Rdfs12FragmentOutcome<S::Term>, Rdfs12FragmentError<S::Term, S::Error>>where
S: TripleSource,
E: TripleSource<Term = S::Term, Error = S::Error>,
A: IriTermAccess<Term = S::Term, Error = S::Error>,
pub async fn check<S, E, A>(
&self,
source: &S,
target: &E,
access: &A,
) -> Result<Rdfs12FragmentOutcome<S::Term>, Rdfs12FragmentError<S::Term, S::Error>>where
S: TripleSource,
E: TripleSource<Term = S::Term, Error = S::Error>,
A: IriTermAccess<Term = S::Term, Error = S::Error>,
Admit the entire selected source and target before shared consistent matching.
Reuse one immutable graph/dictionary domain through all scans. No facts, dictionary entries, closures or countermodel graphs are constructed here. Keep input snapshot/graph identity with the returned scoped result.
§Errors
Storage, cancellation and exhausted work/metadata budgets abort the check; even late failures invalidate any incomplete positive/negative result.