TaxonomyWithRelationsProjector

class mowl.projection.TaxonomyWithRelationsProjector(taxonomy=False, bidirectional_taxonomy: bool = False, relations=None)[source]

Bases: ProjectionModel

Projection of axioms \(A \sqsubseteq B\) and \(A \sqsubseteq \exists R.B\).

  • \(A \sqsubseteq B\) will generate the triple \(\langle A, subClassOf, B \rangle\)

  • \(A \sqsubseteq \exists R. B\) will generate the triple \(\left\langle A, R, B \right\rangle\)

Parameters:
  • taxonomy – If True taxonomy axioms will be included.

  • bidirectional_taxonomy – If true then per each SubClass edge one SuperClass edge will be generated.

Methods Summary

project(ontology)

Generates the projection of the ontology.

Methods Documentation

project(ontology)[source]

Generates the projection of the ontology.

Parameters:

ontology (org.semanticweb.owlapi.model.OWLOntology) – The ontology to be processed.