19. A non-transitory computer-readable medium storing software comprising instructions executable by one or more computers which, upon such execution, cause the one or more computers to perform operations comprising: receiving a query that includes a first geographic entity name; determining that a second geographic entity name that was identified as a substitute term for the first geographic entity name by a first substitution framework, was also identified as not a substitute term for the first geographic entity name by a second substitution framework; revising the query using the second geographic entity name to generate a revised query; obtaining search results that satisfy the revised query; and demoting a score of an obtained search result that corresponds to a document that includes the second geographic entity name based at least in part on determining that the second geographic entity name that was identified as a substitute term for the first geographic entity name by a first substitution framework was also identified as not a substitute term for the first geographic entity name by the second substitution framework.
19. A non-transitory computer-readable medium storing software comprising instructions executable by one or more computers which, upon such execution, cause the one or more computers to perform operations comprising: receiving a query that includes a first geographic entity name; determining that a second geographic entity name that was identified as a substitute term for the first geographic entity name by a first substitution framework, was also identified as not a substitute term for the first geographic entity name by a second substitution framework; revising the query using the second geographic entity name to generate a revised query; obtaining search results that satisfy the revised query; and demoting a score of an obtained search result that corresponds to a document that includes the second geographic entity name based at least in part on determining that the second geographic entity name that was identified as a substitute term for the first geographic entity name by a first substitution framework was also identified as not a substitute term for the first geographic entity name by the second substitution framework. 22. The computer-readable medium of claim 19 , wherein the operations comprise: determining a relationship between the first geographic entity name and the second geographic entity name in a geographic data set that includes a plurality of names of geographic entities and respective relationships between pairs of geographic entities, wherein determining that the second geographic entity name is identified as not a substitute term for the first geographic entity name by the second substitution framework is based at least in part on the determined relationship.