×

Dynamic example generation for queries

  • US 8,601,015 B1
  • Filed: 05/14/2010
  • Issued: 12/03/2013
  • Est. Priority Date: 05/15/2009
  • Status: Active Grant
First Claim
Patent Images

1. A method of generating example natural language queries, comprising:

  • receiving an actual natural language query from a user;

    partitioning the actual natural language query into one or more tokens;

    generating one or more expressions in a precise syntax using the one or more tokens;

    processing the one or more expressions in an attempt to generate an answer to the natural language query;

    generating one or more fragments of the actual natural language query based on reassembly of the one or more tokens, wherein at least one of the one or more fragments has multiple portions comprising the one or more tokens;

    generating a plurality of example natural language queries based on (i) different interpretations of the one or more fragments, and (ii) a plurality of query templates for comparing to the one or more fragments, wherein at least some of the plurality of query templates comprise pairs of (i) known categories and (ii) known properties respectively associated with the categories, and wherein generating the plurality of example natural language queries includes;

    determining, for each fragment having multiple portions, whether a first portion of the fragment matches a first category corresponding to a first one of the plurality of query templates and a second portion of the fragment matches a first property corresponding to the first one of the plurality of query templates, the first property associated with the first category, andwhen it is determined that the first portion of the fragment matches the first category corresponding to the first one of the plurality of query templates and the second portion of the fragment matches the first property corresponding to the first one of the plurality of query templates, generating one of the plurality of example natural language queries based on the first one of the plurality of query templates; and

    transmitting to the user, via a network, the at least one of the plurality of example natural language queries.

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