for(Axiom aa : axioms) {
if(aa instanceof ConceptInclusion) {
ConceptInclusion ci = (ConceptInclusion)aa;
Concept lhs = ci.getLhs();
Concept rhs = ci.getRhs();
res.add(new GCI(transformConcept(lhs), transformConcept(rhs)));
} else if(aa instanceof RoleInclusion) {
RoleInclusion ri = (RoleInclusion)aa;
Role[] lh = ri.getLhs();
NamedRole[] lhs = new NamedRole[lh.length];
for(int i = 0; i < lh.length; i++) {