Inferensys

Glossary

Ontology Mapping

Ontology mapping is the process of establishing semantic correspondences between concepts in different ontologies to enable data interoperability and knowledge sharing across systems.
Knowledge manager reviewing enterprise knowledge management system on laptop, document library visible, casual office.
SEMANTIC INTEROPERABILITY

What is Ontology Mapping?

Ontology mapping is the computational process of establishing semantic correspondences between concepts in different ontologies to enable data interoperability and knowledge sharing across disparate systems.

Ontology mapping, also known as ontology alignment, is the process of determining a set of logical correspondences between semantically related entities from two distinct ontologies. The primary goal is to enable systems using different vocabularies—such as SNOMED CT and ICD-10-CM—to exchange and interpret data without ambiguity. This process takes a source ontology and a target ontology as input and produces an alignment, a set of mapping rules that connect equivalent or related concepts.

The core challenge lies in resolving semantic heterogeneity, where different naming conventions, granularities, and hierarchical structures obscure identical real-world concepts. Techniques range from lexical matching, which compares string similarity of labels, to semantic matching, which uses formal description logic and graph structures to infer relationships like equivalence or subsumption. The output is often a ConceptMap resource, a structured artifact that records the mapping, its confidence score, and provenance for governance.

METHODOLOGICAL FOUNDATIONS

Core Ontology Mapping Techniques

The technical approaches used to establish semantic correspondences between concepts in different ontologies, enabling data interoperability and knowledge sharing across systems.

01

Lexical Matching

A foundational technique that compares the string similarity of concept names, synonyms, and labels to identify potential mappings. This approach leverages:

  • Edit distance algorithms like Levenshtein and Jaro-Winkler to quantify character-level differences
  • Tokenization and normalization to handle punctuation, case, and word order variations
  • Synonym expansion using source terminology thesauri to increase recall

Lexical matching is computationally efficient but struggles with homonyms and concepts that are semantically equivalent yet lexically dissimilar, such as 'hypertension' and 'high blood pressure'.

60-80%
Baseline recall for initial candidate generation
02

Semantic Matching

An advanced alignment technique that uses the formal semantics, hierarchical context, and logical axioms of concepts to determine their degree of similarity. Key components include:

  • Graph-based path analysis measuring the distance between concepts within their respective ontological trees
  • Property-based comparison evaluating shared attributes, restrictions, and relationships
  • Logical axiom analysis using description logic to verify consistency of proposed alignments

This method excels at identifying mappings where lexical overlap is minimal but conceptual equivalence is high, such as aligning 'myocardial infarction' with 'heart attack' through shared parent concepts.

03

BERT-based Alignment

A modern ontology matching technique that uses contextual embeddings from Bidirectional Encoder Representations from Transformers models to capture semantic nuances between concept labels. The process involves:

  • Encoding concept names and their definitions into dense vector representations
  • Computing cosine similarity between embedding pairs to score potential alignments
  • Leveraging pre-trained biomedical models like BioBERT or PubMedBERT for domain-specific accuracy

This approach captures contextual meaning that string-based methods miss, such as understanding that 'renal' and 'kidney' are synonymous in clinical contexts.

04

Equivalence Mapping

A type of ontology alignment that asserts a relationship of logical equality or interchangeability between a concept in a source code system and a concept in a target code system. Equivalence can be:

  • Exact: The concepts are fully synonymous and interchangeable in all contexts
  • Narrower-to-Broader: The source concept is more specific than the target
  • Broader-to-Narrower: The source concept is more general than the target

In FHIR, these relationships are formalized in the ConceptMap resource using equivalence codes such as 'equivalent', 'wider', 'narrower', and 'inexact'.

05

Subsumption Reasoning

The hierarchical relationship where one concept is more general than another, such that the broader concept fully encompasses the meaning of the narrower one. This is critical for:

  • Query expansion: Retrieving all subclasses of a disease category when searching patient records
  • Validation: Ensuring coded data conforms to expected hierarchical constraints
  • Automated classification: Using a reasoner to infer new subsumption relationships from asserted axioms

For example, 'Type 2 Diabetes Mellitus' is subsumed by 'Diabetes Mellitus', which is subsumed by 'Endocrine System Disorder' in SNOMED CT.

06

Human-in-the-Loop Validation

A workflow where a domain expert reviews, accepts, or rejects algorithmically generated ontology mappings to ensure final accuracy and clinical safety. This process typically involves:

  • Confidence score thresholding to triage high-probability matches for automated approval
  • Review interfaces displaying source and target concepts side-by-side with hierarchical context
  • Mapping provenance capture to record reviewer identity, timestamp, and justification

This hybrid approach combines the scalability of automated matching with the clinical judgment necessary to resolve ambiguous or safety-critical alignments.

ONTOLOGY MAPPING

Frequently Asked Questions

Clear, technically precise answers to the most common questions about establishing semantic correspondences between disparate medical terminologies to achieve true data interoperability.

Ontology mapping is the computational process of establishing a set of semantic correspondences, or alignments, between concepts in two distinct ontologies. It works by analyzing the structural, lexical, and logical properties of each ontology to identify concepts that are semantically equivalent, more specific, or related. The process typically involves a pipeline of matchers: lexical matchers compare labels and synonyms using string similarity metrics, structural matchers analyze the hierarchical context of a concept by examining its parent and child nodes, and semantic matchers use formal description logic to compare logical axioms and constraints. The output is a set of mapping assertions, often with a confidence score, that can be reviewed by a domain expert in a human-in-the-loop validation workflow to ensure clinical safety before deployment in a terminology server.

Prasad Kumkar

About the author

Prasad Kumkar

CEO & MD, Inference Systems

Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.

His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.