}
private Optional<FreshEntitySuggestion> getSuggestion(String query, EntityType<?> type, Optional<OWLEntityData> auxiliaryType) {
// TODO: If query starts with a lowercase letter, suggest individual first?
OWLEntity entity = DataFactory.getFreshOWLEntity(type, query);
OWLEntityData entityData = DataFactory.getOWLEntityData(entity, query);
if(auxiliaryType.isPresent()) {
AuxiliaryTypeHandler auxiliaryTypeHandler = AuxiliaryTypeHandler.get(auxiliaryType.get());
if(auxiliaryTypeHandler.isApplicableTo(type)) {
Set<OWLAxiom> augmentingAxioms = auxiliaryTypeHandler.getAdditionalAxioms(entity);
return Optional.of(new FreshEntitySuggestion(entityData, auxiliaryTypeHandler.getSuggestionText(entityData), augmentingAxioms));