Knowledge graph matching with inter-service information transfer

Oktie Hassanzadeh, Semih YumusakSemtab@iswc 2020

Abstract

Mapping tabular data to structured Knowledge Graphs (KGs) is a fundamental step toward a more semantic web. However, real-world data is often plagued by noise, typos, and inconsistent formatting. This paper describes TeamTR, an automated system developed for the SemTab 2020 challenge. TeamTR utilizes a deterministic matching engine that combines SPARQL queries with "inter-service information transfer"—specifically leveraging external search engine APIs for context-aware spell correction. Our results demonstrate high accuracy (F1-score up to 0.916) and highlight the effectiveness of using search engines as knowledge proxies for data cleaning.

Introduction

The proliferation of data in tabular formats like CSVs presents a significant challenge for the Semantic Web: how to automatically interpret the relationships between columns. The Columns-Property Annotation (CPA) task, part of the Semantic Web Challenge on Tabular Data to Knowledge Graph Matching (SemTab), requires identifying the specific Wikidata property (e.g., P17 for "country") that links an entity column to an attribute column.

Example of tabular data used in the CPA task, featuring entities and various attributes.

As shown in the sample data above, real-world tables contain diverse information—from historical dates to theatrical troupes—often with varying formats and potential typos that complicate exact matching.

Methodology

The TeamTR system evolved through three rounds of the SemTab competition, moving from simple exact matching to a complex, multi-service pipeline.

Deterministic Matching and Neighborhood Expansion

Initially, the system relied on exact SPARQL matching, querying Wikidata for properties connecting entity labels in the primary column (usually column 0) to values in other columns. To handle cases where data is not directly linked, the system was expanded to search the "second-level neighborhood," looking for properties of related entities.

Handling Numeric and Temporal Data

To address rounding errors and formatting discrepancies, the system implements fuzzy numeric matching using percentage-based intervals. For dates, specific XML Schema data types are appended to queries to ensure correct interpretation by the KG.

Inter-Service Information Transfer

The core innovation of TeamTR is the use of external search engines (Google and Yandex) as a pre-processing step for spell checking. Traditional string-similarity algorithms often struggle with significant typos. By submitting a noisy string to a search engine and retrieving the "Did you mean...?" correction, the system leverages the search engine's massive contextual knowledge to provide a "cleaned" string for the subsequent SPARQL query.

The complete Round 3 matching process, integrating external service phrase recommendation for robust entity and attribute matching.

The full architecture (Figure 3) illustrates how the system iterates through SPARQL matching, spell checking, and external search services to resolve ambiguities.

Results and Key Insights

The system was evaluated on the SemTab 2020 datasets. Performance remained strong even as the difficulty increased across rounds:

  • Round 1: F1-score of 0.916
  • Round 2: F1-score of 0.873
  • Round 3: F1-score of 0.837

A key insight from this work is that search engines can effectively serve as "knowledge proxies." They bridge the gap between messy human input and the rigid schemas of formal Knowledge Graphs. While deterministic, this approach provides high interpretability compared to black-box deep learning models.

Conclusion

TeamTR demonstrates that inter-service information transfer is a viable strategy for high-accuracy KG matching in noisy environments. Future work will focus on refining context-aware corrections for highly ambiguous data and exploring the integration of these deterministic steps with probabilistic machine learning models to further stabilize performance.

Summary updated

BibTeX
@inproceedings{hassanzadeh2020knowledge,
  author = {Oktie Hassanzadeh and Semih Yumusak},
  title = {{Knowledge graph matching with inter-service information transfer}},
  booktitle = {Semtab@iswc},
  year = {2020},
}
Figure