Generating Conceptual Subgraph from Tabular Data for Knowledge Graph Matching

Oktie Hassanzadeh, Donguk Kim, Heesung Park, Jae Kyu Lee, Wooju KimSemtab@iswc 2020

Abstract

This paper presents a robust methodology for automatically mapping unstructured tabular data to the Wikidata knowledge graph by constructing "conceptual subgraphs." The proposed system addresses the core challenges of Semantic Table Annotation (STA): Cell Entity Annotation (CEA), Column Type Annotation (CTA), and Columns Property Annotation (CPA). By utilizing a four-stage architecture that combines rule-based SPARQL queries with a novel web-crawling fallback mechanism for error correction, the researchers demonstrate high precision in transforming flat data into interconnected semantic structures. Experimental results from the SemTab challenge highlight the system's effectiveness, particularly in handling real-world data noise and ambiguity.

Introduction

In the era of big data, vast amounts of information are stored in tabular formats like CSVs and spreadsheets. However, for machines, these tables are often mere strings of text lacking semantic context. Semantic Table Annotation (STA) seeks to bridge this gap by identifying the real-world entities and relationships represented within rows and columns. For instance, a system must recognize that a cell containing "Amsterdam" refers to the specific geographical entity (Q9899 in Wikidata) and that its relationship to a neighboring column is "located in."

The authors focus on three primary tasks defined by the SemTab (Semantic Web Challenge):

  1. CEA (Cell Entity Annotation): Mapping a cell to a specific Knowledge Graph (KG) entity.
  2. CTA (Column Type Annotation): Identifying the semantic class of a column.
  3. CPA (Columns Property Annotation): Determining the relationship between two columns.

Methodology

The system architecture follows a four-stage pipeline designed to reconstruct a table as a graph of Subject-Predicate-Object (SPO) relationships.

The four-stage system architecture, including the Wikidata Query Service and the web-crawling fallback loop for handling noisy data.

The Four-Stage Pipeline

  • Stage 1: Candidate Extraction: The system uses rule-based SPARQL queries to search Wikidata for potential matches. For numerical data, such as population counts, the system employs a ±1.5% tolerance range to account for temporal updates in the database.
  • Stage 2: Node Selection: The system operates on a "subject-first" heuristic, typically identifying the first column as the primary anchor. By fixing the subject, the search space for properties and objects in the rest of the row is significantly reduced.
  • Stage 3: Subject Crawling: To handle human errors and typos (e.g., "Cl?b Gorca"), the system integrates a web-crawling component. It leverages Google Search's autocorrect capabilities to find the correct Wikidata or Wikipedia titles, serving as a powerful preprocessing step for noisy inputs.
  • Stage 4: Element Inference: Using the validated subjects, the system re-runs inference to complete the conceptual subgraph, mapping the entire table structure to the KG.
An example of a conceptual subgraph where a table row is mapped to specific Wikidata entities (e.g., Leesmuseum and Amsterdam) and properties (e.g., instance of and located in).

Experimental Evaluation

The system was evaluated using datasets from the 2019 and 2020 SemTab challenges, which include tables specifically designed to test resilience against data noise and varying row counts.

Key Results

  • Peak Performance: In Round 2, the system achieved exceptional results with an F1-Score of 0.966 for CTA and 0.973 for CPA.
  • Impact of Data Density: Performance saw a decline in Round 3 (CPA F1-score of 0.815), which the authors attributed to smaller table sizes and increased error rates. This suggests that the system's reasoning stability is positively correlated with the amount of evidence (rows) available in a table.
  • Efficiency: By utilizing live SPARQL queries rather than local database clones, the system remains computationally lightweight and adaptable to frequently changing data environments.

Discussion and Conclusion

The research highlights the effectiveness of a "subject-first" approach in shrinking the semantic search space. A notable engineering insight is the use of external search engines to outsource the complex task of typo correction, which proved more efficient than building internal spell-checkers.

However, limitations remain, including a dependency on the "closed world" of Wikidata and decreased performance on highly ambiguous or very small tables. Future work will focus on incorporating machine learning to recognize character-level patterns and extending the system to support multi-Knowledge Graph environments.

Summary updated

BibTeX
@inproceedings{hassanzadeh2020generating,
  author = {Oktie Hassanzadeh and Donguk Kim and Heesung Park and Jae Kyu Lee and Wooju Kim},
  title = {{Generating Conceptual Subgraph from Tabular Data for Knowledge Graph Matching}},
  booktitle = {Semtab@iswc},
  year = {2020},
}
Figure