}
public static class MyOWLDatabaseKnowledgeBaseFactory extends OWLDatabaseKnowledgeBaseFactory {
public KnowledgeBase createKnowledgeBase(Collection errors) {
OWLDatabaseModel owlModel = new OWLDatabaseModel(this){
public URI loadImportedAssertions(URI ontologyName) throws OntologyLoadException {
RepositoryManager rm = getRepositoryManager();
for(Repository r: rm.getGlobalRepositories()){
if(r instanceof DatabaseRepository)
rm.addProjectRepository(0, r);