TL;DR
Tab2KG is a novel approach for Semantic Table Interpretation (STI) that eliminates the need for looking up specific data instances in a knowledge graph. By using statistical "lightweight semantic profiles" and one-shot learning, it can automatically map previously unseen tabular data to domain ontologies, making it a powerful tool for dynamic and robust data analytics workflows.
What Problem Does This Paper Address?
A massive amount of data is trapped in tabular formats (like CSVs) that lack machine-readable semantics. To make this data useful for advanced analytics and explainable AI, we need to perform Semantic Table Interpretation (STI)—mapping table columns to classes and properties in a domain ontology.
Traditional STI methods rely heavily on "instance lookup." They try to match cell values (e.g., "Berlin") to known entities in massive knowledge graphs like DBpedia. However, this approach hits a wall in two common scenarios:
- New Data: Data analytics often involves fresh data (e.g., sensor readings, recent news events) that simply isn't in any existing knowledge graph yet.
- Low Overlap: Research shows that only about 3% of web tables can be effectively matched to DBpedia.
Tab2KG addresses this gap by shifting the focus from what the specific values are to how they are distributed, allowing for the interpretation of entirely new datasets.
Methods
The core innovation of Tab2KG is the use of lightweight semantic profiles combined with a one-shot learning architecture.
1. Lightweight Semantic Profiles
Instead of comparing raw data, Tab2KG generates feature vectors that summarize the characteristics of both table columns and ontology relations. These profiles include:
- Fine-grained Data Types: Beyond simple strings or numbers, it identifies specific types like URLs, emails, sequential numbers, and spatial coordinates.
- Statistical Features: Mean, standard deviation, skewness, and kurtosis.
- Distributional Data: Histograms and quantiles (quartiles/deciles) to capture the "shape" of the data.
2. One-Shot Learning with Siamese Networks
To map columns to relations, the authors use a Siamese neural network. This network is trained to take two profiles (one from a table column, one from an ontology relation) and predict their similarity. Because it learns a similarity metric rather than specific class labels, the model can generalize to new domains and ontologies it has never seen before—a classic "one-shot" learning setup.
3. Graph Creation and Materialization
Once similarity scores are calculated, Tab2KG uses a greedy algorithm to find the best column-to-relation mappings. It then constructs a connected, minimal RDF data graph that adheres to the semantic constraints of the target ontology. Finally, it uses the RDF Mapping Language (RML) to transform the original table into a structured semantic graph.
Datasets
The authors evaluated Tab2KG across several diverse datasets:
- Synthetic GitHub Dataset: A new benchmark created by the authors from thousands of RDF files on GitHub. This provided a structurally and topically diverse training set for the Siamese network.
- Soccer (So) & Weapon Ads (WA): Real-world datasets annotated with the schema.org vocabulary.
- SemTab (ST) & SemTab Easy (SE): Standard benchmarks from the Semantic Web community, annotated with the DBpedia ontology.
Key Insights and Ideas
- Distributions are Semantic Fingerprints: The paper demonstrates that the statistical "shape" of data is often a reliable proxy for its semantic meaning, even when the specific instances are unknown.
- Generalization via Similarity: By training on profile similarity rather than fixed categories, the system becomes domain-agnostic. You can point it at a new weather ontology or a sports ontology, and it will function without retraining.
- Instance-Free Interpretation: By removing the dependency on external KG lookups, Tab2KG is significantly more suitable for private enterprise data or rapidly changing real-time data streams.
Key Results
Tab2KG consistently outperformed state-of-the-art baselines (DSL and T2KMatch) across multiple domains:
- Overall Accuracy: Tab2KG achieved an average accuracy of 0.72, compared to 0.62 for the best-performing baseline (DSL).
- Pairwise Mapping: In scenarios where one table is mapped to the profile of another (simulating a known domain), accuracy reached 0.84.
- Robustness to Low Overlap: Tab2KG excelled in cases where table values had very little overlap with existing knowledge graphs (e.g., the Weapon Ads dataset), where traditional instance-based methods failed.
Limitations and Future Work
The authors identify a few "blind spots" inherent to a profile-based approach:
- Ambiguous Relations: If two different properties connect the same classes (e.g.,
dbo:leaderanddbo:viceLeaderboth connecting a Country to a Person), statistical profiles alone may not be enough to distinguish them. - Cyclic Relations: The current graph creation logic struggles with cyclic structures in ontologies (e.g., an event followed by another event).
- Profile Representativeness: The system's accuracy depends on the domain profile being representative. If a weather profile is built only from night-time data, it might fail to interpret a table of daytime observations.
Future work aims to integrate user feedback loops to help the system learn from its mistakes and extend ontologies when it encounters entirely new types of data relations.
Summary updated