private static OWLOntology buildMergedImportClosure(OWLOntologyManager manager,
OWLOntology rootOntology) throws OWLOntologyCreationException,
OWLOntologyChangeException {
OWLOntologyImportsClosureSetProvider importClosureSetProvider = new OWLOntologyImportsClosureSetProvider(
manager, rootOntology );
OWLOntologyMerger merger = new OWLOntologyMerger( importClosureSetProvider );
return merger.createMergedOntology( manager, MERGED_ONTOLOGY_URI );
}