For a specific task, I want to load an ontology from several different files. In another words, I want to include all axioms from different files into an integrated ontology.
And since those files can be in different format, for example, some of them are .owl files and some others can be .nt file, thus I cannot simply copy all the contents into a single file.
It is pretty easy to load an ontology from a single file, according to the documents of OWL API, you can manage it as follows:
OWLOntologyManager m=OWLManager.createOWLOntologyManager();
File inputOntologyFile = new File("XXXXXXXXX");
OWLOntology o = m.loadOntologyFromOntologyDocument(inputOntologyFile);
So my question is: how to load an ontology from several different files? Is it possible for me to manage that in an incremental style?