* this takes in existing ontology files and merges their elements. It then stores the newly generated ontology.
*/
public void mergeOntology(String firstOntPath, String secondOntPath, String outputPath) throws OWLOntologyStorageException, OWLOntologyCreationException{
// Just load two arbitrary ontologies for the purposes of this example
OWLOntologyManager man = OWLManager.createOWLOntologyManager();
man.loadOntologyFromOntologyDocument(new File(firstOntPath));
man.loadOntologyFromOntologyDocument(new File(secondOntPath));
// Create our ontology merger
OWLOntologyMerger merger = new OWLOntologyMerger(man);
// We merge all of the loaded ontologies. Since an OWLOntologyManager is an OWLOntologySetProvider we just pass this in.