English

A Hybrid Semantic Parsing Approach for Tabular Data Analysis

Artificial Intelligence 2019-10-25 v2 Computation and Language Databases

Abstract

This paper presents a novel approach to translating natural language questions to SQL queries for given tables, which meets three requirements as a real-world data analysis application: cross-domain, multilingualism and enabling quick-start. Our proposed approach consists of: (1) a novel data abstraction step before the parser to make parsing table-agnosticism; (2) a set of semantic rules for parsing abstracted data-analysis questions to intermediate logic forms as tree derivations to reduce the search space; (3) a neural-based model as a local scoring function on a span-based semantic parser for structured optimization and efficient inference. Experiments show that our approach outperforms state-of-the-art algorithms on a large open benchmark dataset WikiSQL. We also achieve promising results on a small dataset for more complex queries in both English and Chinese, which demonstrates our language expansion and quick-start ability.

Keywords

Cite

@article{arxiv.1910.10363,
  title  = {A Hybrid Semantic Parsing Approach for Tabular Data Analysis},
  author = {Yan Gao and Jian-Guang Lou and Dongmei Zhang},
  journal= {arXiv preprint arXiv:1910.10363},
  year   = {2019}
}

Comments

10 pages, 5 figures

R2 v1 2026-06-23T11:52:10.658Z