Relation network In this work, the probability of relations given a question, p(r|q), is modeled by the following network where the relation scoring function v(r, q) measures the similarity between the question and the E(r) is the trainable embedding of the relation (randomly initialized in this work) and f (q) computes the semantic question embedding.
the question q is represented as a sequence of tokens (potentially with unknown ones).