Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.
Read instantly on your browser with Kindle for Web.
Using your mobile phone camera - scan the code below and download the Kindle app.
Follow the author
OK
Knowledge Graphs and LLMs in Action: Build AI systems using connected data
Purchase options and add-ons
Knowledge graphs model relationships between the objects, events, situations, and concepts in your domain so you can readily identify important patterns in your own data and make better decisions. Paired up with large language models, they promise huge potential for working with structured and unstructured enterprise data, building recommendation systems, developing fraud detection mechanisms, delivering customer service chatbots, or more. This book provides tools and techniques for efficiently organizing data, modeling a knowledge graph, and incorporating KGs into the functioning of LLMs—and vice versa.
In Knowledge Graphs and LLMs in Action you will learn how to:
- Model knowledge graphs with an iterative top-down approach based in business needs
- Create a knowledge graph starting from ontologies, taxonomies, and structured data
- Build knowledge graphs from unstructured data sources using LLMs
- Use machine learning algorithms to complete your graphs and derive insights from it
- Reason on the knowledge graph and build KG-powered RAG systems for LLMs
In Knowledge Graphs and LLMs in Action, you’ll discover the theory of knowledge graphs then put them into practice with LLMs to build working intelligence systems. You’ll learn to create KGs from first principles, go hands-on to develop advisor applications for real-world domains like healthcare and finance, build retrieval augmented generation for LLMs, and more.
About the technology
Using knowledge graphs with LLMs reduces hallucinations, enables explainable outputs, and supports better reasoning. By naturally encoding the relationships in your data, knowledge graphs help create AI systems that are more reliable and accurate, even for models that have limited domain knowledge.
About the book
Knowledge Graphs and LLMs in Action shows you how to introduce knowledge graphs constructed from structured and unstructured sources into LLM-powered applications and RAG pipelines. Real-world case studies for domain-specific applications—from healthcare to financial crime detection—illustrate how this powerful pairing works in practice. You’ll especially appreciate the expert insights on knowledge representation and reasoning strategies.
What's inside
- Design knowledge graphs for real-world needs
- Build KGs from structured and unstructured data
- Apply machine learning to enrich, complete, and analyze graphs
- Pair knowledge graphs with RAG systems
About the reader
For ML and AI engineers, data scientists, and data engineers. Examples in Python.
About the author
Alessandro Negro is Chief Scientist at GraphAware and author of Graph-Powered Machine Learning. Vlastimil Kus, Giuseppe Futia, and Fabio Montagna are seasoned ML and AI professionals specializing in Knowledge Graphs, Large Language Models, and Graph Neural Networks.
Table of Contents
Part 1
1 Knowledge graphs and LLMs: A killer combination
2 Intelligent systems: A hybrid approach
Part 2
3 Create your first knowledge graph from ontologies
4 From simple networks to multisource integration
Part 3
5 Extracting domain-specific knowledge from unstructured data
6 Building knowledge graphs with large language models
7 Named entity disambiguation
8 NED with open LLMs and domain ontologies
Part 4
9 Machine learning on knowledge graphs: A primer approach
10 Graph feature engineering: Manual and semiautomated approaches
11 Graph representation learning and graph neural networks
12 Node classification and link prediction with GNNs
Part 5
13 Knowledge graph–powered retrieval-augmented generation
14 Asking a KG questions with natural language
15 Building a QA agent with LangGraph
- ISBN-101633439895
- ISBN-13978-1633439894
- PublisherManning
- Publication dateNovember 18, 2025
- LanguageEnglish
- Dimensions7.38 x 1.1 x 9.25 inches
- Print length472 pages
Frequently bought together

