×

Natural language platform for database system

  • US 10,410,107 B2
  • Filed: 11/17/2016
  • Issued: 09/10/2019
  • Est. Priority Date: 07/26/2016
  • Status: Active Grant
First Claim
Patent Images

1. A system for processing a natural language query in a database system, comprising:

  • a hardware processor; and

    a memory to store metadata associating different natural language phrases with structured data, including tables and columns, the memory further storing one or more stored sequences of instructions which, when executed by the processor, cause the processor to implement a natural language processor behind a database firewall to configure the natural language processor with full access to the structured data, the instructions comprising;

    responsive to the natural language processor receiving a natural language query from a group chat session, parsing the natural language query to identify an address associated with the user, and accessing the metadata to identify the structured data associated with the address;

    converting, by a query processor, an output from the natural language processor into a structured database query by;

    identifying a first phrase in the natural language query associated with one of the tables in the structured data;

    identifying a second phrase in the natural language query operating as a predicate for the first phrase;

    reading the metadata in the database system to associate the predicate in the second phrase with an identified column in the table; and

    generating the structured database query to reference the table identified in the first phrase, the predicate in the second phrase, and the column identified by the metadata;

    submitting, by the query processor, the structured database query to the structured data associated with the user;

    converting, by the query processor, a query result received from the database system into a natural language response;

    identifying permissions for participants in the group chat session;

    displaying the query result to all of the participants when the permissions for all of the participants are sufficient to view the results;

    displaying the query result only to the participant sending the natural language query when permissions for the other participants in the group chat session are insufficient to view the results; and

    not displaying the query result to any of the participants when the data access permissions for the participant sending the natural language query are insufficient to view the results.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×