Abstract
Semantic Table Interpretation (STI) is a critical task for transforming "dumb" tabular data into structured Knowledge Graphs. Traditional STI methods rely on matching table cell values to existing entities in a knowledge base, a process that fails for novel sensor data or private datasets. We introduce Tab2KG, a framework that interprets tables using "lightweight semantic profiles"—statistical fingerprints of column distributions. By leveraging Siamese Networks for one-shot learning, Tab2KG maps columns to ontology properties based on their statistical "shape" rather than specific values. Our evaluation shows that Tab2KG outperforms traditional baselines, particularly in domains with zero instance overlap.
Introduction
The ubiquity of tabular data in CSV and SQL formats presents a challenge for automated reasoning and data integration. Semantic Table Interpretation (STI) aims to bridge this gap by mapping table components to formal ontologies. However, the prevailing "instance lookup" paradigm—where a cell value like "Berlin" is matched to a URI in DBpedia—is brittle. It cannot handle IoT sensor logs or proprietary data where instances are previously unknown. Tab2KG addresses this by shifting the focus from individual cell values to the collective statistical characteristics of a column.
Methodology: Profile-Based Interpretation
The core innovation of Tab2KG is the move from instance-based to profile-based interpretation.
1. Lightweight Semantic Profiles
Instead of looking at specific values, Tab2KG generates a statistical summary of a column or an ontology relation. These profiles act as a "fingerprint," capturing the distribution and nature of the data.
These profiles include:
- Data Types: Fine-grained detection, such as distinguishing between sequential and categorical numbers.
- Basic Statistics: Mean, standard deviation, skewness, and kurtosis.
- Histograms & Quantiles: Capturing the geometric "shape" of the data distribution.
- Textual Features: Average length, character types, and token counts.
2. One-Shot Learning with Siamese Networks
To map a table column to an ontology property, Tab2KG utilizes a Siamese Network architecture. This model takes two profiles—one from the table and one from the domain ontology—and computes a similarity score. Because the network learns a similarity metric rather than fixed classes, it can generalize to entirely new domains (one-shot learning) without retraining.
3. Automated Graph Construction
Once column-to-property mappings are established, the system employs the RDF Mapping Language (RML) to generate a semantic data graph. This process transforms flat rows into a web of interconnected concepts.
Evaluation and Key Results
Tab2KG was evaluated against several benchmarks, including synthetic data from GitHub and real-world datasets like "Weapon Ads" and "Soccer."
- Superior Accuracy: Tab2KG achieved an overall accuracy of 0.72, significantly outperforming the DSL baseline (0.62).
- Robustness to Unseen Data: On the "Weapon Ads" dataset, where instance overlap with public knowledge bases is nearly zero, Tab2KG maintained high performance while traditional methods failed.
- Efficiency: The profiles are lightweight and can be stored in data catalogs (using DCAT), allowing for semantic search and reuse without exposing raw data.
Discussion and Limitations
While powerful, the profile-based approach faces challenges when different properties share identical distributions (e.g., "Minimum Temperature" vs "Maximum Temperature"). Additionally, the model currently struggles with cyclic relations connecting the same two classes. Future work involves integrating user feedback loops and "value embeddings" to resolve such ambiguities.
Conclusion
Tab2KG demonstrates that the statistical "shape" of data is a powerful proxy for its semantic meaning. By bypassing the lookup bottleneck, it provides a robust solution for interpreting dynamic, industrial, and private datasets, paving the way for more automated and scalable data analytics workflows.
Summary updated