if(!entity.isBuiltIn()) {
IRI iri = entity.getIRI();
String iriString = iri.toString();
if(iriString.startsWith(fromPrefix)) {
StringBuilder sb = new StringBuilder(toPrefix);
sb.append(iri.subSequence(fromPrefix.length(), iri.length()));
IRI toIRI = IRI.create(sb.toString());
renameMap.put(entity, toIRI);
}
}
}