Feature-based reformulation of entities in triple pattern queries