Open dfsantamaria opened 3 years ago
You might get what you're after using the context manager,
ontology = owl.get_ontology('ontology.owl')
with ontology.load():
Do things
My request concerns the need of unloading ontologies outside the CM, for example after the object "ontology" has been passed to a function.
Is there any way to 'unload' an ontology after a get_ontology().load() call?