liveBook · Manning

Entity and relationship extraction

Entity and relationship extraction is the technique of identifying entities, their relationships, and associated attributes in source content for structured representation.

How 2 Manning books explain it

AI-Powered Search

Entity extraction is the identification and extraction of entities from textual content.

How it is used
Improves semantic query interpretation by converting domain phrases and functions into structures that search ranking can use.
How deep it goes
Explains normalization, lookup structures, tagging, ambiguity resolution, and typed query construction, while deferring FST internals.
Examples
Uses “new york city” and “top kimchi near charlotte” to demonstrate phrase matching, semantic functions, cities, keywords, and query trees.
What you can do after
Apply it via Apache Solr and Python-style extraction code to build tagged queries and typed semantic query trees.

Read how AI-Powered Search explains entity and relationship extraction →

Essential GraphRAG

Entity extraction is the process of identifying and describing entities of specified types in source text.

How it is used
Builds graph-ready knowledge from document chunks for GraphRAG retrieval and cross-chunk analysis.
How deep it goes
Specifies entity fields, relationship fields, delimiters, model parsing, graph import, and inspection queries.
Examples
Uses The Odyssey, Ulysses, Orestes, gods, creatures, weapons, events, and generated relationship descriptions.
What you can do after
Builds a chunk-processing pipeline that extracts, imports, counts, and inspects graph entities and relationships.

Read how Essential GraphRAG explains entity and relationship extraction →

Also covered in

What to know first

Related concepts

Questions about entity and relationship extraction

What is entity and relationship extraction?

Entity and relationship extraction is the technique of identifying entities, their relationships, and associated attributes in source content for structured representation.

Which Manning books explain entity and relationship extraction?

AI-Powered Search and Essential GraphRAG.

What should I know before learning entity and relationship extraction?

Manning books that teach entity and relationship extraction usually introduce language model, few-shot learning and similarity search first.

What is entity and relationship extraction part of?

Entity and relationship extraction is part of graph construction pipeline. A graph construction pipeline is a sequence of data-loading, information-extraction, entity-resolution, and graph-storage steps that builds a knowledge graph from source data.

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.