Mapping natural language to queries using a query grammar
AssigneeThoughtSpot, Inc.
InventorsNikhil Yadav, Ravi Tandon
Life of this patent
Estimating the term…
Loading patent…
AssigneeThoughtSpot, Inc.
InventorsNikhil Yadav, Ravi Tandon
Estimating the term…
Systems and methods for mapping natural language to queries using a query grammar are described. For example, methods may include generating, based on a string, a set of tokens of a database syntax; generating a query graph for the set of tokens using a finite state machine representing a query grammar, wherein nodes of the finite state machine represent token types, directed edges of the finite state machine represent valid transitions between token types in the query grammar, vertices of the query graph correspond to respective tokens of the set of tokens, and directed edges of the query graph represent a transition between two tokens in a sequencing of the tokens; determining, based on the query graph, a sequence of the tokens in the set of tokens, forming a database query; and invoking a search of a database using a query based on the database query to obtain search results.
A system for providing a search interface for databases, comprising:
A method comprising:
A non-transitory computer-readable storage medium that includes instructions that, when executed by a processor, facilitate performance of operations comprising:
Dependencies are inferred from the claim text.