This chapter covers
- Introducing heterogeneous graphs
- Explaining knowledge graph embeddings
- Introducing knowledge graph completion workflow
- Explaining knowledge graph completion results
The previous chapter is an introduction to link prediction and completion techniques. The difference between link prediction and completion is that the first is a workflow to predict future links, while the latter deals with predicting missing links. However, in practice, link prediction and completion workflows are very similar. What wasn’t explicitly mentioned is that the link prediction features used in Chapter 10 do not differentiate between various node or relationship types. For example, the number of common neighbors does not differentiate between different relationship or node types. Therefore, the link prediction features used in Chapter 10 work best with monopartite or homogeneous graphs. A monopartite or a homogenous graph consists of a single node and relationship type.
Visualization in Figure 11.1 depicts a homogeneous graph that consists of a single node type Stream
and a single relationship type SHARED_AUDIENCE
.