Each candidate entity is used as a hypothetic subject entity s, and passed to ENC-DEC together with q and K. In this step, a list of M r candidate path labels are generated.
these candidate path labels are the highest ranked M r path labels among all path labels r for which there is a path with label r in the KB that leaves from s. The ranking of the path labels is according to the learned prediction loss pr .