Nonunique Naming Assumption

The nonunique naming assumption is the Semantic Web principle that two different names, such as IRIs, may denote the same thing unless data say otherwise.

Status
Published, version 1.0.1
Last reviewed
21 Nov 2026, by Dr Darrin Baines
Report a problem
Tell us if something is wrong or out of date

Concept Architecture

Nonunique Naming Assumption in Linked Data and OWL

Under the nonunique naming assumption, software cannot conclude that two things differ merely because their identifiers differ. It is a working rule of the Semantic Web, where each publisher mints its own names. Health economists can meet the rule when they merge linked data from several publishers, since one hospital or study may carry a different identifier in each source. Counting every identifier as a new thing can inflate totals drawn from merged data.

Where the term comes from

Nonunique Naming Assumption is the book's own phrase, used in chapter 1 of Allemang, Hendler and Gandon's Semantic Web for the Working Ontologist (third edition, 2020) for web authors without an agreement choosing different identifiers for one resource, and none of the W3C specifications cited here uses it. The standard term in description logic and in the W3C documents for the Web Ontology Language (OWL) is the unique name assumption (UNA), which holds that different names always denote different things. The OWL Reference of 2004 and the OWL 2 Primer both state that OWL does not make that assumption, so the book's label names the absence of the UNA rather than a separate rule.

Unique names in single systems and their absence on the web

The OWL 2 Structural Specification describes the unique name assumption as the assumption that all different individual names denote different individuals. A trial database that gives each participant one identifier is an illustrative case where it holds. On the Semantic Web, the OWL 2 Primer explains, names may be coined by different organisations at different times while unknowingly referring to the same individual. The Description Logic Primer of Krötzsch, Simančík and Horrocks states that description logics do not make the unique name assumption, so different names might refer to one individual unless explicitly stated otherwise.

The Resource Description Framework (RDF) settles only the opposite case. RDF 1.1 Concepts states that IRIs, the web identifiers RDF uses as names, have global scope, so two appearances of the same IRI denote the same resource. Allemang and colleagues attribute nonunique naming to the lack of coordination among those who name things on the web. Heath and Bizer call such identifiers URI aliases and note that one identifier per thing would need a central naming authority.

Stating sameness and difference in OWL

Because identity is left open, OWL supplies statements that settle it. The readings in the table are illustrative.

ConstructWhat it statesIllustrative reading
sameAs (SameIndividual in OWL 2 functional syntax)The names denote one individual, and each can replace the other without changing the meaningTwo registries' identifiers for one hospital
differentFrom (DifferentIndividuals)The names denote different individualsTwo hospitals sharing a short name
AllDifferent, or DifferentIndividuals over many namesEvery name in the list denotes a different individualThe comparators in one decision model

The OWL 2 Structural Specification notes that DifferentIndividuals over a set of names axiomatises the unique name assumption for those names only.

Equality that a reasoner infers

The OWL 2 Structural Specification gives the case of an object property declared functional, so that each individual has at most one value, with two different names recorded as values for the same individual. The ontology is not inconsistent, because OWL 2 does not make the unique name assumption, and a reasoner infers that the two names denote one individual. Adding a DifferentIndividuals statement for the two names, as the specification shows, turns this into a contradiction.

A modeller who declares, as an illustration, that each model run links to at most one base-case incremental cost-effectiveness ratio (ICER) record, meaning to catch duplicates, would see two ratio records with different identifiers for one run inferred to be one. Keys work the same way, a form of matching that the entity resolution page discusses. Duplicate checks belong in a validation language such as the Shapes Constraint Language.

Counting names and counting things

SPARQL 1.1 evaluates basic graph patterns by subgraph matching, and its DISTINCT modifier removes only solutions that bind the same variables to the same RDF terms. A count of distinct hospitals over merged linked data therefore counts identifiers, and two identifiers for one hospital count twice unless the data or the query collapses them first.

