×

Disambiguating join paths for natural language queries

  • US 10,282,444 B2
  • Filed: 09/09/2016
  • Issued: 05/07/2019
  • Est. Priority Date: 09/11/2015
  • Status: Active Grant
First Claim
Patent Images

1. A Method comprising:

  • obtaining a natural language query from a user;

    converting the natural language query into structured operations to be performed on structured application programming interfaces (APIs) of a knowledge base, including;

    identifying one or more tokens in the natural language query;

    generating a tree specifying dependency relationships among the identified tokens in the natural language query;

    generating a graph based on the tree and a data schema of the knowledge base, the graph having multiple join paths that each specify a directional relationship among elements within the knowledge base that correspond to the identified tokens in the natural language query;

    responsive to detecting a linguistic ambiguity due to the inclusion of a particular identified token in multiple join paths in the graph, wherein a token included in the natural language query has two or more interpretations;

    resolving the linguistic ambiguity by selecting one of the multiple join paths specified by the graph, wherein the selected join path corresponds to an interpretation of the token from among the two or more interpretations of the token;

    using the natural language query in accordance with the selected interpretation of the token, to generate one or more structured operations;

    identifying search results by performing the one or more structured operations on the structured APIs of the knowledge base; and

    returning the search results to the user in response to the natural language query;

    wherein the knowledge base is implemented on one or more computers and one or more storage devices storing instructions to produce operation results based on structured operations; and

    wherein the knowledge base stores information associated with entities according to the data schema and has the APIs for programs to query the knowledge base.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×