AMALGAM: making tabular dataset explicit with knowledge graph

Oktie Hassanzadeh, Rabia Azzi, Gayo DialloSemtab@iswc 2020

Introduction

Tabular data is ubiquitous on the web, yet it often exists as "dark data"—unstructured strings and numbers that lack semantic context. To enable machine readability and adhere to FAIR principles (Findable, Accessible, Interoperable, and Reusable), this data must be mapped to Knowledge Graphs (KGs) such as Wikidata. The AMALGAM framework addresses this challenge by automating Column Type Annotation (CTA) and Cell Entity Annotation (CEA) through a robust, context-aware pipeline.

Methodology

The AMALGAM approach is structured into a three-phase workflow designed to handle the inherent noise of real-world tables.

The high-level AMALGAM workflow, transitioning from raw tables to KG matching.
  1. Pre-processing: Using the Pandas library, the system addresses encoding errors and delimiter issues that frequently cause automated parsing failures.
  2. Annotation Context: Rather than analyzing cells in isolation, AMALGAM utilizes contextual grouping. CTA is performed by examining all items within a column, while CEA leverages "horizontal" context—neighboring cells in the same row—to disambiguate entities (e.g., distinguishing "Paris, France" from "Paris, Texas").
  3. Matching & Disambiguation: The system employs a multi-stage lookup process. It integrates spell-checking (via Gurunudi and the Wikidata API) and fuzzy matching (using the fuzzywuzzy library with a 90% similarity threshold). If a direct search fails, the system iteratively retries with corrected terms and uses a "majority vote" strategy to finalize column types.

Evaluation and Insights

The framework was evaluated using the SemTab 2020 (Semantic Web Challenge on Tabular Data to Knowledge Graph Matching) datasets, including standard benchmarking rounds and the "Tough Tables" (2T) benchmark.

A key insight from the evaluation is the "Spell-Check Bottleneck." The system's performance is heavily contingent on the quality of initial string correction; without it, KG lookups for noisy data inevitably fail. Furthermore, while the system is highly effective on clean web tables, the 2T benchmark revealed that adversarial or highly ambiguous data remains a significant challenge for existing matching logic.

Key Results

AMALGAM demonstrated strong performance in standard competition rounds. In Round 2, the system achieved high accuracy across both primary tasks.

Performance metrics for CTA and CEA tasks, illustrating high F1 scores and precision in standard rounds.

As shown in the results, the system maintained an F1 score of 0.926 for CTA and 0.921 for CEA, with precision consistently exceeding 0.91. However, performance on the "Tough Tables" dataset was markedly lower, with CEA F1 scores dropping to 0.323—a trend reflected across all competition participants, highlighting the difficulty of disambiguating noisy, adversarial data.

Conclusion and Future Work

AMALGAM provides an efficient framework for semantic table annotation, but its dependence on spell-checking quality and simple disambiguation logic presents opportunities for improvement. Future work will explore more sophisticated, context-sensitive spell-checkers and advanced disambiguation strategies. Additionally, leveraging Wikidata's revision history may help resolve entities that have undergone historical name changes.

Summary updated

BibTeX
@inproceedings{hassanzadeh2020amalgam,
  author = {Oktie Hassanzadeh and Rabia Azzi and Gayo Diallo},
  title = {{AMALGAM: making tabular dataset explicit with knowledge graph}},
  booktitle = {Semtab@iswc},
  year = {2020},
}
Figure