// The wrapper manager
manager = new OWLAPIProjectOWLOntologyManager();
// We have to do some twiddling of the factories so that the delegate manager creates ontologies which point
// to the non-delegate manager.
EmptyInMemOWLOntologyFactory imMemFactory = new EmptyInMemOWLOntologyFactory();
delegateManager.addOntologyFactory(imMemFactory);
imMemFactory.setOWLOntologyManager(manager);
ParsableOWLOntologyFactory parsingFactory = new ParsableOWLOntologyFactory();
delegateManager.addOntologyFactory(parsingFactory);
parsingFactory.setOWLOntologyManager(manager);