1. A computer-implemented method comprising: retrieving, from a volatile or non-volatile computer-readable storage medium, a query associated with a query category; detecting an entity text in the query; mapping the entity text to an entity category; determining a keyword text from a remainder of the query; determining that another query comprises said keyword text and another entity text in said entity category; based at least in part on said determining that another query comprises said keyword text and another entity text in said entity category, storing, on a volatile or non-volatile computer-readable storage medium, information that indicates that the other query is associated with said query category.