2003 · 66 citations · 0 references
ComputingComputer ScienceDatabasesNatural Language ProcessingSemanticsNatural Language GenerationParsingQuery ProcessingQuestion AnsweringSyntactic AnalysisSyntax ParsingDatalogGraph MatchingNatural Language InterfacesNatural Language QueryingQuery AnsweringSemantic ParsingSemantic Question AnsweringSyntactic Constraints
The growing prevalence of web browsers, PDAs, and cell phones has heightened the need for natural‑language interfaces that reliably translate user queries into SQL, as users prefer dependable interfaces over unreliable intelligent ones. The paper introduces a theoretical framework for reliable NLIs that serves as the foundation for the fully implemented Precise NLI. The authors develop this framework, implement Precise, and evaluate it on several hundred user‑generated questions drawn from three benchmark databases. They prove that Precise reliably maps a broad class of semantically tractable questions to SQL, correctly answers over 80 % of the tested queries, automatically flags the remaining 20 % for paraphrase, and outperforms Mooney’s learning NLI and Microsoft’s English Query product.
The need for Natural Language Interfaces to databases (NLIs) has become increasingly acute as more and more people access information through their web browsers, PDAs, and cell phones. Yet NLIs are only usable if they map natural language questions to SQL queries correctly. As Schneiderman and Norman have argued, people are unwilling to trade reliable and predictable user interfaces for intelligent but unreliable ones. In this paper, we introduce a theoretical framework for reliable NLIs, which is the foundation for the fully implemented Precise NLI. We prove that, for a broad class of semantically tractable natural language questions, Precise is guaranteed to map each question to the corresponding SQL query. We report on experiments testing Precise on several hundred questions drawn from user studies over three benchmark databases. We find that over 80% of the questions are semantically tractable questions, which Precise answers correctly. Precise automatically recognizes the 20% of questions that it cannot handle, and requests a paraphrase. Finally, we show that Precise compares favorably with Mooney's learning NLI and with Microsoft's English Query product