for (OWLAnnotation annotation : annotations) {
OWLDataFactory df = project.getDataFactory();
changes.add(new AddAxiom(rootOntology, df.getOWLAnnotationAssertionAxiom(subject, annotation)));
}
project.applyChanges(getUserInSessionAndEnsureSignedIn(), changes, "Set XRefs");
}
private String getStringAnnotationValue(ProjectId projectId, org.semanticweb.owlapi.model.IRI annotationSubject, org.semanticweb.owlapi.model.IRI annotationPropertyIRI, String defaultValue) {
OWLAPIProject project = getProject(projectId);