Patent ID: 11914628
Assignee: TABLEAU SOFTWARE, LLC
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 9:
10. A computer system for processing natural language database queries, comprising:
one or more processors; and
memory;
wherein the memory stores one or more programs configured for execution by the one or more processors, and the one or more programs comprise instructions for:
receiving user input specifying a natural language command via a conversational interface;
analyzing the natural language command to determine a question type that is a comparative question, a superlative question, or a trend analysis question;
for the user input and the determined question type, determining a corresponding preferred answer format that specifies inclusion of (1) textual responses and/or (2) responses comprising data visualizations; and
in accordance with a determination that the preferred answer format includes responses comprising data visualizations:
extracting one or more independent analytic phrases from the natural language command;
querying a database using a set of queries based on the extracted analytic phrases, thereby retrieving a data set;
selecting one or more data visualization types according to (1) the question type and (2) characteristics of the conversational interface, including layout, spatial dimensions, and/or orientation; and
generating and displaying, in the conversational interface, one or more data visualizations having the selected one or more data visualization types, according to data in the retrieved data set.