In the project I'm currently working on, I need to append an ontology B to the imported ontologies list of an ontology A. One thing I should specify is that the ontology B is loaded from a RDF file, which contents is often changed by another part of my program (I'm loading it after every change on this file).
So, I tried to create a new World and load the ontology B in it before appending the ontology B to the imported ontologies list of the ontology A. But when I look at the owl file of the ontology A (after saving it), I found out that the file used as an imported ontology is its own file and not the ontology B's one.
As a newcomer, I may have made something wrong but I'm stuck and I really don't know how to solve it and how to refresh my ontology B. Could someone help me with this please?