SlideShare a Scribd company logo
1 of 20
Ashis Kumar Chanda
PhD Student
Understanding Natural Language Queries over
Relational Databases
Authors: Fei Li, H. V. Jagadish
Contents
• Problem description
• Motivation
• Previous works
• Proposal
• Experiments
• Conclusion
• Criticism
2
“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
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
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
Proposed method
6
• Return authors who have more papers than Bob in VLDB after
2000.
Proposed method
7
Proposed method
8
Different types of nodes 
 Grammar of valid parse tree
Proposed Model
9
Another Example
10
Return the conference in each area whose papers have
the most citations
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
Experimental Results
12
Experimental Results
13
Experimental Results
14
Usability:
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
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
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
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
Any question
19
20
Thank you

More Related Content

Similar to Understanding Natural Language Queries over Relational Databases

Wikipedia-based Kernels for Dialogue Topic Tracking
Wikipedia-based Kernels for Dialogue Topic TrackingWikipedia-based Kernels for Dialogue Topic Tracking
Wikipedia-based Kernels for Dialogue Topic TrackingSeokhwan Kim
 
Presentation to 2014 University of Guelph Accessibility Conference Perspectiv...
Presentation to 2014 University of Guelph Accessibility Conference Perspectiv...Presentation to 2014 University of Guelph Accessibility Conference Perspectiv...
Presentation to 2014 University of Guelph Accessibility Conference Perspectiv...Shawna Reibling
 
New Data, Same Skills: Applying Core Principles to New Needs in Data Curation
New Data, Same Skills: Applying Core Principles to New Needs in Data CurationNew Data, Same Skills: Applying Core Principles to New Needs in Data Curation
New Data, Same Skills: Applying Core Principles to New Needs in Data CurationLynn Connaway
 
New Data, Same Skills: Applying Core Principles to New Needs in Data Curation
New Data, Same Skills: Applying Core Principles to New Needs in Data CurationNew Data, Same Skills: Applying Core Principles to New Needs in Data Curation
New Data, Same Skills: Applying Core Principles to New Needs in Data CurationOCLC
 
MS-Presentation-new template arid university.pptx
MS-Presentation-new template arid university.pptxMS-Presentation-new template arid university.pptx
MS-Presentation-new template arid university.pptxNimraTariq69
 
A Comprehensive Study On Natural Language Processing And Natural Language Int...
A Comprehensive Study On Natural Language Processing And Natural Language Int...A Comprehensive Study On Natural Language Processing And Natural Language Int...
A Comprehensive Study On Natural Language Processing And Natural Language Int...Scott Bou
 
Socio semantic networks of research publications in learning analytics community
Socio semantic networks of research publications in learning analytics communitySocio semantic networks of research publications in learning analytics community
Socio semantic networks of research publications in learning analytics communitySoudé Fazeli
 
Towards OpenURL Quality Metrics: Initial Findings
Towards OpenURL Quality Metrics: Initial FindingsTowards OpenURL Quality Metrics: Initial Findings
Towards OpenURL Quality Metrics: Initial Findingsalc28
 
A Metadata Application Profile for KOS Vocabulary Registries (KOS-AP)
A Metadata Application Profile for KOS Vocabulary Registries (KOS-AP)A Metadata Application Profile for KOS Vocabulary Registries (KOS-AP)
A Metadata Application Profile for KOS Vocabulary Registries (KOS-AP)Marcia Zeng
 
MS-Word.doc
MS-Word.docMS-Word.doc
MS-Word.docbutest
 
Approach to leverage Websites to APIs through Semantics
Approach to leverage Websites to APIs through SemanticsApproach to leverage Websites to APIs through Semantics
Approach to leverage Websites to APIs through SemanticsIoannis Stavrakantonakis
 
Relationship status: Libraries and linked data in Europe
Relationship status: Libraries and linked data in EuropeRelationship status: Libraries and linked data in Europe
Relationship status: Libraries and linked data in EuropeDiane Rasmussen Pennington
 
Liberact conference 2013 Gnome Surfer & Moclo Planner
Liberact conference 2013 Gnome Surfer & Moclo PlannerLiberact conference 2013 Gnome Surfer & Moclo Planner
Liberact conference 2013 Gnome Surfer & Moclo PlannerConsuelo Valdes
 
DBR (Design-Based Research) in mobile learning-Mlearn2013 Doha A_Palalas C_G...
DBR (Design-Based Research) in mobile learning-Mlearn2013 Doha  A_Palalas C_G...DBR (Design-Based Research) in mobile learning-Mlearn2013 Doha  A_Palalas C_G...
DBR (Design-Based Research) in mobile learning-Mlearn2013 Doha A_Palalas C_G...Agnieszka (Aga) Palalas, Ed.D.
 
IRJET- Querying Database using Natural Language Interface
IRJET-  	  Querying Database using Natural Language InterfaceIRJET-  	  Querying Database using Natural Language Interface
IRJET- Querying Database using Natural Language InterfaceIRJET Journal
 
