AI Glossary / Graphs and symbolic AI / Intermediate
Ontology engineering
Definition
Ontology engineering is the systematic development and maintenance of a shared model of domain concepts, relationships, and assumptions. It turns informal knowledge into an explicit ontology that people and software can interpret consistently. Often called ontological engineering, the discipline includes requirements, conceptual modeling, formalization, evaluation, reuse, and change management rather than merely drawing a hierarchy of terms.
What it means
The central problem is deciding what information means and how to represent it for an intended purpose. A support organization might need to distinguish a reported symptom, a diagnosed cause, and a repair action. Treating all three as interchangeable issue labels would make some queries unreliable.
Ontology engineering makes those distinctions reviewable. It connects definitions to examples, tests what follows from formal statements, and checks whether the model supports the application's questions. It also considers future maintenance: concepts can change, sources can disagree, and existing mappings may need revision.
How it works
A project begins with concrete uses and a bounded domain. Questions that the resulting knowledge base should answer help specify the necessary detail. Existing vocabularies can be reviewed for reuse, but similar names do not establish compatible meanings.
The team defines classes, relationships, and relevant restrictions, then expresses them in a suitable formalism. Small example datasets help expose missing distinctions and unwanted consequences. Domain experts review meaning, while technical checks examine logical behavior and the compatibility of the chosen tools.
Evaluation continues as the ontology is used. A change can affect inferred classifications, queries, source mappings, and downstream applications. Versioned definitions, change explanations, and representative examples help users understand those effects. The amount of formal machinery should suit the task rather than becoming an end in itself.
Three practical examples
- Support knowledge: distinguish symptoms, causes, and actions so that a question about confirmed causes does not return every reported symptom.
- Catalog integration: align supplier concepts with an internal model while documenting mappings that are approximate rather than exact.
- Scientific data sharing: agree on experiment, measurement, and instrument concepts before combining records from different projects.
Think of it this way
Think of developing a shared technical language together with examples of correct and incorrect usage. The work includes agreeing on meanings, checking misunderstandings, and maintaining the agreement as the organization changes.
The analogy is limited because a formal ontology can produce machine-derived consequences. A definition may influence thousands of classifications, so a wording change that appears small can have significant computational effects.
Worked example
Suppose a help-desk project asks, “Which cases have a confirmed power-supply fault?” Its first model has only a Case class and a hasIssue relationship. Case c1 hasIssue NoPower; case c2 hasIssue PowerSupplyFault. The relationship does not state whether the label describes a symptom or a diagnosis.
A revised design introduces Symptom and Diagnosis concepts with separate reportsSymptom and hasConfirmedDiagnosis relationships. It records reportsSymptom(c1,NoPower) and hasConfirmedDiagnosis(c2,PowerSupplyFault). The target query now returns c2 from the available facts.
The model should not infer a confirmed power-supply fault for c1 merely because the device has no power. Several possible causes could produce that symptom. If later evidence confirms the diagnosis for c1, an additional assertion can make it a query result without redefining the symptom.
An evaluation set should therefore include c2 as an expected result and c1 as a case that must not be inferred from the symptom alone. If the system uses open-world reasoning, this means the diagnosis is not established for c1, not that the diagnosis is proven false. This original example shows how requirements, modeling, and tests work together; it does not diagnose real equipment.
Illustrative case study
Fictional case: a service provider imports a supplier vocabulary and treats every supplier issue code as equivalent to an internal confirmed-diagnosis category. Its reports then overstate the number of diagnosed faults.
The ontology team reviews the mappings with service specialists, separates symptom codes from confirmed diagnoses, and keeps uncertain mappings explicitly qualified. It uses representative cases to check that the corrected model supports the intended reports. The scenario illustrates semantic review during reuse, not a measured deployment outcome or a claim that all supplier vocabularies have this problem.
Common misconceptions and mistakes
Ontology engineering is not simply converting a spreadsheet into a formal file. Conversion preserves the original structure, including any ambiguity, unless the meanings are examined.
It is also not solely a reasoner's job. A reasoner can identify consequences or inconsistencies under its semantics, but it does not know whether a business definition captures the intended practice.
Do not assume that an ontology axiom is a data-entry validation rule. For example, OWL can describe relationships under open-world semantics without requiring every associated fact to be explicitly present in a record. Application-level validation requirements may need separate mechanisms.
Business use
The discipline helps teams build knowledge services that remain interpretable as data and applications change. Its value can appear in clearer source mappings, more reliable query meanings, and fewer disputes about what a category represents.
A useful project plan assigns ownership of definitions and mappings, records intended questions, and identifies downstream consumers of changes. Reviews should examine both expected inferences and inferences that should not occur. Maintaining these examples alongside the ontology provides a concrete basis for discussing revisions instead of relying only on diagrams or informal agreement.
People also ask
Is ontology engineering a one-time design activity?
No. The model usually needs review as its domain, data sources, and applications evolve.
Can AI generate an ontology automatically?
It can assist with candidate terms or relationships, but the resulting meanings and consequences still require validation against the intended domain and use.
How is success assessed?
By whether the ontology supports its intended questions and integrations with appropriate meaning, not merely by its size or syntactic validity.
Check your understanding
Why is c1 excluded from the confirmed-fault results in the worked example?
Answer: It has a reported symptom, not an established diagnosis. The ontology does not equate those concepts or infer that particular cause from the symptom alone.
Related terms
- Ontological engineering
- Ontology
- Semantic mapping
- Knowledge engineering
- competency question
- reasoner
- open-world assumption
- ontology versioning
Learn next
Create a small list of expected answers and non-entailments for a domain question. Review the examples with a domain expert, then examine whether the proposed definitions and mappings produce those results under the chosen reasoning semantics.
More in Graphs and symbolic AI
- Online replanning - Online replanning is the process of revising a plan while an agent is carrying out its task, using new observations or changed conditions.
- Online search - Online search is problem solving that interleaves computation with actions and observations in an environment.
- Ontological commitment - An ontological commitment is a choice about what kinds of things a representation treats as existing and how its vocabulary refers to them.
- Open-loop - Open-loop describes a control or action process that does not use feedback from the controlled result to revise its commands during the relevant execution...
- Operationality - Operationality is the suitability of a concept description for effective use by a particular performance system.
- Operations research - Operations research is the use of mathematical models and analytical methods to support better decisions about complex systems.
Sources
Noy and McGuinness, Ontology Development 101: https://protege.stanford.edu/publications/ontology_development/ontology101-noy-mcguinness.html — application scope, reuse, and iterative ontology development.
W3C, OWL 2 Primer: https://www.w3.org/TR/owl2-primer/ — formal ontology statements, inference, and the distinction from database or document-validation semantics. The support-case workflow and evaluation examples are original.
Previous: Ontology-based data integration Next: Ontology learning