There are two main tasks in knowledge graph reasoning, namely link prediction and fact prediction.
given a relational path x = {r 1 , r 2 , ...r t , ...}, the path embedding x is encoded as: where each relation r t is mapped into a real-valued embedding r t ∈ R k pre-trained by TransE (Bordes et al., 2013).