CategoricalProjector
- class mowl.projection.CategoricalProjector(output_type, saturation_steps=0, transitive_closure=False, def_6=True, lemma_6=True, def_7=True, lemma_8=True)[source]
Bases:
ProjectionModelImplementation of projection rules defined in [zhapa2023].
This class implements the projection of ALC axioms into a graph using categorical diagrams. Saturation steps can be applied following [brieulle2022].
- Parameters:
saturation_steps (int) – Number of saturation steps of the graph/category.
transitive_closure (bool) – If
True, every saturation step computes the transitive edges.def_6 (bool, optional) – If
True, apply definition 6. Default isTrue.lemma_6 (bool, optional) – If
True, apply lemma 6. Default isTrue.def_7 (bool, optional) – If
True, apply definition 7. Default isTrue.lemma_8 (bool, optional) – If
True, apply lemma 8. Default isTrue.
Added in version 0.3.0.
Methods Summary
process_axiom(axiom)Process an OWLAxiom and return a list of edges.
project(ontology)Generates the projection of the ontology.
Methods Documentation