3. “Hello Google”
Where is Temple University
“Hello MySql”
Where is CIS Department ?
3
Problem description
Understanding Natural Language
Creating queries
Run queries on Relational database
4. Motivation
• Accept natural language questions
• Help non-expert users to get result from database using SQL
• Providing a platform for communication of user and system
• Combining two important research fields (NLP and SQL)
into one application
4
5. Proposed method
• Transform a natural language to a query tree
• Verifies the transformation interactively with the user
• Translate the query tree into a SQL statement
Components:
• Generate dependency parser (using Stanford Parser[2] )
• Perform parse tree node mapper
• Parse tree structure adjustor
• Interactive communicator
• Query tree translator
5
11. Experimental Results
• Effectiveness (the quality of returned result)
• Usability (how much easier is the system)
Data set: Microsoft Academic Search (MAS)
Comparison results with MAS website
11
15. Conclusions
• An interactive natural language query interface for RD
• Generates multiple interpretation to find best one
• Actual user experience is gathered to test the model
• Even naïve user can find complex results easily
15
16. Criticism
• Strong Point:
– The problem statement is really interesting and important
– It tries to make a bridge between system and user
– Applied NLP in analyzing SQL statements
– Node mapping and valid parse tree generation process is
unique
16
17. Criticism
• Weak Point:
– Users must need to have domain knowledge
– Natural language variety is not discussed in details
– Parse tree selection process is not clear
– Experimental results are not sufficient for supporting their
demand
– Other parameters / analysis should consider
– It is just an extension of previous work, NaLIR [7]
17
18. References
• I. Androutsopoulos, G. D. Ritchie, and P. Thanisch.Natural language interfaces to databases - an introduction. Natural
Language Engineering, 1(1):29–81, 1995.
• M.-C. de Marne↵e, B. MacCartney, and C. D. Manning. Generating typed dependency parses from phrase structure parses. In
LREC, pages 449–454, 2006.
• R. Ge and R. Mooney. A statistical semantic parser that integrates syntax and semantics. In CoNLL, pages 9–16,2005.
• R. J. Kate and R. J. Mooney. Using string-kernels for learning semantic parsers. In ACL, 2006.
• A. Kokkalis, P. Vagenas, A. Zervakis, A. Simitsis, G. Koutrika, and Y. E. Ioannidis. Logos: a system for translating queries into
narratives. In SIGMOD Conference, pages 673–676, 2012.
• D. K¨upper, M. Strobel, and D. R¨osner. Nauda – a cooperative, natural language interface to relational databases. In SIGMOD
Conference, pages 529–533, 1993.
• F. Li and H. V. Jagadish. Constructing an interactive natural language interface for relational databases. PVLDB, 8(1):73–84,
2014.
• Y. Li, H. Yang, and H. V. Jagadish. Nalix: an interactive natural language interface for querying xml. In SIGMOD Conference,
pages 900–902, 2005.
• Y. Li, H. Yang, and H. V. Jagadish. Nalix: A generic natural language search environment for XML data. ACM Trans. Database
Syst., 32(4), 2007.
• P. Liang, M. I. Jordan, and D. Klein. Learning dependency-based compositional semantics. In ACL, 2011.
• M. Minock. A STEP towards realizing codd’s vision of rendezvous with the casual user. In PVLDB, pages 1358–1361, 2007.
• A.-M. Popescu, A. Armanasu, O. Etzioni, D. Ko, and A. Yates. Modern natural language interfaces to databases: Composing
statistical parsing with semantic tractability. In COLING, 2004.
• A.-M. Popescu, O. Etzioni, and H. A. Kautz. Towards a theory of natural language interfaces to databases. In IUI, pages 149–
157, 2003.
• L. R. Tang and R. J. Mooney. Using multiple clause constructors in inductive logic programming for semantic parsing. In
EMCL, pages 466–477, 2001.
• Y. W. Wong and R. J. Mooney. Learning synchronous grammars for semantic parsing with lambda calculus. In ACL, 2007.
18