liveBook · Manning

Heterogeneous graph

As explained in Graph Algorithms for Data Science

A heterogeneous graph contains multiple node types or multiple relationship types.

A heterogeneous graph contains multiple node types or relationship types. Unlike a homogeneous graph, it preserves distinctions between entities and connections, making it suitable for knowledge graph completion and other typed-link prediction tasks. section 11.0 section 11.4

Key modeling characteristics include:

  • Represent directed facts as triples containing a head entity, relation, and tail entity. section 11.4
  • Allow several relationship types between the same entity types and distinguish those types during prediction. section 11.0 section 11.4
  • Support knowledge graph embeddings that encode both nodes and relationships rather than nodes alone. section 11.4

Drug repurposing

A biomedical graph can connect existing drugs with known treatments and represent additional entity and relationship types. Knowledge graph completion then predicts missing drug–treatment links, which domain experts evaluate before clinical trials. The predictions prioritize candidates rather than approving new uses automatically. section 11.0 section 11.4

Figure 11.4 Example schema of a complex biomedical graph
11-04

Use the complex biomedical graph schema to inspect how multiple entity and relationship types can coexist in one graph. section 11.0

How Graph Algorithms for Data Science covers it

How deep it goes
Defines node, relationship, and triple types, then connects them to embedding models and multiclass link prediction.
Examples
Uses stream-sharing graphs, drug-treatment networks, and a complex biomedical graph schema as contrasting examples.
What you can do after
Evaluate typed-link predictions as candidates for expert review and subsequent clinical trials.
How it connects
Connects homogeneous graphs, link prediction, knowledge graph embeddings, knowledge graph completion, and drug repurposing.

Also explained in

Compare how 3 books explain heterogeneous graph →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Graph Algorithms for Data Science. The section links point to the parts of the book it draws on.