private static synchronized OWLOntology retrieveRemoteResource(URI uri) throws OWLOntologyCreationException,
UnknownOWLOntologyException,
OWLOntologyStorageException {
manager.setSilentMissingImportsHandling(true);
manager.addMissingImportListener(new MissingImportListener() {
public void importMissing(MissingImportEvent arg0) {
if (!getUnresolvedURIs().contains(arg0.getImportedOntologyURI())) getUnresolvedURIs().add(
arg0.getImportedOntologyURI());
}
});