OWLDataFactory df = project.getDataFactory();
ExternalReferenceStrategy<OWLClass> strategy = new ExternalReferenceSubClassStrategy();
IRI subjectIRI = IRI.create(entityName);
OWLClass subjectCls = df.getOWLClass(subjectIRI);
List<OWLOntologyChange> changes = strategy.generateOntologyChanges(subjectCls, new BioPortalExternalReferenceData(project, referenceData), project);
changeListToFill.addAll(changes);
}