In this chapter, we’ll see how to access the contents of an ontology in Python using Owlready. We will use the ontology of bacteria that we created in Chapter 3, as well as Gene Ontology, an ontology widely used in bioinformatics.
4.1 Importing Owlready
Note that it is better to use the import of the contents of the module with “from owlready2 import *” rather than importing the module with “import owlready2” (see ...