Knowledge graphs are represented as a collection of triples , where and are the entity set and relation set. The task of Knowledge Graph Completion is to either predict unseen relations between two existing entities: or predict the tail entity given the head entity and the query relation: .
<span class="description-source">Source: One-Shot Relational Learning for Knowledge Graphs </span>