Disambiguating associations
First Claim
Patent Images
1. A system comprising:
- at least one processor to;
access associations between keywords contained in formerly received natural language queries and attributes of a database model;
access a context free grammar comprising a first sentence that includes elements of a formerly received natural language query, wherein in the first sentence a given keyword in the formerly received natural language query that is associated with an attribute of the database model is replaced with a first label representing a first one of plural different database attribute types of the attributes of the database model;
disambiguate first associations between a first keyword and multiple attributes of the database model;
disambiguate second associations between an attribute of the database model and the plural different database attribute types using the context free grammar; and
respond to a new natural language query by generating a database language query based on the disambiguating of the first and second associations.
2 Assignments
0 Petitions
Accused Products
Abstract
Disclosed herein is a technique for disambiguating associations between one keyword and multiple attributes of a database model and for disambiguating associations between one attribute of a database model and multiple attribute types.
-
Citations
24 Claims
-
1. A system comprising:
-
at least one processor to; access associations between keywords contained in formerly received natural language queries and attributes of a database model; access a context free grammar comprising a first sentence that includes elements of a formerly received natural language query, wherein in the first sentence a given keyword in the formerly received natural language query that is associated with an attribute of the database model is replaced with a first label representing a first one of plural different database attribute types of the attributes of the database model; disambiguate first associations between a first keyword and multiple attributes of the database model; disambiguate second associations between an attribute of the database model and the plural different database attribute types using the context free grammar; and respond to a new natural language query by generating a database language query based on the disambiguating of the first and second associations. - View Dependent Claims (2, 3)
-
-
4. A system comprising:
at least one processor to; learn to translate natural language queries into database language queries using historical data associated with previously received natural language queries; respond to a new natural language query based on an analysis of the historical data, the historical data comprising; associations between keywords contained in the previously received natural language queries and attributes of a database model, the associations including associations between a first of the keywords and multiple attributes of the database model; and a context free grammar, the context free grammar being adaptable for disambiguating associations between an attribute of the database model and multiple attribute types, the multiple attribute types comprising a database table, a database column, and a value in a database table, the context free grammar further comprising a sentence including elements of a formerly received natural language query, and including a label replacing a given keyword in the formerly received natural language query and representing one of the database attribute types, the one database attribute type corresponding to the attribute of the database model associated with the given keyword; and associate a given association between a keyword in the new natural language query and a respective attribute of the database model with a first probability, the first probability representing a likelihood that the given association will translate into at least one expression of a database language query that produces a correct answer to the new natural language query. - View Dependent Claims (5, 6, 7, 8)
-
9. A non-transitory computer readable medium having instructions stored therein for causing at least one processor to:
-
access associations between keywords contained in formerly received natural language queries and attributes of a database model; access a context free grammar comprising a first sentence that includes elements of a formerly received natural language query, wherein in the first sentence a given keyword in the formerly received natural language query that is associated with an attribute of the database model is replaced with a first label representing a first one of plural different database attribute types of the attributes of the database model; disambiguate first associations between a first keyword and multiple attributes of the database model; disambiguate second associations between an attribute of the database model and the plural different database attribute types using the context free grammar; and respond to a new natural language query by generating a database language query based on the disambiguating of the first and second associations. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16, 17)
-
-
18. A method comprising:
-
accessing, by a system including a processor, associations between keywords contained in formerly received natural language queries and attributes of a database model; accessing, by the system, a context free grammar including a first sentence containing elements of a given formerly received natural language query, the first sentence further containing a first label representing one of plural different database attribute types of the attributes of the database model, the first label replacing a given keyword in the given formerly received natural language query; disambiguating, by the system, first associations between a first keyword and multiple attributes of the database models; disambiguating, by the system, second associations between an attribute of the database model and the plural different database attribute types using the context free grammar; and generating, by the system, a database language query in response to a new natural language query, based on accessing the context free grammar and the disambiguating of the first and second associations. - View Dependent Claims (19, 20, 21, 22, 23, 24)
-
Specification