Expand description
Fuzzy RDF schema — graded entailment (Ma, Li & Ma ch 3.3). RDFS reasoning with
a degree: subClassOf/type hold to a degree in [0,1], and degrees compose
along the class hierarchy by a t-norm.
Mission fit: “this guardianship relation is 0.6 a MedicalProxy” is a degree of
role-holding; propagating it through the hierarchy with a t-norm reasons about
partial agency without faking a crisp claim. Reuses the existing fuzzy
operators (crate::modalities::fuzzy); kernel-class Reduction.
Functions§
- entailed_
types - Convenience: given the closure matrix and an instance’s direct
typedegrees per class (type_of[c]), the entailed degree of membership in classc=max_a t-norm(type_of[a], closure[a][c]). Returns the entailed type degrees. - subclass_
closure - Graded transitive closure of
subClassOf. Input edges(sub, super, degree)overnclasses. The closure degree thata ⊑ cis the best (t-conorm/max) over all paths of the t-norm (product) along each path. Diagonal is1.0(every class is a subclass of itself with full degree). Returns then×nrow-major degree matrix. - type_
entailment - Degree to which an instance is of class
c, given it is of classawith degreetype_degreeanda ⊑ cwithsubclass_degree:t-norm(type, subclass).