Saving with another name and when re-opening, the load() doesn't work
I have an owl file with a specific taxonomy about Flight Plans published on the internet and my intention is:
1- To use it as a model to be downloaded, putted in RAM memory to be manipulated (like an user filling a Web form with several fields)
2- To save this filled model as another independent owl file with another name.
Ok, I have used the save("TestandoPersistencia") and Python have persisted the file on my disk. When I try to use this persisted file like this:
Re: Saving with another name and when re-opening, the load() doesn't work
I have found the mistake: When we use the save() method owlready2 puts the file into the same folder the file .py is.
When I've tried to specify the path like this: ("/home/rodriguez/Desktop/MyFileExample.owl") the get_ontology method didin't found any file, besides it is the correct path
I've got the entire adress off the path and the code stayed like this: onto2 = get_ontology("MyFileExample.owl"). It has worked and owlready shows classes and individuals normally.