Skip to main content

is_epistemic_subsumed

Function is_epistemic_subsumed 

Source
pub fn is_epistemic_subsumed(
    active_synset: u64,
    expected_synset: u64,
    tbox: &[NQuin],
) -> bool
Expand description

Verifies whether an active stance synset matches or is subsumed by an expected category synset.

Utilizes modalities::dl::check_subsumption_quin to traverse hypernym / rdfs:subClassOf edges in the provided tbox slice in $O(V+E)$ time with zero allocations.