completed Feb 2018 - Nov 2018

Semantically Interpreting Business Oriented Data Tables Using Custom, Small Scale Ontologies

#Semantic Web #Semantic Table Interpretation #Ontologies #Knowledge Graphs #Relation Extraction #Business Intelligence
Semantically Interpreting Business Oriented Data Tables Using Custom, Small Scale Ontologies

Overview

Tables are the most common form of data representation in enterprise systems and on the web, yet they carry little explicit semantic information, which makes it hard for machines to understand what their rows and columns mean. Semantic Table Interpretation (STI) addresses this by mapping cells, columns and whole tables to entities, classes and properties of an ontology. Existing STI algorithms focus on web tables and large public knowledge bases such as DBpedia. When applied to business datasets, which mix several concepts in one table, use abbreviated headers and rely on domain-specific terms, they give inadequate results and are not designed for real-time use.

This project, carried out by team Analytiks with Zeptolytics (Pvt.) Ltd. as corporate partner, first surveyed more than 40 STI publications and produced a conceptual framework that breaks STI into table modelling, annotation tasks and execution approaches, so that algorithms can be compared step by step. Building on this, the team designed a candidate entity retrieval layer with search indexes and direct ontology queries, and RelX, a non-exhaustive, heuristic-free relation extraction algorithm that stops once it converges. Finally, STEM (Semantic Table to Entity Mapping) combines candidate retrieval and selection over a dependency graph with probabilistic disambiguation using belief propagation on a factor graph. It requires minimal heuristics and does not depend on any particular target ontology.

Motivation & Objectives

Business intelligence currently depends on enterprise systems that need heavy pre-processing and dedicated teams, or on cloud services that need considerable user input. Both struggle because machines cannot grasp the exact context of tabular data. Automating table interpretation could greatly benefit business intelligence, and techniques developed for web tables can be adapted to the harder case of business data.

Conceptual Framework – To develop a framework for cross-analysing the many table interpretation approaches in the literature.

State-of-the-Art Analysis – To use the framework to analyse current algorithms and identify their strengths and weaknesses.

Business-Ready Algorithm – To develop a novel table interpretation algorithm suited to processing business datasets in real-time applications.

Benchmarking – To implement the algorithm on web tables so that its performance can be measured against standard gold standards.

Business Ontology – To design an experimental ontology based on business concepts.

Impact & Results

Performance

RelX was evaluated on the T2Dv2 gold standard against DBpedia. With an early-stopping threshold of 20 iterations, it gave accuracy comparable to an exhaustive search while using less than 60% of the total running time, with high recall and moderate precision, as intended for candidate retrieval. STEM was applied to T2D (1,748 tables, of which 762 map to DBpedia classes) without any fine-tuning and achieved 55.45% precision, 70.56% recall and 62.10% F1 for column-level annotation, and 35.33% for table-level annotation. Its column-level recall was competitive with T2K Match (0.65), although T2K Match++ performed better because of optimisations specific to the gold standard. On the re-annotated T2D* gold standard, STEM achieved 38.23% recall, 40% precision and 39.1% F1, close to T2K Match (41.76% F1), whose score dropped noticeably from its T2D results. The results across datasets were consistent, which supports the goal of an algorithm that does not depend on a particular dataset or ontology.

Key Contributions

STI Survey and Conceptual Framework

A survey of more than 40 publications with a mathematical formulation of STI and the first conceptual framework for comparing algorithms step by step across table modelling, annotation tasks and execution approaches.

RelX Relation Extraction

A pluggable, non-exhaustive and heuristic-free algorithm, built from LINK, PROPERTY-EXTRACT, HEADER-ANALYSIS and RANK procedures, that extracts candidate relations between all column pairs with high recall and converges early.

STEM Table Interpretation Algorithm

An ontology-independent STI algorithm that combines dependency-graph-based candidate retrieval with probabilistic disambiguation through belief propagation and ranked extraction, and selects the subject column from marginal probabilities instead of heuristics.

Real-world Impact

The framework gives newcomers and researchers a structured entry point into Semantic Table Interpretation. RelX and STEM show that table interpretation can be made efficient, low-resource and independent of the target ontology, which are prerequisites for applying STI to business datasets with custom, small-scale ontologies. The team identified building a business-oriented ontology and a manually annotated business gold standard as the next steps.

Gallery

Overall pipeline of the STEM (Semantic Table to Entity Mapping) algorithm

Overall pipeline of the STEM (Semantic Table to Entity Mapping) algorithm

Candidate dependency graph for a sample T2D table after the RelX relation extraction step

Candidate dependency graph for a sample T2D table after the RelX relation extraction step

Factor graph of a table model used for belief propagation in STEM disambiguation

Factor graph of a table model used for belief propagation in STEM disambiguation

RelX running time and accuracy for different early-stopping thresholds

RelX running time and accuracy for different early-stopping thresholds

Project Team

L

Lahiru de Alwis

Undergraduate Researcher

Contributed to the STI survey and conceptual framework and to the development of the project's algorithms.

A

Achala Dissanayake

Undergraduate Researcher

Contributed to the STI survey and conceptual framework and to the development of the project's algorithms.

K

Kalana Silva

Undergraduate Researcher

Designed and implemented the candidate retrieval and selection component of STEM, and contributed to the STI survey and framework.

M

Manujith Pallewatte

Undergraduate Researcher

Designed and implemented the probabilistic disambiguation component of STEM, and contributed to the STI survey and framework.