Invention Grant
- Patent Title: Primitive-based query generation from natural language queries
-
Application No.: US17072935Application Date: 2020-10-16
-
Publication No.: US11803541B2Publication Date: 2023-10-31
- Inventor: Zuye Zheng , Ryoji Osawa , James Diefenderfer , Nadeem Marfani Aboobaker , Praveen Pendey , Sameer Sethi
- Applicant: Salesforce, Inc.
- Applicant Address: US CA San Francisco
- Assignee: Salesforce, Inc.
- Current Assignee: Salesforce, Inc.
- Current Assignee Address: US CA San Francisco
- Agency: Holland & Hart LLP
- Main IPC: G06F16/242
- IPC: G06F16/242 ; G06N3/08 ; G06F18/213 ; G06F18/214

Abstract:
Methods, systems, and devices supporting primitive-based query generation are described. A database system may receive a natural language query associated with a subset of data sets stored at the database system, determine a set of tokens included in the natural language query, and label one or more tokens of the set of tokens with one or more primitives from a set of supported primitives associated with the subset of data sets. The database system may determine a set of higher order concepts corresponding to query operations, query conditions, or both based on the one or more labeled tokens. The database system may train a neural network to learn a grammatical structure of the natural language query and generate a database query for querying the database system based on the one or more labeled tokens, the set of higher order concepts, and the neural network.
Public/Granted literature
- US20220121656A1 PRIMITIVE-BASED QUERY GENERATION FROM NATURAL LANGUAGE QUERIES Public/Granted day:2022-04-21
Information query