The vector representation g 1 (a) is computed via g 1 (a) = is a binary vector which represents the presence or absence of every relation in the answer path, W p ∈ R dq×|R| is the parameter matrix, and |R| is the number of relations.
the embeddings of relations that appear on the answer path are averaged.