Patent attributes
Methods, systems, and apparatus, including computer programs encoded on one or more computer storage devices, for ranking categories of points of interest. In one aspect, a method includes receiving at a current time a location of a user's electronic device and retrieving data identifying multiple points of interest. Each point of interest is within a predetermined distance to the location and is associated with a category. Each of the points of interest is scored based on proximity of the point of interest to the location. Each of the categories is ranked based on the scores of the points of interest included in the categories and on the probability of receiving a query from a user relating to the subject matter of the category at the current time in the location. Data identifying points of interest is provided to the electronic device based on the ranking and the scoring.