return entity;
}
private IRI createEntityIRI(EntityShortForm shortForm, PrefixedNameExpander prefixedNameExpander) {
try {
WhiteSpaceTreatment whiteSpaceTreatment = suffixSettings.getWhiteSpaceTreatment();
String transformedShortForm = whiteSpaceTreatment.transform(shortForm.getShortForm());
Optional<IRI> expandedPrefixName = prefixedNameExpander.getExpandedPrefixName(transformedShortForm);
if (expandedPrefixName.isPresent()) {
return expandedPrefixName.get();
}
String escapedShortForm = URLEncoder.encode(transformedShortForm, "UTF-8");