主权项 |
1. A method for generating a query by modifying a query template, the method comprising:
identifying, by operation of one or more computer processors, one or more words in a natural language query that have previously-established associations with stored data upon which the query will be executed, wherein the natural language query is formatted to a query template that includes at least one first component and at least one second component; modifying, by operation of one or more computer processors, the at least one first component of the a query template based, at least in part, on at least one link between the one or more words in the natural language query and the at least one first component; generating, by operation of one or more computer processors, a new query by adding one or more values to the query template, wherein the one or more values are added to the query template based, at least in part, on the modification of the at least one first component; and executing, by operation of one or more computer processors, a search based on the new query. |