Method and system for converting graph of SQL to text into natural language statement
A natural language and sentence technology, applied in the field of intelligent speech, can solve problems such as ignoring node correlation, and achieve the effect of improving the conversion effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment approach
[0045] As an embodiment, the tree constructing SQL includes:
[0046] The SQL is divided into multiple clauses based on the data operation language and / or data definition language;
[0047] Create an abstract node to represent a table or row in the subsee;
[0048] A structural diagram of the tree of SQL is constructed based on the abstract node and the binary operator in the clause as the non-leaves node.
[0049] In the present embodiment, starting from the root node SQL, we first add subsequent nodes as their sub-nodes, specific content such as figure 2 Indicated. Conceptual abstract nodes, tables, and columns, and related operator nodes are attached to their parent nodes. Next, for Column and Table, we attach all raw words, aggregators, and Distinct flags as leaf nodes.
[0050] Further refine the construction, such as image 3 As shown, the SQL tree of the method consists of three levels: clause level, mode level, and token level.
[0051] First, SQL is divided into some c...
PUM

Abstract
Description
Claims
Application Information

- R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com