Concept Architecture
Consistency (Ontology) in OWL and Linked Data
In logic-based ontologies, consistency asks whether some possible situation exists in which every statement of an ontology and its data holds at once. A reasoner answers the question for ontologies written in the Web Ontology Language (OWL), and an inconsistent result means the statements contradict one another. The check would arise, for example, when cost, utility and trial records from several publishers are merged under one ontology. This sense is unrelated to consistency and inconsistency in network meta-analysis, which concern whether direct and indirect evidence on the same comparison agree.
Who uses the term and how
The OWL 2 Direct Semantics, edited by Motik, Patel-Schneider and Cuenca Grau, lists ontology consistency among the standard inference problems. An ontology is consistent, or satisfiable, when a model of it exists, a model being an interpretation in which all of its axioms hold. The W3C texts and Zaveri and colleagues use the plain word consistency, and the qualifier (Ontology) is the wiki's own.
where is the ontology, is an interpretation that assigns meanings to the names in , and means that every axiom of is true under . The OWL 2 Primer gives the plain reading, a set of statements being inconsistent when no state of affairs makes them all true together.
Consistency is always judged against a particular language. RDF 1.1 Concepts calls an RDF graph inconsistent when it contains an internal contradiction, and adds that RDF itself recognises only basic cases, with RDF Schema and OWL adding more. The RDF 1.1 Semantics states that every graph is simply satisfiable, while a graph containing an ill-typed literal, such as the text abc typed as an integer, is unsatisfiable once datatypes are recognised.
What makes an OWL ontology inconsistent
Contradictions arise only where axioms rule some combination out. The OWL 2 Structural Specification shows each clash below, and the readings are illustrative.
| Axiom | Clash that breaks consistency | Illustrative reading |
|---|---|---|
| DisjointClasses | One individual belongs to both classes | A record typed as both a cost parameter and a utility parameter |
| FunctionalDataProperty | Two different literal values for one individual | Two different cost discount rates for one base-case model run |
| DataPropertyRange | A value outside the declared data range | A transition probability recorded as 12 instead of 0.12 |
| DifferentIndividuals with SameIndividual (owl:sameAs) | Two names declared both different and identical | Two identifiers for one hospital declared different and also linked by owl:sameAs |
Many apparent errors are not contradictions. Two different identifiers given as values of a functional object property lead a reasoner to infer that they name one thing, the case set out on the Nonunique Naming Assumption page. Under the open world assumption, a missing value is unknown and never makes data inconsistent.
Ontology consistency and class satisfiability
The Direct Semantics treats a second question separately. A class is satisfiable when some model gives it at least one member, so an ontology can be consistent while one of its classes can never have members, for example a class placed under two disjoint classes. Such an unsatisfiable class signals a modelling error, and asserting any individual into it makes the whole ontology inconsistent.
Why a single contradiction matters
The RDF 1.1 Semantics notes that an unsatisfiable graph entails any graph, the old principle of ex falso quodlibet, and warns that this gives no licence to draw conclusions from it. Classification and query answers over an inconsistent ontology therefore carry no information until the clash is removed.
Zaveri and colleagues, in their survey of linked data quality, define consistency as freedom from logical or formal contradictions relative to a given representation and inference mechanism. They note that loading a knowledge base into a reasoner is the direct test but can fail for very large data, and that linked data need not conform to OWL DL. Their metrics include the share of entities described as members of disjoint classes.
Contradictory statements on the web
Allemang, Hendler and Gandon argue that the web must let conflicting claims stand side by side, since sources disagree on substance, deceive, make mistakes or fall out of date, and software cannot tell these cases apart. In their account a person reading web pages can handle contradictions by common sense, and they offer modelling as the answer to the problem of software combining statements. Disagreement is not yet inconsistency. Two sources reporting different utility values for one health state contradict each other logically only if a vocabulary declares that a state has a single value, the point the AAA Slogan page makes for RDF. Such a declaration would usually be a modelling error, because one health state can carry different utility values by instrument, value set and population.
Worked example with a merged parameter catalogue (illustrative)
All figures are illustrative. A team merges 250 parameter records from three publishers into one knowledge graph. Its ontology declares cost parameters and utility parameters disjoint, restricts probabilities to values between 0 and 1, and makes the base-case value of each parameter functional.
1. Run the reasoner. The merged graph is reported inconsistent, and no classification is returned.
2. Find the clashes. Six records are typed as both cost and utility parameters, two transition probabilities were entered as percentages (12 and 15), and three parameters carry two different base-case values from different publishers, so 6 + 2 + 3 = 11 records clash.
3. Measure them. The disjoint-class share is 6 / 250 = 0.024, or 2.4%, and all clashing records are 11 / 250 = 0.044, or 4.4%.
4. Repair and rerun. The team retypes the six records after checking their sources, rescales the probabilities to 0.12 and 0.15, and records the competing base-case values as separate estimates with their sources. The reasoner then reports the graph consistent.
5. Interpret the result. Consistency shows only that the statements can all hold together. Whether 0.12 is the right probability remains a question of data quality.
Consistency checks in the HEO family
The release notes of the Health Economics Ontology (HEO), at healtheconomics.wiki/ontologies/heo, record for release 1.3.0 that the ELK and HermiT reasoners pass and that a rule-based OWL 2 RL closure placed nothing in the empty class that OWL calls Nothing, and releases 1.3.1 and 2.0.0 changed no concept or relationship. For the Real Health Economics Ontology (RHEO), now at 0.4.0, the release notes record for release 0.3.0 that ELK and HermiT found no inconsistency or unsatisfiable class, and that an OWL 2 RL rule check detected the three contradictions planted for testing. The RHEO result says more than the HEO one, because RHEO declares disjoint classes that can clash, while HEO is mainly a SKOS vocabulary with no disjointness or functional axioms and so can rarely become inconsistent. Both also run Shapes Constraint Language validation separately, which tests records against shapes rather than axioms for contradiction.
Common misreadings
A consistent ontology is not thereby a correct one, and an ontology with few disjointness or functional axioms has few ways to become inconsistent. The OWL 2 Primer observes that disjointness statements are often omitted, so many useful consequences can be lost. The label also differs from internal consistency reliability in questionnaire scoring and from self-consistency in prompting language models.
Sources
- Motik B, Patel-Schneider PF, Cuenca Grau B, editors. OWL 2 Web Ontology Language Direct Semantics (Second Edition). W3C Recommendation, 11 December 2012. https://www.w3.org/TR/owl2-direct-semantics/
- Hitzler P, Krötzsch M, Parsia B, Patel-Schneider PF, Rudolph S, editors. OWL 2 Web Ontology Language Primer (Second Edition). W3C Recommendation, 11 December 2012. https://www.w3.org/TR/owl2-primer/
- Motik B, Patel-Schneider PF, Parsia B, editors. OWL 2 Web Ontology Language Structural Specification and Functional-Style Syntax (Second Edition). W3C Recommendation, 11 December 2012. https://www.w3.org/TR/owl2-syntax/
- Cyganiak R, Wood D, Lanthaler M, editors. RDF 1.1 Concepts and Abstract Syntax. W3C Recommendation, 25 February 2014. https://www.w3.org/TR/rdf11-concepts/
- Hayes PJ, Patel-Schneider PF, editors. RDF 1.1 Semantics. W3C Recommendation, 25 February 2014. https://www.w3.org/TR/rdf11-mt/
- Zaveri A, Rula A, Maurino A, Pietrobon R, Lehmann J, Auer S. Quality assessment for linked data: a survey. Semantic Web. 2016;7(1):63-93. https://doi.org/10.3233/SW-150175
- Allemang D, Hendler J, Gandon F. Semantic Web for the Working Ontologist: Effective Modeling for Linked Data, RDFS, and OWL. 3rd edition. ACM Books; 2020. Chapter 1, pp 12 to 18.
- Knublauch H, Kontokostas D, editors. Shapes Constraint Language (SHACL). W3C Recommendation, 20 July 2017. https://www.w3.org/TR/shacl/
- Baines D, Ashley M. Health Economics Ontology (HEO), version 2.0.0, release notes. Intelligent Parameters Ltd; 8 November 2026.
- Baines D, Ashley M. Real Health Economics Ontology (RHEO), version 0.4.0, release notes. Intelligent Parameters Ltd; 8 November 2026.
Related Concepts (3)
Frequently Asked Questions (6)
What is Consistency?
Consistency (ontology) is the property of an ontology or knowledge graph whose statements can all be true together, with no logical contradiction.
Source: Hitzler et al. 2012
How do the W3C standards define Consistency (Ontology) formally?
The OWL 2 Direct Semantics lists ontology consistency among the standard inference problems that reasoners solve. An ontology is consistent, which the standard also calls satisfiable, when at least one model of it exists. A model is an interpretation that assigns meanings to the names in the ontology so that every one of its axioms comes out true. If no such interpretation exists, the axioms contradict one another and the ontology is inconsistent. The same standard treats class satisfiability as a separate question, so a consistent ontology can still contain a class that can never have members.
Source: Motik et al. 2012
What kinds of statements break Consistency (Ontology) in an OWL ontology?
Consistency (Ontology) can fail only where axioms rule some combination of facts out. The OWL 2 Structural Specification gives an example of each clash. An individual placed in two classes declared disjoint breaks it, as does a functional data property given two different values for one individual. A literal outside its declared data range has the same effect, and so do two names declared different and also stated to be the same. Two different identifiers given as values of a functional object property do not clash, because OWL makes no unique name assumption and a reasoner infers that the two names refer to one thing.
Source: Motik et al. 2012
Why does a single contradiction matter for Consistency (Ontology)?
An inconsistent ontology has no model, and the RDF 1.1 Semantics notes that an unsatisfiable graph entails any graph whatever, the old principle known as ex falso quodlibet. The standard warns that this gives no licence to draw conclusions from such a graph. One contradiction is therefore enough to make classification and query answers over the whole graph uninformative. In a merged catalogue of model parameters whose ontology declares cost and utility parameters disjoint, for example, a single record typed as both blocks every reasoning result until it is found and repaired.
Source: Hayes and Patel-Schneider 2014
Does disagreement between data sources break Consistency (Ontology)?
Two sources may report different utility values for one health state without breaking Consistency (Ontology). The merged statements contradict each other logically only if the vocabulary declares that a health state has a single value. The OWL 2 Primer shows how such a restriction is made, by declaring a data property functional so that each individual can have only one value for it. Such an axiom would usually be wrong for utilities, which legitimately differ by instrument, value set and population, so the two values should stand side by side as separate claims. Choosing between them is then a question of evidence and data quality rather than logic.
Source: Hitzler et al. 2012
How is Consistency (Ontology) assessed in linked data quality work?
Zaveri and colleagues, in a survey of linked data quality, treat consistency as a quality dimension and define it as freedom from logical or formal contradictions relative to a given representation and inference mechanism. They note that loading a knowledge base into a reasoner is the direct way to check Consistency (Ontology), but that this approach is not feasible for some knowledge bases, such as very large ones. Linked data also need not conform to OWL DL. Their metrics therefore include simpler counts, such as the share of entities described as members of disjoint classes.
Source: Zaveri et al. 2016
Trust Record
Verified by Dr Darrin Baines
British health economist
Professional identity: darrinbaines.org
Verification date: 21 Nov 2026
Content version: 1.0.1
Canonical Identity
- Term code
- HS-HP-DH-156
Stable URI · Machine-readable · Resolvable · CC BY 4.0
