Tree model-based complex natural language query-to-SQL method
A natural language and model technology, applied in the field of complex natural language query conversion to SQL, can solve problems such as performance degradation and inability to handle, and achieve the effect of improving stability
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment
[0062] The following natural language query "among the universities where celebrities graduated, which universities have no more than five celebrities, and give the categories of these universities" is converted into a SQL statement "select T2. category, T2. name from celebrity as T1 join university asT2 on celebrity.university id==university.entry id group by T1.university id having count(*)figure 1 , illustrating the complex natural language query-to-SQL method of the present invention.
[0063] (1) Preprocess the natural language query and convert it into "among the universities where celebrities graduated, which universities have no more than 5 celebrities, and give the categories of these universities";
[0064] (2) K=2 is set, and the screening database obtains the tables relevant to TOP K: colleges and universities, celebrity data tables;
[0065] (3) Input the natural language query "Among the colleges and universities where celebrities graduated, which colleges and un...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com