OWLClass clsB = Class(IRI("http://ont.com#B"));
OWLSubClassOfAxiom sca = SubClassOf(clsA, clsB);
m.addAxiom(ont, sca);
OWLAnnotationProperty rdfsComment = RDFSComment();
OWLLiteral lit = Literal("Hello world");
OWLAnnotationAssertionAxiom annoAx1 = AnnotationAssertion(rdfsComment,
clsA.getIRI(), lit);
m.addAxiom(ont, annoAx1);
OWLAnnotationPropertyDomainAxiom annoAx2 = df
.getOWLAnnotationPropertyDomainAxiom(rdfsComment, clsA.getIRI());
m.addAxiom(ont, annoAx2);