liveBook · Manning

Knowledge graph search

As explained in AI-Powered Search

Knowledge graph search retrieves or ranks items by traversing and comparing entities and their relationships represented in a knowledge graph.

Knowledge graph search interprets query terms as entities, then ranks those entities and their relationships against similar entities in an index. It complements lexical search and dense vector search when query concepts can be identified. section 7.1

A query-interpretation pipeline can combine three matching approaches:

  • Lexical search uses Boolean matches in an inverted index, commonly with BM25 ranking. section 7.1
  • Knowledge graph search compares recognized entities and their relationships with entities in a semantic or explicitly built knowledge graph. section 7.1
  • Dense vector search uses cosine similarity and approximate-nearest-neighbor retrieval over embeddings. section 7.1

Query interpretation pipeline

For “bbq near atlanta,” entity extraction identifies known keywords and locations, signals boosting promotes popular documents for the query, and later stages apply matching with fallback handling. section 7.1

Figure 7.1 An example query interpretation pipeline
figure

Follow the pipeline from query parsing through entity extraction, signals boosting, matching, and fallback behavior. section 7.1

How AI-Powered Search covers it

How deep it goes
Traces pipeline stages and contrasts matching methods, but stops short of detailed graph construction or implementation code.
Examples
Uses “bbq near atlanta” and a query-interpretation pipeline combining extraction, boosting, matching, and fallback.
What it assumes
Assumes familiarity with queries, documents, indexed terms, entities, and basic search-ranking approaches.
What you can do after
Evaluate how entity recognition and graph relationships fit alongside lexical and vector retrieval in a search pipeline.
How it connects
Connects entity extraction, lexical search, inverted indexes, BM25, dense vector search, embeddings, and signals boosting.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of AI-Powered Search. The section links point to the parts of the book it draws on.