NaLIR: an interactive natural language interface for querying relational databases
The DOI matches its Crossref record; 12 of the 12 references it cites were found in a registry or an index.
Abstract
In this demo, we present NaLIR, a generic interactive natural language interface for querying relational databases. NaLIR can accept a logically complex English language sentence as query input. This query is first translated into a SQL query, which may include aggregation, nesting, and various types of joins, among other things, and then evaluated against an RDBMS. In this demonstration, we show that NaLIR, while far from being able to pass the Turing test, is perfectly usable in practice, and able to handle even quite complex queries in a variety of application domains. In addition, we also demonstrate how carefully designed interactive communication can avoid misinterpretation with minimum user burden.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Generating Typed Dependency Parses from Phrase Structure Parses
de Marneffe, M.-C., MacCartney, B., & Manning, C. D. (2006) · Language Resources and Evaluation Conference (LREC) · doi:10.63317/3wtkaidk6ea8 · Cited by 2,258 · cited 2×
“In partic- 1In the current implementation, we use MySQL as the RDBMS, and Stanford NLP Parser [5] as the dependency natural language parser. ular, we adjust the parse tree in two steps.”
MethodNatural language interfaces to databases – an introduction
Androutsopoulos, I., Ritchie, G. D., & Thanisch, P. (1995) · Natural Language Engineering · doi:10.1017/s135132490000005x · Cited by 768 · cited 1×
“Natural language interfaces to databases (NLIDB) have been studied for several decades [1].”
BackgroundTowards a theory of natural language interfaces to databases
Popescu, A.-M., Etzioni, O., & Kautz, H. (2003) · Proceedings of the 8th international conference on Intelligent user interfaces · doi:10.1145/604045.604070 · Cited by 514 · cited 2×
“As pointed out in [8], people are unwilling to trade reliable and predictable user interfaces for intelligent but unreliable ones.”
BackgroundLi, Y., Yang, H., & Jagadish, H. V. (2005) · ACM SIGMOD International Conference on Management of Data (SIGMOD) · doi:10.1145/1066157.1066281 · Cited by 147 · cited 1×
“NaLIX [7] achieves recall and precision by asking the user to rephrase their query until the query falls in its semantic coverage.”
BackgroundSelf-citationSODA: generating SQL for business users
Blunschi, L., Jossen, C., Kossmann, D., Mori, M., & Stockinger, K. (2012) · Proceedings of the VLDB Endowment · doi:10.14778/2336664.2336667 · Cited by 121
Précis: from unstructured keywords as queries to structured databases as answers
Simitsis, A., Koutrika, G., & Ioannidis, Y. (2007) · The VLDB Journal · doi:10.1007/s00778-007-0075-9 · Cited by 120 · cited 2×
“In particular, some of them extend keywords by supporting aggregation functions [10], Boolean operators [9], query language fragments [3], and so forth.”
BackgroundSQAK: doing more with keywords
Tata, S., & Lohman, G. M. (2008) · ACM SIGMOD International Conference on Management of Data (SIGMOD) · doi:10.1145/1376616.1376705 · Cited by 109 · cited 2×
“In particular, some of them extend keywords by supporting aggregation functions [10], Boolean operators [9], query language fragments [3], and so forth.”
BackgroundYu, J. X., Qin, L., & Chang, L. (2009) · Synthesis lectures on data management · doi:10.2200/s00231ed1v01y200912dtm001 · Cited by 94
QueryViz: helping users understand SQL queries and their patterns
Danaparamita, J., & Gatterbauer, W. (2011) · International Conference on Extending Database Technology (EDBT) · doi:10.1145/1951365.1951440 · Cited by 67 · cited 1×
“Previous systems explain SQL queries to naive users using natural language [6] and visualization tools [4, 2].”
BackgroundKeyword++: a framework to improve keyword search over entity databases
Ganti, V., He, Y., & Xin, D. (2010) · Proceedings of the VLDB Endowment · doi:10.14778/1920841.1920932 · Cited by 52 · cited 1×
“Recently, there is a stream of such research on keyword search [10, 9, 11, 3, 2], in which, given a set of keywords, instead of finding the data relevant to these keywords, they try to interpret the query intent behind the keywords in the view of a formal query language.”
Background
Cited by
Summarizing Source Code using a Neural Attention Model
Iyer, S., Konstas, I., Cheung, A., & Zettlemoyer, L. (2016) · Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers) · doi:10.18653/v1/p16-1195 · Cited by 701
DataTone: Managing Ambiguity in Natural Language Interfaces for Data Visualization
Gao, T., Dontcheva, M., Adar, E., Liu, Z., & Karahalios, K. G. (2015) · Proceedings of the 28th Annual ACM Symposium on User Interface Software & Technology · doi:10.1145/2807442.2807478 · Cited by 242
“Since it is hard to scale this approach to other domains, researchers build NLIDBs that can learn semantic grammars from training examples.”
BackgroundNarechania, A., Srinivasan, A., & Stasko, J. (2021) · IEEE Transactions on Visualization and Computer Graphics · doi:10.1109/tvcg.2020.3030378 · Cited by 208
“, [4,17,20,29,39,40,60,71]), there has been a surge of NLIs for data visualization [13,22,24,25,27,46,47,49,50,52,54,69], especially in recent years.”
BackgroundTowards Natural Language Interfaces for Data Visualization: A Survey
Shen, L., Shen, E., Luo, Y., Yang, X., Hu, X., Zhang, X., Tai, Z., & Wang, J. (2023) · IEEE Transactions on Visualization and Computer Graphics · doi:10.1109/tvcg.2022.3148007 · Cited by 181
“DataBase (NLI4DB) A/B/E/F/G [6], [290] [13], [14], [15], [19], [22], [55], [72], [73], [74], [80], [87], [92], [95], [118], [135], [136], [137],”
Synthesizing highly expressive SQL queries from input-output examples
Wang, C., Cheung, A., & Bodik, R. (2017) · Proceedings of the 38th ACM SIGPLAN Conference on Programming Language Design and Implementation · doi:10.1145/3062341.3062365 · Cited by 178
“Interactive Refinement Statistical ranking algorithms [28, 31] and interactive disambiguation interfaces [19, 20] have been proposed to improve PBE system accuracy.”
MethodA comparative survey of recent natural language interfaces for databases
Affolter, K., Stockinger, K., & Bernstein, A. (2019) · The VLDB Journal · doi:10.1007/s00778-019-00567-8 · Cited by 177
“Li and Jagadish (2014a) (NaLIR) mention that the iden-tification alone is not enough: after the identification of the subqueries, the necessary information needs to be propagated to each part of the subquery.”
BackgroundConstrained Language Models Yield Few-Shot Semantic Parsers
Shin, R., Lin, C., Thomson, S., Chen, C., Roy, S., Platanios, E. A., Pauls, A., Klein, D., Eisner, J., & Van Durme, B. (2021) · Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing · doi:10.18653/v1/2021.emnlp-main.608 · Cited by 139
“The utterances u were questions sampled from multiple existing datasets for semantic parsing (Price, 1990; Zelle and Mooney, 1996; Li and Jagadish, 2014; Yu et al., 2018), reading comprehension (Talmor and Berant, 2018; Yang et al.”
MethodCodexDB: synthesizing code for query processing from natural language instructions using GPT-3 codex
Trummer, I. (2022) · Proceedings of the VLDB Endowment · doi:10.14778/3551793.3551841 · Cited by 65
Active Inductive Logic Programming for Code Search
Sivaraman, A., Zhang, T., Van den Broeck, G., & Kim, M. (2019) · 2019 IEEE/ACM 41st International Conference on Software Engineering (ICSE) · doi:10.1109/icse.2019.00044 · Cited by 34
“Interactive disambiguation interfaces [53, 54] aim to improve the accuracy of programming-by-example systems.”
BackgroundRawassizadeh (2023) · doi:10.1145/3569488 · Cited by 11
Metadata
- Authors
- Li, F., & Jagadish, H. V.
- Venue
- Proceedings of the 2014 ACM SIGMOD International Conference on Management of Data
- Publisher
- ACM
- Published
- 2014-06-18
- Pages
- 709-712
- ISSN
- 0730-8078 (ISSN-L)
- OpenAlex
- W2032374895
- Cited by
- 174
- References
- 12
- FWCI
- 4.35
- Type
- conference paper
- Language
- en
- Open access
- closed
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.