Definition

Knowledge graph (KG) is a structured representation of information that organizes data in the form of entities and their relationships. Commonly, knowledge graphs are massive and incomplete. So, knowledge graph completion (KG completion) is an important task.

Knowledge Graph Completion Task

Edges in KG are represented as triplets , where is a head, is a relation, and is a tail. Given a triplet , the goal of KG completion is that the embedding of should be close to the embedding of . A score function is high if input triplet is probable, otherwise low.

Relation Patterns in Knowledge Graph

Types of relations embedding models can represent

ModelScoreEmbeddingSymmetricAntisymmetricInverseTransitive1-to-N
TransE
TransR

DistMult
ComplEx

Predictive Queries on Knowledge Graph

One-Hop Query

Path Query

Conjunctive Query

Examples

Node types: drug, disease, adverse event, protein, pathways Relation types: has_func, causes, assoc, treats, is_a