liveBook · Manning

Ontology path

As explained in Knowledge Graphs and LLMs in Action

An ontology path is a traversable sequence of ontology relationships connecting concepts or entities and expressing their semantic connection.

An ontology path is a traversable sequence of typed relationships connecting concepts or entities. In a knowledge graph, paths explain why entities co-occur and expose additional semantic connections. section 7.7.3

A practical ontology-path workflow:

  • Validate extracted entities against the ontology before interpreting their relationship. section 7.7.3

Medical entity explanation

A path connects AIDS to Infectious disease, then through Hepatitis due to infection to Inflammatory disorder of liver. Another path connects Zika virus disease to Zika virus through CAUSATIVE_AGENT.

How Knowledge Graphs and LLMs in Action covers it

How deep it goes
Defines typed paths and demonstrates bounded shortest-path extraction, but does not specify ontology construction or path-ranking methods.
Examples
Uses AIDS–hepatitis, Zika virus disease–Zika virus, and Dengue–Zika virus paths from medical ontologies.
What it assumes
Assumes a knowledge graph containing disambiguated entities and ontology relationships.
What you can do after
Evaluate/understand why entities co-occur and retrieve readable ontology paths with a graph query.
How it connects
Connects knowledge graphs, ontology validation, named entity disambiguation, co-occurrence, SNOMED, and Cypher.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Knowledge Graphs and LLMs in Action. The section links point to the parts of the book it draws on.