public void testRoundTrip() throws Exception {
String ns = "http://smi-protege.stanford.edu/ontologies/AnonymousIndividuals.owl";
OWLClass a = Class(IRI(ns + "#A"));
OWLAnonymousIndividual h = AnonymousIndividual();
OWLAnonymousIndividual i = AnonymousIndividual();
OWLAnnotationProperty p = AnnotationProperty(IRI(ns + "#p"));
OWLObjectProperty q = ObjectProperty(IRI(ns + "#q"));
OWLOntology ontology = m.createOntology(IRI(ns));
OWLAnnotation annotation1 = df.getOWLAnnotation(p, h);
m.addAxiom(ontology,
df.getOWLAnnotationAssertionAxiom(a.getIRI(), annotation1));