final OWLDataFactory df = notesOntologyManager.getOWLDataFactory();
notesOntologyManager.applyChange(new AddImport(notesOntology, df.getOWLImportsDeclaration(CHANGES_ONTOLOGY_IRI)));
IRI notesOntologyDocumentIRI = IRI.create(notesOntologyDocument);
notesOntologyManager.setOntologyDocumentIRI(notesOntology, notesOntologyDocumentIRI);
notesOntologyDocument.getParentFile().mkdirs();
BinaryOWLOntologyDocumentFormat notesOntologyDocumentFormat = new BinaryOWLOntologyDocumentFormat();
notesOntologyManager.saveOntology(notesOntology, notesOntologyDocumentFormat, notesOntologyDocumentIRI);
}
catch (OWLOntologyCreationException e) {
throw new RuntimeException(e);
}