Ontology
What is Ontology?
In information systems, an ontology is a formal model of a domain's concepts, their properties and relationships, defined precisely enough that people and software can share and reason about the same meaning.
Updated November 2026 · 2 min read
In data and AI work, an ontology is the agreed model that says what kinds of things exist in a domain, what attributes they have, how they connect and which rules hold, written down formally enough that software can use it as well as people. An ontology for a hospital, for example, defines what a patient, a diagnosis, a procedure and a physician are, how they relate and which rules apply, such as that every procedure must be performed by a licensed clinician.
The word comes from philosophy, where it refers to the study of what exists. Computer scientists borrowed it for formal models of knowledge, and Tom Gruber's 1993 definition of an ontology as an explicit specification of a conceptualization became widely cited.
What does an ontology define?
- Classes: kinds of things, such as Customer, Product or Contract.
- Hierarchies: which classes are sub-types of others, such as "Enterprise Customer is a kind of Customer."
- Properties: attributes, such as a contract's start date.
- Relationships: how classes connect, such as "Customer signs Contract."
- Rules and constraints: such as "every Contract has exactly one Customer."
- Instances: sometimes, the actual members of each class.
Standards and tools
The Web Ontology Language (OWL), a W3C standard first published in 2004, is the most widely used formal language for ontologies, built on the RDF data model. Well-known public ontologies include SNOMED CT in healthcare and schema.org, which websites use to describe their content to search engines. In industry, many organizations define ontologies in simpler forms, such as property graph schemas or data models, without full formal logic.
Why ontologies matter now
Ontologies help in three ways. They let data from different systems be connected because everything maps to shared concepts. They give AI systems an explicit picture of a domain, improving AI grounding. And they make definitions explicit, so "active customer" means the same thing in every report.
An example
Consider a hypothetical insurer whose claims, policy and customer systems each define "policyholder" differently. One includes named drivers, one includes only the paying customer and one includes former customers. It creates an ontology defining Person, Policy, Policyholder, Named Driver and Claim, with explicit relationships and rules. Each system's data is mapped to the ontology. Reports and AI assistants now use one definition, and a long-running disagreement about the number of active customers is settled.
Common pitfalls
- Over-engineering: modeling every concept before delivering any value.
- Building it without the business, so terms do not match how people talk.
- No governance for changes.
See taxonomy vs. ontology for how ontologies differ from simpler classification schemes, and enterprise ontology for ontologies of whole organizations.
Frequently asked questions
What are the parts of an ontology in data and AI?
An ontology defines classes, or kinds of things such as Customer or Contract; hierarchies showing which classes are sub-types of others; properties such as a contract's start date; relationships such as Customer signs Contract; and rules or constraints such as every Contract having exactly one Customer. Some ontologies also list instances, the actual members of each class.
Which standards are used to write an ontology?
The Web Ontology Language, or OWL, a W3C standard first published in 2004 and built on the RDF data model, is the most widely used formal language. Well-known public ontologies include SNOMED CT in healthcare and schema.org for describing website content. Many companies use simpler forms, such as property graph schemas or data models, without full formal logic.
How does an ontology help AI systems?
An ontology gives AI systems an explicit picture of a domain, which improves AI grounding. It also lets data from different systems be connected, because each maps to shared concepts, and it makes definitions explicit, so a term like active customer means the same thing in every report and in every AI answer.
Related terms
AI Grounding
Tying AI answers and actions to real, verifiable sources of information.
Taxonomy vs. Ontology
Hierarchies of categories versus richer models of how concepts relate.
Enterprise Ontology
A shared model of an organization's core concepts and how they connect.
Semantic Layer
Shared business definitions that sit between raw data and reporting tools.