Capturing the Behaviors of the Elusive User: Strategies for Library Ethnography
Capturing the Behaviors of the Elusive User: Strategies for Library EthnographyCapturing the Behaviors of the Elusive User: Strategies for Library Ethnography
Capturing the Behaviors of the Elusive User: Strategies for Library EthnographyOCLC
 
Capturing the Behaviors of the Elusive User: Strategies for Library Ethnography
Capturing the Behaviors of the Elusive User: Strategies for Library EthnographyCapturing the Behaviors of the Elusive User: Strategies for Library Ethnography
Capturing the Behaviors of the Elusive User: Strategies for Library EthnographyLynn Connaway
 
Philippe Langlais - 2017 - Users and Data: The Two Neglected Children of Bili...
Philippe Langlais - 2017 - Users and Data: The Two Neglected Children of Bili...Philippe Langlais - 2017 - Users and Data: The Two Neglected Children of Bili...
Philippe Langlais - 2017 - Users and Data: The Two Neglected Children of Bili...Association for Computational Linguistics
 

Similar to Understanding Natural Language Queries over Relational Databases (20)

Wikipedia-based Kernels for Dialogue Topic Tracking
Wikipedia-based Kernels for Dialogue Topic TrackingWikipedia-based Kernels for Dialogue Topic Tracking
Wikipedia-based Kernels for Dialogue Topic Tracking
 
Text visualization
Text visualizationText visualization
Text visualization
 
Presentation to 2014 University of Guelph Accessibility Conference Perspectiv...
Presentation to 2014 University of Guelph Accessibility Conference Perspectiv...Presentation to 2014 University of Guelph Accessibility Conference Perspectiv...
Presentation to 2014 University of Guelph Accessibility Conference Perspectiv...
 
New Data, Same Skills: Applying Core Principles to New Needs in Data Curation
New Data, Same Skills: Applying Core Principles to New Needs in Data CurationNew Data, Same Skills: Applying Core Principles to New Needs in Data Curation
New Data, Same Skills: Applying Core Principles to New Needs in Data Curation
 
New Data, Same Skills: Applying Core Principles to New Needs in Data Curation
New Data, Same Skills: Applying Core Principles to New Needs in Data CurationNew Data, Same Skills: Applying Core Principles to New Needs in Data Curation
New Data, Same Skills: Applying Core Principles to New Needs in Data Curation
 
MS-Presentation-new template arid university.pptx
MS-Presentation-new template arid university.pptxMS-Presentation-new template arid university.pptx
MS-Presentation-new template arid university.pptx
 
A Comprehensive Study On Natural Language Processing And Natural Language Int...
A Comprehensive Study On Natural Language Processing And Natural Language Int...A Comprehensive Study On Natural Language Processing And Natural Language Int...
A Comprehensive Study On Natural Language Processing And Natural Language Int...
 
EDS for JIBS
EDS for JIBSEDS for JIBS
EDS for JIBS
 
Socio semantic networks of research publications in learning analytics community
Socio semantic networks of research publications in learning analytics communitySocio semantic networks of research publications in learning analytics community
Socio semantic networks of research publications in learning analytics community
 
Towards OpenURL Quality Metrics: Initial Findings
Towards OpenURL Quality Metrics: Initial FindingsTowards OpenURL Quality Metrics: Initial Findings
Towards OpenURL Quality Metrics: Initial Findings
 
A Metadata Application Profile for KOS Vocabulary Registries (KOS-AP)
A Metadata Application Profile for KOS Vocabulary Registries (KOS-AP)A Metadata Application Profile for KOS Vocabulary Registries (KOS-AP)
A Metadata Application Profile for KOS Vocabulary Registries (KOS-AP)
 
MS-Word.doc
MS-Word.docMS-Word.doc
MS-Word.doc
 
Approach to leverage Websites to APIs through Semantics
Approach to leverage Websites to APIs through SemanticsApproach to leverage Websites to APIs through Semantics
Approach to leverage Websites to APIs through Semantics
 
Relationship status: Libraries and linked data in Europe
Relationship status: Libraries and linked data in EuropeRelationship status: Libraries and linked data in Europe
Relationship status: Libraries and linked data in Europe
 
Liberact conference 2013 Gnome Surfer & Moclo Planner
Liberact conference 2013 Gnome Surfer & Moclo PlannerLiberact conference 2013 Gnome Surfer & Moclo Planner
Liberact conference 2013 Gnome Surfer & Moclo Planner
 
DBR (Design-Based Research) in mobile learning-Mlearn2013 Doha A_Palalas C_G...
DBR (Design-Based Research) in mobile learning-Mlearn2013 Doha  A_Palalas C_G...DBR (Design-Based Research) in mobile learning-Mlearn2013 Doha  A_Palalas C_G...
DBR (Design-Based Research) in mobile learning-Mlearn2013 Doha A_Palalas C_G...
 
IRJET- Querying Database using Natural Language Interface
IRJET-  	  Querying Database using Natural Language InterfaceIRJET-  	  Querying Database using Natural Language Interface
IRJET- Querying Database using Natural Language Interface
 
Capturing the Behaviors of the Elusive User: Strategies for Library Ethnography
Capturing the Behaviors of the Elusive User: Strategies for Library EthnographyCapturing the Behaviors of the Elusive User: Strategies for Library Ethnography
Capturing the Behaviors of the Elusive User: Strategies for Library Ethnography
 
