Skip to main content

Rdfs12FragmentEntailment

Struct Rdfs12FragmentEntailment 

Source
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

Source

pub const fn new(limits: Rdfs12FragmentLimits) -> Self

Set every admission/cumulative-search budget explicitly.

Source

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.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V