Adding a new function to generate all the substructures of the loaded ontologies.