Before revision:  To solve this task, we propose to apply a message passing mechanism to a  graph representation of the query, where nodes correspond to variables and entities . This results in an embedding of the query, such that answering entities are close to it in the embedding space. The general formulation of our method allows it to encode a more diverse set of query types in comparison to previous work.
After revision:  To solve this task, we propose to apply a message passing mechanism to a graph representation of the query, where nodes correspond to entities and variables. The generality of our method allows it to encode a more diverse set of query types in comparison to previous work.