17: Sort S i and find positive rank ra + M AP ← 1 1+ra + 20: end procedure which indicates "no-relation" between two entities.
we manage to decompose the data ) into a series of tuples (e q , r q , e i ), where r q = r q for positive samples and r q = n/a for negative samples.