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.
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 →
Related concepts
- language modelused by · A language model is a computational model that represents patterns in linguistic tokens to estimate sequence probabilities and predict or generate language from context.
- generative modelingused by · Generative modeling is a machine-learning approach that learns patterns or a data distribution to generate new samples resembling the data.
- entityproduces · An entity is a distinct, identifiable person, object, event, or concept represented as a unit in a data, software, or semantic model.
- scispaCyuses · scispaCy is a Python library providing natural-language-processing models and pipelines specialized for scientific and biomedical text.
- UMLSused by · UMLS is a biomedical terminology system that integrates concepts and codes from multiple health and life-science vocabularies.
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.

