Hello together,
I tried to save (multiple) ontologies (which are in different files) and received the error:
AttributeError: module 'test_onto' has no attribute 'storid'
In the following the exemplary code:
File 1
#============================================================
from owlready2 import *
causes_onto = get_ontology("
http://test.org/test_onto.owl")
with test_onto:
class Test(Thing):
pass
#============================================================
Main File
#============================================================
from owlready2 import *
import test_onto
overall = get_ontology("
http://test.org/overall.owl")
overall.imported_ontologies.append(test_onto)
overall .save(file="overall _onto", format="rdfxml")
#============================================================
What did I do wrong or understood wrongly? Is it possible to store all ontologies separately?
Thanks in advance for your help.
jayson