@Override
public void handle(String currentId, @Nonnull String value,
String qualifierBlock, String comment) {
// This is an annotation - but add as a label
OWLEntity ent;
if (getConsumer().isTerm()) {
ent = getDataFactory().getOWLClass(getIRIFromOBOId(currentId));
} else if (getConsumer().isTypedef()) {
ent = getDataFactory().getOWLObjectProperty(
getIRIFromOBOId(currentId));
} else {
ent = getDataFactory().getOWLNamedIndividual(
getIRIFromOBOId(currentId));
}
OWLLiteral con = getDataFactory().getOWLLiteral(value);
OWLAxiom ax = getDataFactory().getOWLAnnotationAssertionAxiom(
getDataFactory().getOWLAnnotationProperty(
OWLRDFVocabulary.RDFS_LABEL.getIRI()), ent.getIRI(),
con);
applyChange(new AddAxiom(getOntology(), ax));
}