Set<OntologyAxiomPair> result = new HashSet<>();
String sep = COMMA.keyword();
while (COMMA.matches(sep)) {
Set<OWLAnnotation> annotations = parseAnnotations();
O item = itemParser.parseItem(s);
OWLAxiom axiom = itemParser.createAxiom(s, item, annotations);
for (OWLOntology ontology : ontologies) {
result.add(new OntologyAxiomPair(ontology, axiom));
}
sep = peekToken();
if (COMMA.matches(sep)) {