OWLOntology o = src.getRootOntology();
assertNotNull(o);
OWLAxiom ax = df.getOWLClassAssertionAxiom(FOAF_PERSON, ALEX);
assertTrue(o.containsAxiom(ax));
ax = df.getOWLClassAssertionAxiom(FOAF_PERSON, BEGONA);
assertTrue(o.containsAxiom(ax));
// Not knowing how the foaf:knows assertion is interpreted, we check for either (but not both!).
ax = df.getOWLObjectPropertyAssertionAxiom(FOAF_KNOWS, ALEX, BEGONA);
OWLAxiom ann = df.getOWLAnnotationAssertionAxiom(FOAF_KNOWS_AP, ALEX.getIRI(), BEGONA.getIRI());
assertTrue(o.containsAxiom(ann) || o.containsAxiom(ax));