We extract all entities that are mentioned in the question from the SPARQL query.
the parameter sharing between mention encoding and entity label encoding ensures that the representation of a mention is similar to the entity label.