Unload an ontology after load() call
Opened this issue · 2 comments
dfsantamaria commented
Is there any way to 'unload' an ontology after a get_ontology().load() call?
ThomasThelen commented
You might get what you're after using the context manager,
ontology = owl.get_ontology('ontology.owl')
with ontology.load():
Do things
dfsantamaria commented
My request concerns the need of unloading ontologies outside the CM, for example after the object "ontology" has been passed to a function.