Two hospitals want to merge patient records. One writes "diagnosis", the other "condition". A person knows these mean the same thing; a program does not. Both write "visit", but one means outpatient only and the other includes admissions.
An ontology is a document that reduces this kind of mismatch. It states what kinds of things exist in a field and how they can relate to one another, in a form both people and machines can read.
Ontology = an explicit, shared blueprint of the concepts (classes) and relations (properties) of a field, plus the rules they must follow.
How it differs from similar things
| Kind | What it holds | Example |
|---|---|---|
| Glossary | Words and their meanings | A company term list |
| Taxonomy or thesaurus | Broader, narrower and related terms | Library classification, subject headings |
| Database schema | Tables and columns inside one system | A users table definition |
| Ontology | Concepts, relations and logical rules, with identifiers that work outside one system | PROV-O, Gene Ontology |
Two differences matter most. Ontology terms have global identifiers shaped like web addresses (IRIs), so data from another organisation can point at exactly the same thing. And an ontology contains rules such as "a cat is a mammal", so a program can infer facts nobody wrote down.
Why look for an existing one
An ontology becomes valuable when many parties use the same one. So the usual habit is to look for a published ontology and reuse it before writing a new one. That is why this site collects public ontologies.
See it in a real ontology
- PROV-O: The PROV Ontology
Describes who made something, from what, and when. Small enough to read first. - Gene Ontology
The Gene Ontology describes what genes do. The most widely used ontology in the life sciences.