Ontology
An ontology is a formal representation of concepts or entities in a domain and the relationships, properties, and constraints that define them.
Knowledge Graphs and LLMs in Action
An ontology is a formal model of concepts, relationships, and constraints in a domain that supports shared interpretation and inference.
- How it is used
- Aligns heterogeneous domain data into a shared knowledge-graph vocabulary for integration, querying, reasoning, and entity disambiguation.
- How deep it goes
- Defines semantic relationships and constraints, then applies them through mappings, graph ingestion, hierarchical propagation, and reasoning.
- Examples
- Uses HPO disease–phenotype annotations, SNOMED hierarchies, and Zika entity candidates to demonstrate mapping, provenance, propagation, and disambiguation.
- What you can do after
- Build it from scratch by loading an ontology, mapping source data, ingesting graph entities and relationships, and querying the resulting knowledge graph.
Read how Knowledge Graphs and LLMs in Action explains ontology →
Digital Twins in Action
An ontology is a formal specification of concepts, relationships, and constraints in a domain that gives data a shared semantic interpretation.
- How it is used
- Provides the semantic foundation for contextualizing physical-system data in a digital twin.
- How deep it goes
- Defines core components, illustrates formal representations, and compares adoption strategies with governance concerns.
- Examples
- Illustrates factory classes and rules, a DTDL room interface, and a thermostat graph based on RealEstateCore.
- What you can do after
- Evaluate ontology adoption, extension, or custom development against domain fit and interoperability needs.
Healthcare IT
An ontology is a formal representation of concepts in a domain and the relationships among those concepts.
- How it is used
- Preserves clinical meaning across EHRs and care settings so health data can be exchanged, interpreted, reused, and applied safely.
- How deep it goes
- Defines ontology, explains specialty and temporal limits, and identifies complementary terminologies without detailing their implementation mechanics.
- Examples
- Uses internal patient transfer, CBC data, specialty vocabularies, COVID-19, hypoxemia, MIS-C, and Long COVID as concrete cases.
- What you can do after
- Evaluate and design terminology combinations that preserve clinical meaning across systems and reduce ambiguity in downstream healthcare logic.
AI-Powered Search
An ontology is a formal representation of concepts in a domain and the relationships and constraints among them.
- How it is used
- Structures domain relationships so search and natural-language systems can interpret concepts beyond isolated keywords.
- How deep it goes
- Defines ontology and positions it among modeling layers, but stops short of implementation or query examples.
- Examples
- Uses type hierarchies such as human is mammal and entity relationships such as John eats food.
- What you can do after
- Evaluate how an ontology fits within a domain-specific search knowledge model.
Architecting Autonomous Agentic Systems
An ontology is a formal representation of a domain's concepts, relationships, constraints, and axioms.
- How it is used
- Defines governed enterprise meaning so agents can retrieve, traverse, qualify, and cite relationships directly.
- How deep it goes
- Explains classes, relationships, constraints, axioms, and governance boundaries, while stopping short of determining live facts or authorizing action.
- Examples
- Uses legal classes and assertions linking provisions, obligations, judgments, factual propositions, and evidence.
- What you can do after
- Evaluate semantic architecture by separating conceptual meaning, governed assertions, stored records, and decision authority.
Read how Architecting Autonomous Agentic Systems explains ontology →
Also covered in
- Natural Language Processing in Action, Second Edition
- Context EngineeringIn early access (MEAP)
- The Complete Obsolete Guide to Generative AI
What to know first
- language modelA language model is a computational model that represents patterns in linguistic sequences to assign probabilities, predict, generate, or evaluate language.
- CypherCypher is a declarative graph query language for expressing patterns and retrieving, creating, or modifying property-graph data.
- formal languageA formal language is a set of strings over an alphabet defined by explicit rules for forming valid expressions and, optionally, interpreting them.
- knowledge graphA knowledge graph is a graph-structured representation of entities and their semantically meaningful relationships, often including associated attributes or facts.
Related concepts
- knowledge graphconfigures · A knowledge graph is a graph-structured representation of entities and their semantically meaningful relationships, often including associated attributes or facts.
- RDFused by · RDF, or Resource Description Framework, is a W3C standard data model for representing information about resources and their relationships as subject-predicate-object triples.
- attributehas part · An attribute is a named property or piece of information associated with an entity, object, or structured data item.
- context-awarenessconfigures · Context-awareness is the ability of a system to interpret information or adapt its behavior by taking relevant surrounding circumstances into account.
- edgehas part · An edge is a connection between two vertices or nodes in a graph or related structure, representing a relationship and optionally carrying direction, labels, or weights.
Questions about ontology
What is ontology?
An ontology is a formal representation of concepts or entities in a domain and the relationships, properties, and constraints that define them.
Which Manning books explain ontology?
Knowledge Graphs and LLMs in Action, Digital Twins in Action, Healthcare IT, AI-Powered Search and Architecting Autonomous Agentic Systems.
What should I know before learning ontology?
Manning books that teach ontology usually introduce language model, Cypher, formal language and knowledge graph first.
What kinds of ontology are there?
Kinds of ontology include custom ontology.
What are the parts of ontology?
Ontology includes attribute and edge.
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.




