1. A computer-implemented method comprising: receiving information about a geographic feature; identifying a plurality of contexts related to the geographic feature, and for each context, identifying a distinct respective ranking function for generating rank scores for geographic features, where each context is a respective purpose of a query; and generating, for each context, using the respective ranking function for the context and based on a relationship between the geographic feature and at least another geographic feature, a rank score for the geographic feature.
3. The method of claim 1 wherein generating the rank scores comprises generating the rank scores based on at least one of the area occupied by the geographic feature, the population density of the geographic feature, the total length of roads of the geographic feature, economic factors associated with the geographic feature, infrastructure quality of the geographic feature, or visual prominence of the geographic feature.