Customers who viewed this item also viewed
- Domain-Specific Small Language Models: Efficient AI for local deploymentPaperbackFREE Shipping by AmazonGet it as soon as Monday, Sep 21
- Build a Reasoning Model (From Scratch)PaperbackFREE Shipping by AmazonGet it as soon as Sunday, Sep 20
- Build a Large Language Model (From Scratch)PaperbackFREE Shipping by AmazonGet it as soon as Sunday, Sep 20
- AI Agents and Applications: With LangChain, LangGraph, and MCPPaperbackFREE Shipping by AmazonGet it as soon as Monday, Sep 21
- AI Agents in Action, Second Edition: Intelligent workflows with LLMs, MCP, A2A, and morePaperbackFREE Shipping by AmazonGet it as soon as Monday, Sep 21
- AI Engineering: Building Applications with Foundation ModelsPaperbackFREE Shipping by AmazonGet it as soon as Sunday, Sep 20
Customers also bought or read
- Domain-Specific Small Language Models: Efficient AI for local deployment
Paperback$41.51$41.51FREE delivery Mon, Sep 21 - Build a Reasoning Model (From Scratch)#1 Best SellerProgramming Algorithms
Paperback$47.82$47.82FREE delivery Sun, Sep 20 - AI Agents and Applications: With LangChain, LangGraph, and MCP
Paperback$51.69$51.69FREE delivery Mon, Sep 21 - Building AI Agents with LLMs, RAG, and Knowledge Graphs: A practical guide to autonomous and modern AI agents
Paperback$41.99$41.99FREE delivery Mon, Sep 21 - Context Engineering for Multi-Agent Systems: Move beyond prompting to build a Context Engine, a transparent architecture of context and reasoning
Paperback$37.99$37.99FREE delivery Mon, Sep 21 - Generative AI Design Patterns: Solutions to Common Challenges When Building GenAI Agents and Applications
Paperback$68.99$68.99FREE delivery Sun, Sep 20 - 30 Agents Every AI Engineer Must Build: Build production-ready agent systems using proven architectures and patterns
Paperback$41.79$41.79FREE delivery Mon, Sep 21 - Agentic Coding with Claude Code: The everyday developer's guide to agentic coding with Claude Code
Paperback$36.33$36.33FREE delivery Mon, Sep 21 - AI Agents in Action: Build, orchestrate, and deploy autonomous multi-agent systems
Paperback$59.99$59.99 - Agentic Architectural Patterns for Building Multi-Agent Systems: Proven design patterns and practices for GenAI, agents, RAG, LLMOps, and enterprise-scale AI systems
Paperback$44.99$44.99FREE delivery Sun, Sep 20 - Building Applications with AI Agents: Designing and Implementing Multiagent Systems
Paperback$56.44$56.44FREE delivery Sun, Sep 20 - Design Multi-Agent AI Systems Using MCP and A2A: Engineer your own Python-based agentic AI framework with tool use, memory, and multi-agent workflows
Paperback$41.79$41.79FREE delivery Mon, Sep 21 - Designing Multi-Agent Systems: Principles, Patterns, and Implementation for AI Agents
Paperback$46.39$46.39FREE delivery Mon, Sep 21 - Graph Machine Learning: Learn about the latest advancements in graph data to build robust machine learning models
Paperback$38.54$38.54FREE delivery Mon, Sep 21 - Build a Large Language Model (From Scratch)#1 Best SellerComputer Neural Networks
Paperback$49.24$49.24FREE delivery Sun, Sep 20 - Reinforcement Learning from Human Feedback: LLM alignment and post-training
Just releasedPaperback$59.99$59.99FREE delivery Mon, Sep 21 - AI Systems Performance Engineering: Optimizing Model Training and Inference Workloads with GPUs, CUDA, and PyTorch
Paperback$87.70$87.70FREE delivery Mon, Sep 21 - LLMs in Production: From language models to successful products
Paperback$48.13$48.13FREE delivery Sun, Sep 20 - Agentic Design Patterns: A Hands-On Guide to Building Intelligent Systems
Paperback$35.61$35.61FREE delivery Sun, Sep 20 - Agentic Spec-Driven Development: A Practical Method for Using AI to Build Complete Specifications for Software, Products, and Knowledge Work
Paperback$39.95$39.95FREE delivery Mon, Sep 21 - AI Engineering: Building Applications with Foundation Models#1 Best SellerEnterprise Applications
Paperback$52.40$52.40FREE delivery Sun, Sep 20 - Deep Learning with PyTorch, Second Edition: Training and applying deep learning and generative AI models
Paperback$51.68$51.68FREE delivery Mon, Sep 21 - Hugging Face in Action: Build intelligent applications with transformers, agents, and RAG
Paperback$49.99$49.99FREE delivery Mon, Sep 21 - Generative AI with LangChain: Build production-ready LLM applications and advanced agents using Python, LangChain, and LangGraph
Paperback$41.99$41.99FREE delivery Mon, Sep 21
From the Publisher
“Builds understanding both at a theoretical and a practical level.”
Corey L. Lanum, Visualization Partners
“An excellent introduction to building KG and LLM-powered applications.”
Dave Bechberger, Author of Graph Databases in Action
“Comprehensive and well thought out! The authors hit it out of the park again.”
Sujit Pal, Elsevier
why this book?
Knowledge Graphs and LLMs in Action provides a practical guide to combining structured knowledge graphs with LLMs, showing you how to build, enrich, and exploit graphs in tandem with large language models to gain better context, reasoning, and explainability.
You get hands-on techniques, code, and best practices across all stages—labeling data, modeling the graph, linking to LLM outputs—so you can apply these concepts in real systems.
The synergy helps mitigate common LLM weaknesses—like hallucinations or lack of factual grounding—by anchoring their outputs in explicit relational structure.
about Manning
Manning helps developers and tech professionals stay ahead in a fast-moving industry with expert-led books, videos, and projects. Learning never stops, but it’s hard to keep up, so we focus on content that’s practical, clear, and trusted. As an independent publisher, we adapt quickly, from pioneering early-access books to offering DRM-free eBooks. Our series, like "In Action" and "In a Month of Lunches", reflect a commitment to making complex topics accessible.
Build a Large Language Model (From Scratch)
|
AI Agents in Action
|
Natural Language Processing in Action, Second Edition
|
LLMs in Production: From language models to successful products
|
Data Analysis with LLMs: Text, tables, images and sound (In Action)
|
Causal AI
|
|
|---|---|---|---|---|---|---|
|
Add to Cart
|
Add to Cart
|
Add to Cart
|
Add to Cart
|
Add to Cart
|
Add to Cart
|
|
| Customer Reviews |
4.5 out of 5 stars 613
|
4.0 out of 5 stars 51
|
4.8 out of 5 stars 8
|
4.5 out of 5 stars 36
|
4.8 out of 5 stars 7
|
4.4 out of 5 stars 14
|
| Level of proficiency | Intermediate | Intermediate | Intermediate | Intermediate | Intermediate | Advanced |
| About the reader | Readers need intermediate Python skills and some knowledge of machine learning. | For intermediate Python programmers. | For intermediate Python programmers. | For data scientists and ML engineers. | For data scientists and data analysts. | For data scientists and machine learning engineers. |
| Special features | Includes liveBook with out built-in AI assistant. | Includes liveBook with out built-in AI assistant. | Includes liveBook with out built-in AI assistant. | Includes liveBook with out built-in AI assistant. | Includes liveBook with out built-in AI assistant. | Includes liveBook with out built-in AI assistant. |
| Pages | 368 | 344 | 688 | 456 | 232 | 520 |
Editorial Reviews
About the Author
Dr. Vlastimil Kus is the Lead Data Scientist at GraphAware where he contributes to the development of Hume. Over the years he gained significant experience in building and utilizing Knowledge Graphs from unstructured data using NLP and ML techniques in various domains. His current focus is NLP and Graph Machine Learning.
Dr. Giuseppe Futia is Senior Data Scientist at GraphAware and a Fellow at the Nexa Center for Internet & Society. He holds a Ph.D. in computer engineering from the Politecnico di Torino (Italy), where he explored Graph Representation Learning techniques to support the automatic building of Knowledge Graphs.
Fabio Montagna is the Lead Machine Learning Engineer at GraphAware. He holds a master’s degree in software engineering from Unisalento (Italy). As a bridge between science and industry, he assists with moving rapidly from scientific reasoning to product value.
Product details
- Publisher : Manning
- Publication date : November 18, 2025
- Language : English
- Print length : 472 pages
- ISBN-10 : 1633439895
- ISBN-13 : 978-1633439894
- Item Weight : 1.12 pounds
- Dimensions : 7.38 x 1.1 x 9.25 inches
- Part of series : In Action
- Best Sellers Rank: #46,945 in Books (See Top 100 in Books)
- #13 in Data Processing
- #19 in Natural Language Processing (Books)
- #155 in Computer Science (Books)
- Customer Reviews:
About the author

Discover more of the author’s books, see similar authors, read book recommendations and more.



















