Abstract
KGCODE-Tab is a high-performance system developed for the Semantic Web Challenge on Tabular Data to Knowledge Graph Matching (SemTab 2022). By integrating search-engine-assisted spell correction, multithreaded online API lookups, and a cooperative scoring framework, the system effectively maps noisy tabular data to Wikidata and DBpedia. KGCODE-Tab achieved several top rankings in the competition, proving that online-first approaches can outperform traditional local-dump-based systems.
Introduction
The vast amount of tabular data on the web often lacks explicit semantics, making it difficult for machines to interpret. Tabular Data to Knowledge Graph Matching (TDKGM) aims to bridge this gap by linking table elements to structured Knowledge Graphs (KGs) such as Wikidata or DBpedia. This process involves three primary tasks: Column Type Annotation (CTA), Cell Entity Annotation (CEA), and Columns Property Annotation (CPA).
Existing TDKGM systems frequently face challenges with noisy text—such as typos and ambiguous naming—and the significant storage and I/O overhead required to maintain local KG dumps. KGCODE-Tab addresses these bottlenecks through an efficient pipeline that prioritizes accuracy and resource management.
Methodology
KGCODE-Tab employs a multi-stage pipeline designed for robustness and speed:
Table Structure Analysis
The system utilizes spaCy for Named Entity Recognition to distinguish between entity and non-entity columns. It identifies the "subject column" (the primary entity column) by calculating Column Entropy, assuming the subject column contains the highest diversity of information.
Search-Engine Spell Correction
To handle misspelled cell text, KGCODE-Tab leverages the Bing search engine. By querying noisy text and extracting website titles from the results, the system applies Levenshtein Distance to identify the most probable intended terms, significantly improving entity recall compared to simple character stripping.
Online Entity Recall
Rather than relying on massive local database dumps, KGCODE-Tab uses the MediaWiki Action API and DBpedia Lookup online. To maintain high throughput, the system employs 100-thread concurrent querying and smart tokenization to ensure reliable search results even with complex text.
Cooperative Task Analysis and Disambiguation
The system links CTA, CEA, and CPA tasks so they mutually inform one another. For instance, predicted column types (CTA) are used to boost the scores of corresponding cell entities (CEA). Disambiguation is further refined using type-specific formulas, such as Levenshtein distance for strings and custom relevance degrees for numerical and temporal data.
Experimental Setup
The system was evaluated using the SemTab 2022 challenge datasets:
- HardTables (WD): Focuses on smaller tables with predictable subject column placement.
- ToughTables (WD & DBP): Features variable row counts and non-standard subject column locations.
- BiodivTab (DBP): Domain-specific data (biodiversity) characterized by heavy noise and abbreviations.
- GitTables (DBP & SCH): General-purpose tables requiring a FastText classification model for mapping to Schema.org and DBpedia.
Results and Discussion
KGCODE-Tab demonstrated strong performance across all rounds of the competition. The system's ability to share context between tasks and leverage external search engines for preprocessing proved critical in achieving high accuracy.
As shown in the results table above, KGCODE-Tab secured first-place rankings in several key tracks, including HardTablesR2 (CTA), ToughTables (CTA and CEA), and BiodivTab (CTA and CEA). The use of adaptive batching—sampling representative rows for large tables—allowed the system to scale effectively without sacrificing precision.
Conclusion
KGCODE-Tab represents a significant step forward in efficient TDKGM. By replacing local KG dumps with optimized online queries and incorporating search-engine-based correction, the system achieves state-of-the-art results. Future work will focus on replacing hardcoded parameters with machine learning models to dynamically optimize the cooperative scoring mechanism across diverse datasets.
Summary updated