Entity reconciliation is a specific application of record linkage that aligns local, often messy spreadsheet or database entries with a curated external reference source, such as Wikidata or a proprietary master data management (MDM) system. Unlike general deduplication, reconciliation explicitly maps a local string like 'J.S. Bach' to a persistent canonical entity identifier (e.g., a Q-ID), using fuzzy matching algorithms to overcome typographical errors and formatting inconsistencies.
Glossary
Entity Reconciliation

What is Entity Reconciliation?
Entity reconciliation is the semi-automated process of matching records from a local dataset against a large, authoritative external knowledge base to resolve them to unique, canonical identifiers.
The workflow typically involves a candidate generation phase, where a service like OpenRefine queries a reconciliation API to propose potential matches, followed by human judgment to validate or override the automated entity linking decision. This process transforms unstructured text references into structured, machine-readable connections, enabling precise data integration and semantic enrichment across disparate systems.
Key Features of Entity Reconciliation
The essential mechanisms and algorithms that power the semi-automated matching of local records against a master knowledge base.
Fuzzy Matching Algorithms
Employs string similarity metrics like Levenshtein distance, Jaro-Winkler, and phonetic algorithms (Soundex, Metaphone) to tolerate typographical errors, abbreviations, and formatting inconsistencies. Unlike exact matching, fuzzy logic calculates a similarity score between 0 and 1.0, allowing a threshold-based decision for a match.
- Levenshtein Distance: Counts single-character edits (insertions, deletions, substitutions).
- Jaro-Winkler: Favors strings that match from the beginning, ideal for proper names.
- Phonetic Hashing: Converts strings to a code representing pronunciation, catching 'Stefan' vs. 'Stephen'.
Blocking and Indexing
A computational efficiency technique that avoids the impossible task of comparing every local record against every knowledge base entry (an O(n*m) problem). Blocking keys partition datasets into mutually exclusive blocks using cheap heuristics like the first three letters of a name or a Soundex code. Only records within the same block are compared.
- Sorted Neighborhood: Sorts records by a key and slides a fixed-size window over the list.
- Canopy Clustering: Uses a cheap, high-recall metric to create overlapping clusters before applying an expensive, high-precision metric.
Candidate Generation & Scoring
For each local record, the reconciliation service queries the external knowledge base API to retrieve a shortlist of candidate entities. Each candidate is assigned a reconciliation score reflecting the confidence of the match. This score is often a composite of multiple feature similarities, including name matching, attribute agreement (e.g., birth date, location), and structural context.
- Vector Space Models: Modern systems use dense entity embeddings to find semantically similar candidates via approximate nearest neighbor (ANN) search.
- Feature Vectors: Traditional systems construct a binary vector of matching attributes and train a logistic regression classifier.
Human-in-the-Loop Validation
Entity reconciliation is semi-automated by design. Matches above a high-confidence threshold are processed automatically, while those in a grey zone are routed to a human curator for judgment. This interface allows users to confirm, reject, or manually search for the correct entity.
- Active Learning: The system learns from human corrections to improve future matching accuracy.
- Judgment History: All human decisions are logged to create an auditable trail and a training dataset for model refinement.
Schema Mapping & Type Constraints
Before matching, local columns must be mapped to the target knowledge base's schema properties. A 'Company Name' column is mapped to the schema:legalName property. Type constraints further refine the search by restricting candidates to a specific class, such as Q4830453 (business) or Q5 (human), preventing a person's name from matching a geographical location.
- Property Mapping: Aligns local attributes with knowledge graph predicates.
- Type Filtering: Narrows the candidate pool to entities of a specific ontological type.
Batch Processing & API Integration
Reconciliation is typically executed via a RESTful API that accepts batches of records in JSON or CSV format. Services like the Wikidata Reconciliation API and tools like OpenRefine standardize this workflow. The API handles rate limiting, asynchronous processing for large datasets, and returns structured match results with persistent entity IDs.
- Endpoint: Standardized endpoints like
/reconcileaccept queries and return candidates. - Asynchronous Mode: Large batches are processed in the background with a callback or polling mechanism.
Frequently Asked Questions
Clear, technically precise answers to the most common questions about matching local records to external knowledge bases using semi-automated reconciliation services.
Entity reconciliation is the semi-automated process of matching local records—such as rows in a spreadsheet or entries in a database—against unique, canonical identifiers in a large external knowledge base like Wikidata. The process typically works through a dedicated reconciliation API service that accepts a query (a name string and optional properties), generates a ranked list of candidate matches using fuzzy string comparison and entity embeddings, and returns a confidence score for each candidate. A human curator reviews high-confidence matches and manually adjudicates ambiguous cases. The algorithm leverages blocking heuristics to reduce the search space and probabilistic record linkage models, such as the Fellegi-Sunter framework, to compute match weights based on attribute agreement patterns. The output is a mapping between local identifiers and canonical Q-IDs or equivalent persistent identifiers, transforming messy local data into linked, queryable knowledge.
Entity Reconciliation vs. Related Concepts
A comparative analysis of entity reconciliation against adjacent data integration and natural language processing tasks, clarifying scope, automation level, and primary use case.
| Feature | Entity Reconciliation | Entity Linking | Record Linkage | Deduplication |
|---|---|---|---|---|
Primary objective | Match local records to an external knowledge base | Connect text mentions to a knowledge base entry | Join records across different datasets | Merge duplicate records within a single dataset |
Input data type | Structured (CSV, database tables) | Unstructured text | Structured records from multiple sources | Structured records from one source |
Human-in-the-loop | ||||
External reference required | ||||
Typical tooling | OpenRefine, reconciliation APIs | spaCy, spaCy Entity Linker, REL | Splink, dedupe.io | dbt, Pandas, SQL |
Output | Enriched local data with canonical IDs | Annotated text with knowledge base URIs | Linked records with match probability | Consolidated master record |
Matching granularity | Record-level | Mention-level | Record-level | Record-level |
Typical false positive rate | 0.1-1.0% | 2-5% | 0.5-3.0% | 0.1-0.5% |
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Related Terms
Entity reconciliation sits within a broader ecosystem of identity resolution, disambiguation, and knowledge base construction techniques. These related concepts form the technical foundation for matching messy real-world data against authoritative reference sources.
Record Linkage
The statistical process of identifying and joining records across different datasets that correspond to the same real-world entity when a reliable unique identifier is absent. Unlike reconciliation against an external knowledge base, record linkage typically operates between internal databases—for example, merging customer records from a CRM and an ERP system. The Fellegi-Sunter model provides the probabilistic framework, calculating match weights based on attribute agreement and disagreement patterns across fields like name, address, and date of birth.
Blocking
A computational efficiency technique that partitions datasets into mutually exclusive blocks using cheap heuristics before pairwise comparison. Without blocking, reconciling two datasets of 100,000 records each would require 10 billion comparisons. Blocking reduces this dramatically by only comparing records that share a common property:
- Phonetic blocking: Group by Soundex or Metaphone encoding of surnames
- N-gram blocking: Cluster by shared character trigrams
- Sorted neighborhood: Sort by a key and slide a fixed-size window Effective blocking trades a small amount of recall for massive speed gains.
Fuzzy Matching
String comparison techniques that calculate similarity scores between text strings to identify non-exact duplicates. Essential for reconciliation because real-world data contains typographical errors, abbreviations, and formatting inconsistencies. Common algorithms include:
- Levenshtein distance: Minimum edit operations to transform one string into another
- Jaro-Winkler: Optimized for short strings like names, weighting prefix matches
- Token-based: Jaccard or cosine similarity over word n-grams
- Phonetic: Soundex or Double Metaphone for names that sound alike Most reconciliation services combine multiple fuzzy metrics with weighted thresholds.
Candidate Generation
The initial retrieval phase in entity linking and reconciliation that produces a shortlist of possible matches from the target knowledge base for each query entity. This step uses a surface form dictionary or approximate nearest neighbor search over entity embeddings to avoid scanning millions of entries. For example, reconciling 'J. S. Bach' might generate candidates including Johann Sebastian Bach (Q1339), Johann Christian Bach (Q106641), and Johann Christoph Bach (Q372024). The quality of candidate generation directly bounds the ceiling of final reconciliation accuracy.
Identity Resolution
The broader data management discipline of accurately matching and merging identity data across disparate systems to create a unified, 360-degree view of a customer, patient, or organization. Identity resolution extends beyond simple record linkage by incorporating:
- Temporal awareness: Handling name changes, address moves, and life events
- Relationship graphs: Leveraging known associations to resolve ambiguous matches
- Survivorship rules: Determining which conflicting attribute values to retain in the golden record Enterprise Master Data Management (MDM) platforms operationalize identity resolution at scale.
Deduplication
The specific application of record linkage techniques to find and merge duplicate records within a single dataset to create a clean master record. While reconciliation matches against an external reference, deduplication is an internal cleansing operation. Common scenarios include:
- Removing duplicate customer profiles from a CRM after a merger
- Consolidating product SKUs entered with slight variations
- Cleaning author lists in bibliographic databases Deduplication typically uses transitive closure: if A matches B and B matches C, then A, B, and C form a single cluster despite A and C not directly matching.

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.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us