Worked example counting hospitals across two sources (illustrative)

All names, counts and costs here are illustrative. A budget impact analysis needs the number of hospitals that must train staff before a new service starts, at GBP 20,000 per hospital. Source A, a costing table, names 5 hospitals and states that they are all different. Source B, a trial site list from another publisher, names 4 sites and states the same of them. In truth 3 sites are hospitals in source A and 1 is new, so the true number is 5 + 1 = 6.

max⁡(nA,nB)≤N≤nA+nB\max(n_A, n_B) \le N \le n_A + n_B

where NN is the number of distinct hospitals, nAn_A is the number of names in source A, nBn_B is the number of names in source B, with each source's names declared all different and no links between the sources.

1. Count the names. The merged data hold 5 + 4 = 9 identifiers. Reading them as unique names gives 9 hospitals and a set-up cost of 9 × 20,000 = GBP 180,000.

2. Apply the bounds. With nA=5n_A = 5 and nB=4n_B = 4, the statements allow any N from 5 to 9.

3. Add two sameAs links. Sites 1 and 2 are linked to hospitals 1 and 2. Sites 3 and 4 differ from sites 1 and 2, and so from those hospitals, so each matches one of the 3 other hospitals or is new. The bounds narrow to 5 ≤ N ≤ 5 + 2 = 7.

4. Settle the last two sites. A third sameAs link pairs site 3 with hospital 3. Site 4 already differs from the 3 linked hospitals, so 2 differentFrom statements against hospitals 4 and 5 fix N = 5 + 1 = 6, matching the 9 − 3 = 6 identifiers left once the 3 links are collapsed.

5. Interpret the result. The set-up cost is 6 × 20,000 = GBP 120,000, so the name count overstated it by 180,000 − 120,000 = GBP 60,000, which is 60,000 / 120,000 = 0.5, or 50%. A missing link pushes the count up, while a wrong sameAs link would push it down by merging two real hospitals.

Identity statements in the HEO family

The Health Economics Ontology (HEO), version 2.0.0, at healtheconomics.wiki/ontologies/heo, links 602 of its concepts to Wikidata items with the SKOS exactMatch property and contains no sameAs statement, so these links record matching concepts without asserting full OWL identity. The companion Health Economics Institutions and Rules Ontology (HEIRO), an alpha release at version 0.2.0, declares its four guidance version statuses all different, so any inference equating a superseded status with a current one is a contradiction.

When the assumption fits

The nonunique naming assumption suits data merged from publishers who did not coordinate their identifiers. Inside one system where a single authority assigns every identifier, unique names hold in practice, and an ontology built over that system can restore them with DifferentIndividuals statements. The open world assumption is a separate rule, about missing facts rather than identity.

Common misreadings

Different identifiers do not prove different things, and an absent sameAs link does not state that two things differ. A sameAs link asserts full identity, so every statement about one name holds for the other. The SKOS Reference advises that sameAs is typically inappropriate between concepts in different concept schemes, which the mapping properties of the Simple Knowledge Organization System link instead. Deciding which names match is the work of record linkage, and a sameAs link is only as reliable as that matching.

Sources

  • 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.
  • Dean M, Schreiber G, editors. OWL Web Ontology Language Reference. W3C Recommendation, 10 February 2004. https://www.w3.org/TR/owl-ref/
  • 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/
  • Krötzsch M, Simančík F, Horrocks I. A Description Logic Primer. arXiv:1201.4089; 2012 (version 3, 3 June 2013). https://arxiv.org/abs/1201.4089
  • 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/
  • Harris S, Seaborne A, editors. SPARQL 1.1 Query Language. W3C Recommendation, 21 March 2013. https://www.w3.org/TR/sparql11-query/
  • Heath T, Bizer C. Linked Data: Evolving the Web into a Global Data Space. Morgan and Claypool; 2011. http://linkeddatabook.com/editions/1.0/
  • Miles A, Bechhofer S, editors. SKOS Simple Knowledge Organization System Reference. W3C Recommendation, 18 August 2009. https://www.w3.org/TR/skos-reference/
  • Knublauch H, Kontokostas D, editors. Shapes Constraint Language (SHACL). W3C Recommendation, 20 July 2017. https://www.w3.org/TR/shacl/

