US 11,726,994 B1
Providing query restatements for explaining natural language query results
Jun Wang, Jersey City, NJ (US); Zhiguo Wang, Syosset, NY (US); Sharanabasappa Parashuram Revadigar, Bronxville, NY (US); Ramesh M Nallapati, New Canaan, CT (US); Bing Xiang, Mount Kisco, NY (US); Sudipta Sengupta, Sammamish, WA (US); and Yung Haw Wang, Sammamish, WA (US)
Assigned to Amazon Technologies, Inc., Seattle, WA (US)
Filed by Amazon Technologies, Inc., Seattle, WA (US)
Filed on Mar. 31, 2021, as Appl. No. 17/219,694.
Int. Cl. G06F 16/242 (2019.01); G06F 16/2452 (2019.01); G06F 16/28 (2019.01); G06F 16/248 (2019.01); G06F 16/2457 (2019.01)
CPC G06F 16/243 (2019.01) [G06F 16/248 (2019.01); G06F 16/24522 (2019.01); G06F 16/24573 (2019.01); G06F 16/287 (2019.01)] 20 Claims
OG exemplary drawing
 
1. A system, comprising:
at least one processor; and
a memory, storing program instructions that when executed by the at least one processor, cause the at least one processor to implement a natural language query processing system that provides access to a plurality of fixed schema data sets, the natural language query processing system configured to:
receive a natural language query via an interface for the natural language query processing system;
process the natural language query through a natural query language processing pipeline to generate an intermediate representation of the natural language query used for executing the natural language query;
determine from the intermediate representation both a natural language restatement of the intermediate representation and a format for executing the intermediate representation of the natural language query that invokes a determined type of visualization as part of generating a result for the natural language query, wherein to determine the natural language restatement of the intermediate representation, the natural language query processing system is configured to translate the intermediate representation into a natural language restatement of the natural language query;
cause the natural language query to be executed according to the determined format for the intermediate representation; and
cause the natural language restatement to be displayed with the result, including the invoked type of visualization, of the natural language query via the interface of the natural language query processing system.