mowl.owlapi
OWLAPI adapter
This module implements shortcut methods to access some OWLAPI objects.
- class mowl.owlapi.adapter.OWLAPIAdapter[source]
Bases:
object
- Adapter class adapting OWLAPI. Here you can find shortcuts to:
org.semanticweb.owlapi.apibinding.OWLManager
org.semanticweb.owlapi.model.OWLDataFactory
methods for creating OWLAPI objects
- property owl_manager
Creates a OWLManager from OWLAPI :rtype: org.semanticweb.owlapi.apibinding.OWLManager
- property data_factory
Creates an OWLDataFactory from OWLAPI. If OWLManager does not exist, it is created as well. :rtype: org.semanticweb.owlapi.model.OWLDataFactory
- create_subclass_of(cexpr1, cexpr2)[source]
Creates OWLSubClassOfAxiom for a given pair of class expressions
- create_equivalent_classes(*cexprs)[source]
Creates OWLEquivalentClassesAxiom for a given list of class expressions
- create_disjoint_classes(*cexprs)[source]
Creates OWLDisjointClassesAxiom for a given list of class expressions
- create_object_some_values_from(obj_prop, cexpr)[source]
Creates OWLObjectSomeValuesFrom for a given object property and a class expression
- create_object_all_values_from(obj_prop, cexpr)[source]
Creates OWLObjectAllValuesFrom for a given object property and a class expression
- create_object_intersection_of(*cexprs)[source]
Creates OWLObjectIntersectionOf for a given list of class expressions
- create_object_union_of(*cexprs)[source]
Creates OWLObjectUnionOf for a given list of class expressions
Some default values
Module containing default OWL variables used in mOWL
- From this module you can import the following variables:
TOP
, which is a string representing the top element of the
BOTTOM
, which is a string representing the bottom element of the