SOTAVerified

SPARQA: Skeleton-based Semantic Parsing for Complex Questions over Knowledge Bases

2020-03-31Code Available1· sign in to hype

Yawei Sun, Lingling Zhang, Gong Cheng, Yuzhong Qu

Code Available — Be the first to reproduce this paper.

Reproduce

Code

Abstract

Semantic parsing transforms a natural language question into a formal query over a knowledge base. Many existing methods rely on syntactic parsing like dependencies. However, the accuracy of producing such expressive formalisms is not satisfying on long complex questions. In this paper, we propose a novel skeleton grammar to represent the high-level structure of a complex question. This dedicated coarse-grained formalism with a BERT-based parsing algorithm helps to improve the accuracy of the downstream fine-grained semantic parsing. Besides, to align the structure of a question with the structure of a knowledge base, our multi-strategy method combines sentence-level and word-level semantics. Our approach shows promising performance on several datasets.

Tasks

Reproductions