toAdd.add(new AddAxiom(ontology,newAxiom));
System.out.println((i+1)+"- new axiom: "+newAxiom.toString());
}
manager.applyChanges(toAdd);
OutputStreamWriter sw = new FileWriter(new File(outputFile));
OWLOntologyOutputTarget target = new WriterOutputTarget(sw);
manager.saveOntology(ontology, target);
return true;
} catch (OWLOntologyChangeException e) {
e.printStackTrace();
return false;