Frequently Asked Questions (6)

  • What is Nonunique Naming Assumption?

    The nonunique naming assumption is the Semantic Web principle that two different names, such as IRIs, may denote the same thing unless data say otherwise.

    Source: Hitzler et al. 2012

  • How does the Nonunique Naming Assumption relate to the unique name assumption?

    The phrase nonunique naming assumption is used by Allemang, Hendler and Gandon in Semantic Web for the Working Ontologist, while description logic and the W3C documents for the Web Ontology Language (OWL) speak of the unique name assumption, which holds that different names always denote different things. The OWL 2 Primer states that OWL does not make that assumption. It explains that on the Semantic Web, names may be coined by different organisations at different times while unknowingly referring to the same individual. The book's label names the absence of the unique name assumption and adds no separate rule.

    Source: Hitzler et al. 2012

  • How does OWL state sameness and difference between names under the Nonunique Naming Assumption?

    Because the Nonunique Naming Assumption leaves identity open, OWL 2 supplies axioms that settle it. A SameIndividual axiom, known as sameAs in the RDF form of OWL, lets each listed name be used in place of the others without changing the meaning of the ontology. A DifferentIndividuals axiom states that the listed individuals all differ, and the OWL 2 Structural Specification notes that such an axiom axiomatises the unique name assumption for those names only. Linking two registries' identifiers for one hospital with SameIndividual is an illustrative use.

    Source: Motik et al. 2012

  • Why can a functional property lead a reasoner to merge two names under the Nonunique Naming Assumption?

    A functional property allows each individual at most one value, so two different names recorded as values of that property for one individual must denote the same individual. The OWL 2 Structural Specification notes that such an ontology is not inconsistent, because OWL 2 does not make the unique name assumption, and a reasoner infers equality instead. Adding a DifferentIndividuals axiom for the two names turns the case into a contradiction. A modeller who declares, as an illustration, that each model run links to at most one base-case incremental cost-effectiveness ratio record may therefore see two ratio records for one run inferred to be one instead of a reported duplicate.

    Source: Motik et al. 2012

  • How does the Nonunique Naming Assumption affect counts from SPARQL queries over merged linked data?

    SPARQL 1.1 evaluates basic graph patterns by subgraph matching, and its DISTINCT modifier removes only solutions that bind the same variables to the same RDF terms. Under the Nonunique Naming Assumption two identifiers can denote one hospital, yet a count of distinct hospitals over merged linked data counts identifiers. The same hospital is therefore counted twice unless the data or the query collapses the identifiers first. In an illustrative budget impact analysis, nine identifiers for six real hospitals would overstate the total set-up cost, charged per hospital, by half.

    Source: Harris and Seaborne 2013

  • Why is a sameAs link not always appropriate under the Nonunique Naming Assumption?

    A sameAs link asserts full identity, so every statement made about one name then holds for the other. The SKOS Reference advises that sameAs is typically inappropriate for linking concepts in different concept schemes, because the formal consequences may be unwanted, and it offers mapping properties such as exactMatch for that purpose. Under the Nonunique Naming Assumption an absent sameAs link does not state that two things differ either. A link between concepts in two health economics vocabularies is better made with a SKOS mapping property than with sameAs.

    Source: Miles and Bechhofer 2009

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-152

Stable URI · Machine-readable · Resolvable · CC BY 4.0

This article is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).

Author: Dr Darrin Baines · Publisher: Intelligent Parameters Ltd · Identifier: https://healtheconomics.wiki/concept/nonunique-naming-assumption