Capturing the Behaviors of the Elusive User: Strategies for Library Ethnography
Capturing the Behaviors of the Elusive User: Strategies for Library EthnographyCapturing the Behaviors of the Elusive User: Strategies for Library Ethnography
Capturing the Behaviors of the Elusive User: Strategies for Library Ethnography
 
Philippe Langlais - 2017 - Users and Data: The Two Neglected Children of Bili...
Philippe Langlais - 2017 - Users and Data: The Two Neglected Children of Bili...Philippe Langlais - 2017 - Users and Data: The Two Neglected Children of Bili...
Philippe Langlais - 2017 - Users and Data: The Two Neglected Children of Bili...
 

More from Ashis Chanda

Understanding medical concepts and codes through NLP methods
Understanding medical concepts and codes through NLP methodsUnderstanding medical concepts and codes through NLP methods
Understanding medical concepts and codes through NLP methodsAshis Chanda
 
Information extraction from EHR
Information extraction from EHRInformation extraction from EHR
Information extraction from EHRAshis Chanda
 
Multi-class Image Classification using Deep Convolutional Networks on extreme...
Multi-class Image Classification using Deep Convolutional Networks on extreme...Multi-class Image Classification using Deep Convolutional Networks on extreme...
Multi-class Image Classification using Deep Convolutional Networks on extreme...Ashis Chanda
 
Full resolution image compression with recurrent neural networks
Full resolution image compression with recurrent neural networksFull resolution image compression with recurrent neural networks
Full resolution image compression with recurrent neural networksAshis Chanda
 
Iterative deepening search
Iterative deepening searchIterative deepening search
Iterative deepening searchAshis Chanda
 
Periodic pattern mining
Periodic pattern miningPeriodic pattern mining
Periodic pattern miningAshis Chanda
 
An efficient approach to mine flexible periodic patterns in time series datab...
An efficient approach to mine flexible periodic patterns in time series datab...An efficient approach to mine flexible periodic patterns in time series datab...
An efficient approach to mine flexible periodic patterns in time series datab...Ashis Chanda
 
Frequent Pattern Growth Algorithm (FP growth method)
Frequent Pattern Growth Algorithm (FP growth method)Frequent Pattern Growth Algorithm (FP growth method)
Frequent Pattern Growth Algorithm (FP growth method)Ashis Chanda
 

More from Ashis Chanda (11)

Understanding medical concepts and codes through NLP methods
Understanding medical concepts and codes through NLP methodsUnderstanding medical concepts and codes through NLP methods
Understanding medical concepts and codes through NLP methods
 
Word2vector
Word2vectorWord2vector
Word2vector
 
Information extraction from EHR
Information extraction from EHRInformation extraction from EHR
Information extraction from EHR
 
Multi-class Image Classification using Deep Convolutional Networks on extreme...
Multi-class Image Classification using Deep Convolutional Networks on extreme...Multi-class Image Classification using Deep Convolutional Networks on extreme...
Multi-class Image Classification using Deep Convolutional Networks on extreme...
 
Full resolution image compression with recurrent neural networks
Full resolution image compression with recurrent neural networksFull resolution image compression with recurrent neural networks
Full resolution image compression with recurrent neural networks
 
Iterative deepening search
Iterative deepening searchIterative deepening search
Iterative deepening search
 
Periodic pattern mining
Periodic pattern miningPeriodic pattern mining
Periodic pattern mining
 
An efficient approach to mine flexible periodic patterns in time series datab...
An efficient approach to mine flexible periodic patterns in time series datab...An efficient approach to mine flexible periodic patterns in time series datab...
An efficient approach to mine flexible periodic patterns in time series datab...
 
Data Mining
Data MiningData Mining
Data Mining
 
Frequent Pattern Growth Algorithm (FP growth method)
Frequent Pattern Growth Algorithm (FP growth method)Frequent Pattern Growth Algorithm (FP growth method)
Frequent Pattern Growth Algorithm (FP growth method)
 
Apriori algorithm
Apriori algorithmApriori algorithm
Apriori algorithm
 

Recently uploaded

18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991RKavithamani
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 

Recently uploaded (20)

Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 

Understanding Natural Language Queries over Relational Databases

  • 1. Ashis Kumar Chanda PhD Student Understanding Natural Language Queries over Relational Databases Authors: Fei Li, H. V. Jagadish
  • 2. Contents • Problem description • Motivation • Previous works • Proposal • Experiments • Conclusion • Criticism 2
  • 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
  • 6. Proposed method 6 • Return authors who have more papers than Bob in VLDB after 2000.
  • 8. Proposed method 8 Different types of nodes   Grammar of valid parse tree
  • 10. Another Example 10 Return the conference in each area whose papers have the most citations
  • 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

Editor's Notes

  1. Problem description, Motivation, Proposal, Experiments, Conclusion, Criticism
  2. A multiple choice selection panel
  3. A multiple choice selection panel
  4. A multiple choice selection panel
  5. A multiple choice selection panel
  6. No link for their application
  7. No link for their application