public void ontologiesChanged(List<? extends OWLOntologyChange> changes) throws OWLException {
entities.clear();
for (OWLOntologyChange change : changes) {
if (change.isAxiomChange()) {
OWLAxiomChange axiomChange = (OWLAxiomChange) change;
entities.addAll(axiomChange.getEntities());
}
}
ontologiesChanged();
}