*/
public static void updateOntology(OWLOntology ontology, Collection<? extends OWLAxiom> axioms, boolean add)
throws OWLException {
List<OWLOntologyChange> changes = new ArrayList<OWLOntologyChange>();
for( OWLAxiom axiom : axioms ) {
OWLOntologyChange change = add
? new AddAxiom( ontology, axiom )
: new RemoveAxiom( ontology, axiom );
changes.add( change );
}
manager.applyChanges( changes );