As the two problems defined by equation (16) take the standard form of classification, theoretically, cross entropy can used as the training objective.
computing the partition function is often intractable, especially for p θs (s|r, q), since there can be millions of entities in the KB.