liveBook · Manning

Knowledge graph-enhanced document retriever

As explained in Knowledge Graphs and LLMs in Action

A document-retrieval technique that uses knowledge-graph entities and relationships to select documents associated with the requested information.

A knowledge graph-enhanced document retriever selects documents through graph-linked entities and relationships rather than semantic similarity alone. In a text-paired graph, it can return only documents mentioning every entity in a question or a specified relationship, reducing vector-search failures and irrelevant context. section 13.4.3

A practical retrieval pipeline:

  • Identify the entities or relationship requested by the user. section 13.4.3
  • Match those graph elements to documents through traced entity and relationship links. section 13.4.3

Cross-source retrieval

To answer a question about a criminal group leader’s transactions, retrieve the person’s name from a law-enforcement knowledge graph, then search financial documents for that entity. section 13.4.3

How Knowledge Graphs and LLMs in Action covers it

How deep it goes
Explains entity- and relationship-based selection and shows a partial Neo4j tool implementation, without detailing full agent orchestration.
Examples
Uses entity intersection, relationship-specific retrieval, and cross-source criminal-group transaction research examples.
What it assumes
Assumes a knowledge graph linking documents to extracted entities and relationships.
What you can do after
Build a Neo4j-backed retriever that returns documents selected by graph entities or relationships.
How it connects
Connects knowledge graphs, text-paired graphs, vector search, Cypher, Graph RAG, and combined retrieval.

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.