String value, OWLOntologyManager manager) {
OWLAnnotationProperty label = factory
.getOWLAnnotationProperty(OWLRDFVocabulary.RDFS_LABEL.getIRI());
Set<OWLAnnotation> anns = ent.getAnnotations(ontology, label);
for (OWLAnnotation ann : anns) {
OWLAnnotationSubject annsub = ent.getIRI();
OWLAxiom removeax = factory.getOWLAnnotationAssertionAxiom(annsub, ann);
manager.applyChange(new RemoveAxiom(ontology, removeax));
}
OWLAnnotation newann = factory.getOWLAnnotation(
factory.getOWLAnnotationProperty(OWLRDFVocabulary.RDFS_LABEL.getIRI()), factory.getOWLStringLiteral(value, "en"));