US20120158712A1 - Inferring Geographic Locations for Entities Appearing in Search Queries - Google Patents

Inferring Geographic Locations for Entities Appearing in Search Queries Download PDF

Info

Publication number
US20120158712A1
US20120158712A1 US13/329,178 US201113329178A US2012158712A1 US 20120158712 A1 US20120158712 A1 US 20120158712A1 US 201113329178 A US201113329178 A US 201113329178A US 2012158712 A1 US2012158712 A1 US 2012158712A1
Authority
US
United States
Prior art keywords
location
website
query
specific
documents
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Abandoned
Application number
US13/329,178
Inventor
Sushrut Karanjkar
Viswanath Subramanian
Shashidhar Thakur
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Google LLC
Original Assignee
Google LLC
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Google LLC filed Critical Google LLC
Priority to US13/329,178 priority Critical patent/US20120158712A1/en
Assigned to GOOGLE INC. reassignment GOOGLE INC. ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: KARANJKAR, SUSHRUT, SUBRAMANIAN, VISWANATH, THAKUR, SHASHIDHAR
Publication of US20120158712A1 publication Critical patent/US20120158712A1/en
Priority to US15/056,608 priority patent/US10437861B1/en
Assigned to GOOGLE LLC reassignment GOOGLE LLC CHANGE OF NAME (SEE DOCUMENT FOR DETAILS). Assignors: GOOGLE INC.
Priority to US16/594,813 priority patent/US11176181B2/en
Abandoned legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2457Query processing with adaptation to user needs
    • G06F16/24578Query processing with adaptation to user needs using ranking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9537Spatial or temporal dependent retrieval, e.g. spatiotemporal queries

Definitions

  • the disclosed embodiments relate generally to search engine systems, and more specifically to search engines that enhance search results by inferring information from previously submitted queries.
  • Some search queries submitted by users contain explicit references to physical locations.
  • the search engine can easily provide information about that location, which may be in addition to the responsive search results. For example, in response to “eiffel tower paris france,” the search engine could provide information about Paris in addition to the search results about the Eiffel Tower. However, the query “eiffel tower” does not specify a physical location.
  • One way to infer unspecified locations is to identify locations that are geographically near the user.
  • the geographic location of a user can be determined by the user's IP address.
  • a major weakness in this approach is that it does not provide location information when a user is seeking information about a distant location (e.g., a user in Los Angeles seeking information about the Eiffel Tower).
  • Another way to infer unspecified or “missing” locations in a search query is to use a lookup table.
  • a lookup term in the table matches a term in a query, the corresponding location is presumed.
  • a drawback to this methodology is that it does not provide a notion of the prominence of the search entities when there are multiple entities with the same or similar names.
  • Another drawback is that the locations that may be inferred are limited to the locations associated with preselected entities in the lookup table.
  • a method of associating one or more locations with a website is performed by a server system, which includes one or more processors and memory storing one or more programs for execution by the one or more processors.
  • the method includes identifying a website, and for each respective location of a plurality of locations referenced in queries with respective result sets that comprise search result links to documents hosted at the website, computing a location-specific score representing the likelihood that the respective location is associated with the website.
  • the method further includes computing a site confidence value representing a likelihood that the website is associated with a physical location, determining a location associated with the website using the location-specific scores and the site confidence value, and storing information indicating that the determined location is associated with the website for subsequent use when processing respective search queries.
  • a non-transitory computer storage medium stores one or more programs, to be executed by one or more processors of a computer system.
  • the one or more programs include instructions, that when executed by the one or more processors of the computer system perform the aforementioned method of associating one or more locations with a website.
  • a method of associating one or more locations with a query received from a client device or system is performed by a server system, which includes one or more processors and memory storing one or more programs for execution by the one or more processors.
  • the method includes
  • a method of associating one or more locations with a query is performed by a server system, which includes one or more processors and memory storing one or more programs for execution by the one or more processors.
  • the method includes identifying a query, selecting a set of documents responsive to the identified query, and assigning weights to respective documents in the set of documents based, at least in part, on historical data of user clicks selecting search result links in search results produced for historical queries substantially the same as the identified query.
  • the method further includes identifying respective websites hosting the documents in the set of documents, and, for each website of a plurality of the identified websites, retrieving location-specific information for one or more locations, the retrieved information for a respective location comprising a location-specific score that corresponds to the likelihood that the respective location corresponds to a respective website of the identified websites.
  • the method also includes, for each respective location for which location-specific information was retrieved, aggregating the location-specific scores, as weighted by the document weights, to compute an aggregated likelihood that the respective location is associated with the query; and assigning a specific location to the query when predefined criteria are satisfied, the predefined criteria comprising a requirement that the aggregated likelihood for the specific location exceeds a first predefined value.
  • a non-transitory computer storage medium stores one or more programs, to be executed by one or more processors of a computer system.
  • the one or more programs include instructions, that when executed by the one or more processors of the computer system perform the aforementioned method of associating one or more locations with a query.
  • FIG. 1 is a conceptual illustration of the environment in which a location inference engine operates according to some embodiments.
  • FIG. 2 is a block diagram of a client system according to some embodiments.
  • FIG. 3 is a block diagram of a location inference engine according to some embodiments.
  • FIG. 4A illustrates explicit and implicit physical locations contained in queries according to some embodiments.
  • FIG. 4B illustrates various URL's that may be associated with websites according to some embodiments.
  • FIG. 5 illustrates graphically a relationship between locations and websites based on queries, result sets for the queries, and documents identified (e.g., by links to the documents) in the result sets according to some embodiments.
  • FIG. 6 illustrates graphically a relationship between locations and a query based on websites, documents from the websites, and a result set for the query according to some embodiments.
  • FIGS. 7A and 7B provide a flowchart of a process for inferring a location for a website using information in a query log according to some embodiments.
  • FIGS. 8A and 8B provide a flowchart of a process for inferring a location for a query using information in a query log according to some embodiments.
  • FIGS. 9A and 9B illustrate a process of counting clicks on search results according to some embodiments.
  • FIG. 1 is a conceptual illustration of the environment in which some embodiments operate.
  • a location inference engine 126 is an ancillary component for a search engine 110 .
  • the search engine 110 receives search queries from a plurality of users 102 using client devices or systems 104 .
  • users 102 interact with a browser 106 or other client-resident application to transmit queries over a communication network 108 to the search engine 110 .
  • the communication network may include local area networks (LAN's), wide area networks (WAN's), the Internet, local intranets, metropolitan area networks, or any combination of these.
  • the search engine 110 utilizes one or more databases 112 , which have one or more indexes 114 that index web page content 116 and are used to retrieve data responsive to user queries.
  • the database 112 contains cached copies of the web page content 116 , which may be particularly useful when an indexed web page is no longer available at the original host.
  • the search engine saves information about the searches in a search history database 118 .
  • the search history database 118 includes the search queries 120 (e.g., the actual text of the queries).
  • the search history database includes, for a respective query, timestamps corresponding to when the queries were received or processed, and/or demographic information about the users 102 who submitted the query (e.g., location information corresponding to the IP addresses of the users, and/or demographic obtained from user profiles of the users).
  • the search history database also includes the result set 122 (or a portion of the result set 122 , such as the top N results, where N is an integer, such as 10, 20 or the like, typically having a value between 5 and 100) returned in response to each query 120 .
  • the search history database 118 also includes click information 124 , which identifies how many times each search result was selected by a user in response to a specific query.
  • click refers to selection of a search result or corresponding link and is not limited to actual clicking with a mouse or other pointing device, but also includes other methods of selection (e.g., tapping on a touch sensitive pad or display or using a keyboard).
  • search history data is saved for each user query individually, even when the same query is issued by multiple users.
  • the search history data is aggregated (e.g., aggregated by query).
  • search queries are put in a standardized or canonical form to facilitate aggregation, and queries that share a common standardized or canonical form are aggregated. For example, “Haiti earthquake,” “earthquake Haiti,” and “earthquake in Haiti” might all be converted to the same canonical form. In addition, some embodiments use the canonical form to eliminate misspellings.
  • the location inference engine 126 uses the information in the search history database 118 to infer locations for websites and queries.
  • the location inference engine stores its results in a location database 128 .
  • Some embodiments store information that identifies locations for websites (site locations 130 ). This information refers to geographic locations for one or more entities (e.g., objects or items) appearing in the web pages for the website. This information does not refer to the physical location of the servers running a website. For example, the location for a website devoted to the Eiffel Tower, as the term is used herein, would be Paris, France, regardless of where the website servers were located (which might be in the United States, for example).
  • the location database 128 stores information (query locations 132 ) to associate a geographic location with entities (e.g., query terms) appearing in a query.
  • query locations 132 would include the location Paris, France for the query “restaurants near Eiffel Tower.”
  • the location database 128 also includes a location table 134 that stores known locations, to be compared to search terms in submitted search queries to identify terms that reference locations.
  • search database 112 search history database 118 , and location database 128 are illustrated as three distinct databases, some embodiments combine the data from two or more of these databases into a single database. For example, all three databases illustrated could be incorporated in a single database with distinct sets of tables corresponding to the functionality of the three illustrated databases.
  • FIG. 2 is a block diagram of a client system 104 (sometimes herein called a client device or client computer system) according to some embodiments.
  • client system include, without limitation, desktop computers, laptop computers, smart phones, personal digital assistants, and tablet computers.
  • a client system 104 typically includes one or more processing units (CPU's) 202 for executing modules, programs and/or instructions stored in memory 214 and thereby performing processing operations; one or more network or other communications interfaces 204 ; memory 214 ; and one or more communication buses 212 for interconnecting these components.
  • the communication buses 212 optionally include circuitry (sometimes called a chipset) that interconnects and controls communications between system components.
  • Client system 104 also includes a user interface 206 .
  • User interface 206 typically includes a display device 208 and one or more input devices 210 ; in some embodiments the display device 208 is a touch screen, in which case any separate input device is optional.
  • memory 214 includes high-speed random access memory, such as DRAM, SRAM, DDR RAM or other random access solid state memory devices.
  • memory 214 includes non-volatile memory, such as one or more magnetic disk storage devices, optical disk storage devices, flash memory devices, or other non-volatile solid state storage devices.
  • memory 214 includes one or more storage devices remotely located from the CPU(s) 202 .
  • Memory 214 or alternately the non-volatile memory device(s) within memory 214 , comprises a non-transitory computer readable storage medium.
  • memory 214 or the computer readable storage medium of memory 214 stores the following programs, modules and data structures, or a subset thereof:
  • Each of the above identified elements may be stored in one or more of the previously mentioned memory devices, and corresponds to a set of instructions for performing a function described above.
  • the above identified modules or programs i.e., sets of instructions
  • memory 214 may store a subset of the modules and data structures identified above.
  • memory 214 may store additional modules or data structures not described above.
  • FIG. 2 shows a client system 104 that allows a user to communicate with web servers
  • FIG. 2 is intended more as functional description of the various features which may be present in a set of one or more computers rather than as a structural schematic of the embodiments described herein.
  • FIG. 3 is a block diagram illustrating a location inference engine 126 used to perform operations identified in FIGS. 7A , 7 B, 8 A, and 8 B in accordance with some embodiments of the present invention.
  • Location inference engine 126 typically includes one or more processing units (sometimes called processors, microprocessors or CPU's) 302 for executing modules, programs and/or instructions stored in memory 314 and thereby performing processing operations; one or more network or other communications interfaces 304 ; memory 314 ; and one or more communication buses 312 for interconnecting these components.
  • Communication buses 312 optionally include circuitry (sometimes called a chipset) that interconnects and controls communications between system components.
  • Location inference engine 126 optionally includes (but typically does not include) a user interface 306 comprising a display device 308 and/or one or more input devices 310 .
  • memory 314 includes high-speed random access memory, such as DRAM, SRAM, DDR RAM or other random access solid state memory devices.
  • memory 314 includes non-volatile memory, such as one or more magnetic disk storage devices, optical disk storage devices, flash memory devices, or other non-volatile solid state storage devices.
  • memory 314 includes one or more storage devices remotely located from the CPU(s) 302 .
  • Memory 314 or alternately the non-volatile memory device(s) within memory 314 , comprises a non-transitory computer readable storage medium.
  • memory 314 or the computer readable storage medium of memory 314 stores the following programs, modules and data structures, or a subset thereof:
  • the website location module 320 stores location-specific scores 324 calculated using equation (4), below, and confidence values 326 calculated using equation (5), below.
  • the location-specific scores 324 and confidence values 326 are stored in the location database 128 ( FIG. 1 ) (e.g., in the site location information 130 ).
  • Each of the above identified elements may be stored in one or more of the previously mentioned memory devices, and corresponds to a set of instructions for performing a function described above.
  • the above identified modules or programs i.e., sets of instructions
  • the above identified modules or programs include instructions for performing all or a portion of the operations described with respect to FIGS. 7A , 7 B, 8 A, and 8 B.
  • memory 314 may store a subset of the modules and data structures identified above. Furthermore, memory 314 may store additional modules or data structures not described above.
  • FIG. 3 shows a location inference engine 126 used to determine geographic locations associated with websites and entities contained within queries
  • FIG. 3 is intended more as functional description of the various features that may be present in a set of one or more computers rather than as a structural schematic of the embodiments described herein.
  • items shown separately could be combined and some items could be separated.
  • some items shown separately in FIG. 3 could be implemented on individual computer systems and single items could be implemented by one or more computer systems.
  • the actual number of computers used to implement a location inference engine 126 , and how features are allocated among them will vary from one implementation to another, and may depend in part on the amount of search query history to process.
  • FIG. 4A illustrates both explicitly referenced locations and implicitly referenced locations for entities in search queries.
  • the query includes the entity “Golden Gate Bridge” as well as locations “San Francisco” and “California.” Both “San Francisco” and “California” are explicit locations in the query, and suggest that the Golden Gate Bridge is in San Francisco, Calif. In addition to these explicit references, it is known that both San Francisco and California are part of the United States, so the United States is implicitly referenced in the query of row 402 . Of course not all users will include “San Francisco” and “California” in a query about the Golden Gate Bridge. Some users will omit “California” as illustrated in row 404 .
  • row 406 in FIG. 4A for the query “Golden Gate Bridge,” there are no explicit locations and therefore no implicit locations either. It is noted that in other implementations, “Golden Gate Bridge” is considered to be an explicit location, and corresponding implicit locations are San Francisco, Calif. and the United States.
  • Row 408 illustrates a different issue.
  • a user has incorrectly identified the wrong city for the Golden Gate Bridge.
  • the implicit state and country are California and the United States, which are correct, but an incorrect explicit location can lead to incorrect implicit locations as well.
  • Row 410 illustrates a case where a user has misspelled the name of a location.
  • the search engine 110 is able to correct misspellings, or suggest corrections to the user. If the misspelling “Callifornya” is not corrected, it does not correspond to any known location, so there would be no explicit locations and no implicit locations.
  • the location inference engine 126 uses a very large quantity of data, and as a result, user errors such as those illustrated in rows 408 and 410 have no appreciable affect on the accuracy of the results.
  • FIG. 4B illustrates several URL's that may form the basis for a “website.”
  • a website includes all of the documents whose URL's have the same initial path, which includes a domain name and optionally includes the name of one or more subdirectories.
  • the location(s) associated with a website are independent of where the website server is physically located. Therefore, the location(s) associated with a website are independent of whether the various documents for a single website are physically stored in one server or multiple servers, at one location or multiple locations.
  • URL 412 identifies a website, some_website_dot_com, which includes all documents whose URL's begin with the initial path “www_dot_some_website_dot_com”, which includes the domain name of the website.
  • documents are “hosted” at a website when their URL's or network addresses are associated with the website as illustrated here, regardless of the physical locations where the documents are stored.
  • the URL's 414 and 416 are examples of URL's that specify more than just a domain name. If the website, some_website_dot_com, has subdirectories for both California (as illustrated by URL 414 ) and New York (as illustrated by URL 416 ), then the website, some_website_dot_com, probably could not be associated with a single state. Therefore, some embodiments selectively include one or more subdirectories as part of a defined website. For example, using URL 414 , one could identify the website consisting of all documents whose URL's begin with www_dot_some_website_dot_com/california.
  • URL 414 If the web address of URL 414 is indicative of the contents of the corresponding website, then the website is associated with the state of California.
  • websites are identified with even narrower scope. For example, using URL 416 , some embodiments would identify the set of documents whose URL's begin with www_dot_some_website_dot_com/new_york/statue_of_liberty as a website.
  • This narrow scope is that locations may be more precisely defined. For example, whereas the subdirectory /new_york might refer to places or entities throughout the state of New York, the subdirectory /new_york/statue_of_liberty is associated with the city of New York and the state of New York.
  • a website includes all documents whose web addresses or network addresses have a specified initial path, which includes a domain name and zero or more subdirectories.
  • FIG. 5 schematically illustrates the interrelationship, in accordance with some embodiments, between:
  • Locations are geographic or physical locations where entities may exist. As discussed earlier, the location of the Eiffel Tower is Paris, France, and the location of the Golden Gate Bridge is San Francisco, Calif. References to locations 512 may appear either explicitly or implicitly in user queries 510 , as explained earlier with respect to FIG. 4A . In the embodiment of FIG. 5 , locations 512 - 1 , 512 - 2 , and 512 - 3 are referenced by one or more search queries 510 , but location 512 -K is not referenced by any of the queries 510 . There is a many-to-many relationship between queries 510 and locations 512 because each query 510 can specify zero or more locations 512 and each location 512 can correspond to zero or more queries 510 .
  • queries 510 - 1 and 510 - 5 have no explicit or implicit location.
  • Queries 510 - 3 and 510 - 4 each references exactly one location.
  • Query 510 - 2 references two locations, namely 512 - 1 and 512 - 2 .
  • location 512 - 2 is referenced by both query 510 - 2 and query 510 - 3 .
  • a higher percentage of the queries specify no location (e.g., 90% might not specify a location).
  • queries that do specify a location sometimes specify more than one location (either explicitly or implicitly), such as San Francisco and California, as illustrated in row 402 in FIG. 4A . Because locations can be cities, states, provinces, countries, or other geographic subdivisions within a country, having multiple locations specified is common.
  • each query 510 there is a corresponding result set 508 .
  • query 510 - 1 has result set 508 - 1
  • query 510 - 2 has result set 508 - 2
  • the result set 508 for a given query 510 may change over time, at any point in time a search engine 110 will generally return the same result set 508 for the same query 510 .
  • Each query 510 and corresponding result set 508 is stored in search history database 118 ( FIG. 1 ).
  • Each result set 508 includes a set of search result links 506 to documents 504 , as discussed below and as illustrated in FIGS. 9A and 9B .
  • a set of search results 508 has many search result links 506 .
  • a typical set of search results 508 may include hundreds or thousands of individual search result links 506 .
  • FIG. 5 illustrates only a small number of search result links 506 due to typographic and space limitations.
  • the result set 508 stored in search history database 518 includes only a subset of the search results returned by a search engine, such as the top N results, where N is an integer (e.g., 10, 20 or the like, typically having a value between 5 and 100).
  • a respective search result link 506 is a link to a document 504 , which is hosted at a respective website 502 .
  • Result set 508 - 1 illustrates the common case of a result set that includes links to multiple distinct websites.
  • result set 508 - 1 includes links 506 - 2 and 506 - 3 to documents 504 - 2 and 504 - 3 , which are both hosted at website 502 - 2 .
  • result set 508 - 1 has a link 506 - 1 to document 504 - 1 , which is hosted at a different website 502 - 1 .
  • FIG. 5 illustrates result sets 508 - 3 , 508 - 4 , and 508 - 5 , each with a link to a document hosted at website 502 . Not shown are the many links 506 to other documents hosted at other websites not shown in FIG. 5 .
  • the search result links 506 illustrate the many-to-many relationship between result sets 508 and documents 504 . Also illustrated are documents 504 - 4 and 504 - 5 , which have no links from the result sets 508 .
  • FIG. 5 illustrates result sets 508 - 3 , 508 - 4 , and 508 - 5 , each with a link to a document hosted at website 502 . Not shown are the many links 506 to other documents hosted at other websites not shown in FIG. 5 .
  • the search result links 506 illustrate the many-to-many relationship between result sets 508 and documents 504 . Also illustrated are documents 504 - 4 and 504 - 5 , which have no links from the result sets 508 .
  • FIG. 5 thus illustrates how locations 512 are associated with websites 502 based on user queries 510 and the corresponding result sets 508 .
  • a process to determine locations 512 associated with a website 502 using this data is explained below with respect to FIGS. 7A and 7B .
  • FIG. 6 is similar to FIG. 5 , but illustrates the various interrelationships that are used to compute a location associated with an individual query rather than an individual website.
  • a query 602 has an associated result set 604 that includes links to various documents.
  • weights are assigned to respective documents 606 (e.g., to each of the documents 606 ). For example, in the embodiment of FIG. 6 , document 606 - 1 has weight w 1′ , and document 606 -N′ has weight w N′ .
  • the weights are normalized so that the sum of the weights of all the documents in the result set is 1.
  • the weights are assigned based on historical data of user clicks on links to the documents from result set 604 . That is, each weight w i′ represents (or corresponds to) the probability that a user will select a corresponding document i′ in the result set.
  • each document 606 of result set 604 is associated with a website 608 .
  • websites are identified in such a way that each document 606 is hosted by and thus associated with a unique website 608 . How websites are identified is addressed above with respect to FIG. 4B .
  • two or more documents identified in a query's result set may be associated with (e.g., hosted by) the same website.
  • documents 606 - 1 and 606 - 3 are both hosted at website 608 - 1 .
  • Some of the websites are associated with one or more geographic locations, as illustrated by websites 608 - 1 , 608 - 3 and 608 - 4 .
  • Some websites are associated with two or more locations (e.g., locations 610 - 1 and 610 - 2 ).
  • the website 608 - 1 includes a document or documents discussing or describing a first entity located at location 610 - 1 and a second entity located at location 610 - 2 .
  • a single website has information about Universal Studios in both Los Angeles, Calif. and Orlando, Fla., and thus is associated with both locations.
  • a website is associated with a single location, as illustrated by site 608 - 4 and location 610 - 3 .
  • the entity or entities discussed or described in the document 606 - 5 hosted on the website 608 - 4 are only located at location 610 - 3 .
  • websites 608 - 2 and 608 -L′ are not associated with any locations.
  • multiple websites are associated with the same location.
  • websites 608 - 3 and 608 - 4 are both associated with the same location 610 - 3 .
  • FIGS. 7A and 7B provide a flowchart of an exemplary process 700 performed by a website location module 320 ( FIG. 3 ) in a location inference engine 126 ( FIGS. 1 and 3 ) to associate one or more locations with a website.
  • Method 700 executes ( 702 ) at a server system with one or more processors and memory. In some embodiments, the method 700 executes on a single server computer; in other embodiments, method 700 executes on a plurality of server computers. In some embodiments, the distribution of work across multiple server computers is based on partitioning the queries or websites into subsets for processing.
  • the memory in each server computer stores ( 704 ) one or more programs that are executed by the processors of the server computer. The programs comprise executable instructions that, when executed, perform the operations of method 700 .
  • method 700 identifies ( 706 ) a website s. Subsequent operations in the method 700 determine which, if any, geographic locations are associated with this identified website (e.g., geographic locations discussed or described in documents hosted on this website).
  • a document d hosted at website s is denoted by d @ s.
  • the website that hosts document d is denoted by site(d).
  • documents are “hosted” at a website when their URL's or network addresses are associated with the website, regardless of the physical locations where the documents are stored.
  • each document hosted at the website has a web address, and all of the documents hosted at the website have an initial portion (sometimes called an initial path) of their web addresses (e.g.
  • the initial portion shared by the documents at the website includes ( 710 ) a domain name, as illustrated by row 412 in FIG. 4B .
  • the initial portion of the web addresses that are shared by the documents at the website includes ( 712 ) a domain name and one or more subdirectories, as illustrated by rows 414 and 416 in FIG. 4B .
  • Method 700 also identifies ( 714 ) previously issued queries with result sets that contain search result links to documents hosted at the website.
  • the expression rs(q) denotes the result set generated in response to query q
  • wrq denotes the set of website referencing queries, which are the queries (identified by operation 714 ) with results sets that contain search result links to documents hosted at the identified website s.
  • a result set includes links to documents, although colloquially a result set is said to “contain” documents.
  • the expression d ⁇ rs(q) indicates that the result set for query q includes a search result link to document d.
  • method 700 identifies ( 716 ) a subset of those queries that are location-referencing queries.
  • a location-referencing query is ( 716 ) a previously issued query that contains an explicit reference to some physical location.
  • the abbreviation lrq denotes the subset comprising location-referencing queries.
  • Method 700 identifies ( 718 ) clicks on search result links to documents hosted at the website, where the search result links are in the result sets of the previously issued queries identified in operation 714 .
  • clicks are referred to as document clicks and also as user clicks, because they correspond to selections of search result links by users.
  • the clicks are identified within the click information 124 in the search history database 118 ( FIG. 1 ).
  • User clicks provide useful information because they indicate that users have selected specific documents from the set of generated results.
  • a user click on a search result link suggests that the associated document is relevant to the user's search query.
  • Numerous user clicks on a search result link, in search results for the previously issued queries identified in operation 714 are even more suggestive that the associated document is relevant to the search queries of those users.
  • Method 700 computes ( 720 ) a site click count for the website, which is the number of the identified document clicks on search result links, in the result sets of the identified previously issued queries (see 714 ), to documents hosted at the website.
  • the expression click(d, q) denotes the number of clicks on a search result link to document d, when the search result link was part of a result set for query q.
  • a concise expression for the site click count is given by:
  • site_clicks ⁇ ( s ) ⁇ q ⁇ wrq ⁇ ⁇ d @ s d ⁇ rs ⁇ ( q ) ⁇ click ⁇ ( d , q ) ( 1 )
  • Method 700 computes ( 722 , FIG. 7B ) a location-referencing click count for the website, which provides the number of document clicks on search result links, in the result sets of the identified location-referencing queries (see 716 ), to documents hosted at the website.
  • the location-referencing click count is like the site click count, but limited to queries that explicitly reference a location.
  • a concise expression for the location-referencing click count is given by:
  • Method 700 also computes click counts for each specific location: for each respective location that is explicitly or implicitly referenced in one or more of the identified location-referencing queries ( 724 ), method 700 computes ( 728 ) a location-specific click count.
  • Each location-specific click count provides ( 728 ) the number of the identified document clicks on search result links in the result sets of the identified location referencing queries that contain an explicit or implicit reference to the respective location.
  • Location-specific clicks are a function of both the website s and the location l.
  • the simple expression l ⁇ q indicates that location l is explicitly or implicitly referenced in query q.
  • method 700 identifies ( 726 ) the locations explicitly or implicitly referenced in one or more of the identified location-referencing queries in accordance with predefined criteria.
  • the predefined criteria identify explicit location references using a table lookup (e.g., using the location table 134 , FIG. 1 ).
  • One elementary lookup method compares each term of the search query to a known list of locations (e.g., cities, states, provinces, and countries); if the term matches an item in the list, the term is presumed to be a location and the query is presumed to be a location-referencing query.
  • more advanced matching techniques are used so that multi-part names (e.g., “San Francisco,” “Port au Prince,” etc.) are identified.
  • additional tables are used to associate locations with each other. Thus, when one location is identified, other associated locations are identified automatically (implicitly). Implicit identification of locations is illustrated by rows 402 , 404 , and 408 in FIG. 4A .
  • method 700 For each respective location for which a location-specific click count has been computed ( 730 ), method 700 computes ( 732 ) a location-specific score for the website.
  • the location-specific scores are computed ( 732 ) in accordance with the site click count, the location-referencing click count and the location-specific click count for the respective location.
  • the score represents (or, more generally, corresponds to) the likelihood that the respective location is associated with the website.
  • the location-specific score, lss(s,l), for location l and site s is computed as:
  • method 700 computes ( 734 ) a site confidence value in accordance with the site click count and the location-referencing click count.
  • the site confidence value (for a respective website s) represents the likelihood that the website s is associated with one or more physical locations, as indicated by the degree to which user clicks indicate that the website is associated with one or more physical locations.
  • the site confidence value, site_conf(s) is computed as:
  • site_conf ⁇ ( s ) location_referencing ⁇ _clicks ⁇ ( s ) site_clicks ⁇ ( s ) . ( 5 )
  • the location specific scores and the site confidence are stored ( 738 ), for use when determining locations associated with a respective query, or set of queries, as described below with reference to FIG. 8A , 8 B. Moreover, operations 706 - 738 are repeated for multiple websites, and the location specific scores and the site confidence are stored for multiple websites.
  • method 700 determines ( 736 ) zero or more locations (e.g., one or more locations, or two or more locations) associated with the website s, using the location-specific scores and the site confidence score for website s.
  • the location-specific score, lss(s,l) for at least one of the plurality of respective locations l is mathematically combined with (e.g., multiplied by) the site confidence score to produce a location-specific confidence score, ls_conf(s,l) for location l with respect to website s, and then that location-specific confidence score is compared with a predefined confidence threshold value.
  • the location-specific confidence score, ls_conf(s,l) is equal to
  • the number of locations identified as being associated with a website s is limited to a predefined number, L (e.g., an integer between 1 and 10, such as 1, 2, 3, 4, 5 or 10).
  • L e.g., an integer between 1 and 10, such as 1, 2, 3, 4, 5 or 10.
  • the location-specific scores for the plurality of respective locations are processed in an order determined by their values, starting with the location-specific score having the largest value.
  • the processing stops when either (a) the number of locations associated with the website reaches the predefined limit, L, or (b) the location-specific confidence score for a respective location falls below the confidence threshold value. In the later case, all the remaining location-specific scores will also have location-specific confidence scores that fall below the confidence threshold value, and therefore do not need to be processed.
  • method 700 determines ( 736 ) zero or more locations (e.g., one or more locations, or two or more locations) associated with the website s, using the location-specific scores and the site confidence score for website s, by first determining if the site confidence score is above a predefined site confidence threshold value. If so, then the locations, if any, that have location-specific scores above a location score threshold are determined to be associated with the website s.
  • locations e.g., one or more locations, or two or more locations
  • returning information identifying or corresponding to the determined location includes one or more of the following: providing text that identifies the location; providing search results relevant to the determined location (e.g., search results produced for a search query that includes the received query and one or more additional query terms identifying the determined location); and providing a map or a link to a map that shows the determined location.
  • FIGS. 8A and 8B provide a flowchart of an exemplary method 800 , performed by a query location module 322 ( FIG. 3 ) in a location inference engine 126 ( FIGS. 1&3 ), to assign one or more locations to a query.
  • Method 800 builds on the work of method 700 , using the information about locations associated with websites as determined in the method 700 to determine locations associated with queries. By inferring a location for a query, method 800 effectively treats the query as if the end user had typed in the appropriate location term(s) as part of the search query.
  • Method 800 executes ( 802 ) at a server system with one or more processors and memory.
  • the server system includes one or more server computers, which may allocate the computations to multiple servers in various ways.
  • there is a list of queries to process and the individual servers select one or more queries to process, which may occur iteratively.
  • the set of all queries to process is partitioned, and each server computer is allocated one or more partitions to process.
  • the memory in each server computer stores ( 804 ) one or more programs for execution by the processors at that computer.
  • Method 800 identifies ( 806 ) a query to process.
  • the identified query is selected from a historical set of queries.
  • the identified query is received ( 808 ) from a client (e.g., a client 104 , FIG. 1 ).
  • the method 800 predetermines locations associated with queries (i.e., determines the locations associated with historical queries); the predetermined locations will be used later when a user issues a search query that is identical to, or substantially the same as, the currently identified query.
  • the identified query is dynamically received ( 808 ) from an end user (e.g., from a client 104 used by a user 102 , FIG. 1 ), and therefore the calculations performed in the method 800 are used immediately in the results returned to the user.
  • the method 800 converts ( 810 ) the identified query to a canonical form.
  • the use of a canonical form reduces the number of queries that need to be considered because many distinct search queries will convert to the same canonical form.
  • the reduction to a canonical form occurs in multiple ways.
  • the canonical form eliminates words like “a” and “the,” which add no value to the search query.
  • the canonical form eliminates simple or common typographical errors, such as misspellings.
  • a canonical form selects one of these, then the other 119 orders are collapsed into the single designated canonical order.
  • certain groups of words are naturally grouped together to form a composite search term, such as “San Francisco.”
  • One of ordinary skill in the art would recognize that other techniques may be applied to convert search queries to well-defined canonical forms. The process of reducing a search query to a canonical form is sometimes called normalization. Converting queries to a canonical form is one way to recognize queries that are substantially the same.
  • the method 800 selects ( 812 ) a set of documents that are responsive to the identified query (i.e., documents in the result set(s) produced by a search engine, or set of search engines, in response to the query).
  • the responsive set of documents may be large in order to maximize accuracy of the location inferences.
  • the set of responsive documents is typically limited to the top N responsive documents, where N is a positive integer (e.g., 10, 20, 100, or any suitable number, typically in the range of 10 to 500). This limits the amount of processing required to determine a location for the query before returning search results to the user.
  • the method assigns ( 814 ) a weight to each document in the set of documents (i.e., the set of documents responsive to the identified query, identified in operation 812 ).
  • the assignment is based, at least in part, on historical data of user clicks on search result links in search results produced for historical queries that are substantially the same as the identified query.
  • click(Q) to denote the number of clicks on search result links from the result set for query Q
  • click(d, Q) to denote the number of clicks on links to document d in the result set for query Q
  • some embodiments compute the document weights as
  • weight ⁇ ( d , Q ) click ⁇ ( d , Q ) click ⁇ ( Q ) .
  • the weight for each document d is the number of clicks on that document divided by the total number of clicks for query Q.
  • the weight for each document d may be called a click fraction with respect to the query.
  • the method 800 identifies ( 816 ) a website corresponding to each of the documents in the set of documents (identified in operation 812 ). Multiple websites are thus identified.
  • the expression site(d) denotes the website where document d is hosted. Because a document is identified by a URL or other unique network address, there is a single site that hosts each document. If two documents with identical content are hosted at different websites, then the two copies are distinct documents because they have different network addresses (e.g., URL's).
  • method 800 retrieves ( 820 ) scores for locations associated with the website.
  • the retrieved scores are the location-specific score, lss(s,l), for location l and website s, as described above (see description of operation 732 and equation 4, above).
  • Each location-specific score indicates (or, more generally, corresponds to) the likelihood that the associated location l corresponds to the website s (e.g., that the associated location or an entity located at the associated location is described or discussed in one or more documents hosted by the website).
  • the information retrieved for each website s of the plurality of identified websites includes ( 822 ) a website confidence value for the website.
  • the retrieved website confidence value is the value of site_conf(s), as described above (see description of operation 734 and equation 5, above).
  • the website confidence value indicates a likelihood that a physical location (or at least one physical location) corresponds to the website.
  • the website location-specific scores and confidence values are computed as indicated above with respect to method 700 .
  • method 800 aggregates ( 826 ) the location-specific scores retrieved in operation 820 for the selected set of documents in the result set of the identified query Q, as weighted by the document weights assigned in operation 814 and scaled by the website confidence scores.
  • the aggregation operation computes an aggregated likelihood that the respective location l is associated with the query Q.
  • the aggregated likelihood also referred to as a location-specific query score, query_score(Q,l) is computed as:
  • query_score ⁇ ( Q , l ) ⁇ d ⁇ rs ⁇ ( Q ) ⁇ weight ⁇ ( d , Q ) ⁇ site_conf ⁇ ( site ⁇ ( d ) ) ⁇ l ⁇ ⁇ s ⁇ ⁇ s ⁇ ( site ⁇ ( d ) , l ) ( 6 )
  • site(d) is the website that hosts document d
  • lss(site(d),l) is the retrieved location-specific score for the website that hosts document d
  • site_conf(site(d)) is the site confidence score for that website.
  • each query score, query_score(Q,l) is computed based on the documents d responsive to the query Q.
  • Each document is weighted based on the percentage of clicks on search result links to that document, within the search results for the query.
  • Each site score indicates the probability that a certain location is associated with the website that is hosting the document. The aggregation thus estimates the probability that location l is associated with query Q.
  • method 800 aggregates ( 828 ) the website confidence values, site_conf(site(d)), as weighed by the document weights, to compute an aggregated confidence value for the query.
  • the aggregated confidence values sometimes referred to as a query confidence value, corresponds to a level of confidence that some location (i.e., at least one location) is associated with the query.
  • the query confidence value is computed as:
  • the method 800 assigns ( 830 ) a specific location to the query when certain predefined criteria are satisfied.
  • the predefined criteria include ( 830 ) a requirement that the aggregated likelihood for the specific location, as provided by the query score of equation (6), exceeds a first threshold value.
  • the first threshold value is a first predefined value, such as 0.5. In other embodiments, the first threshold value is smaller (such as 0.35), but there is an additional requirement that the selected specific location have higher likelihood than the other potential locations.
  • the predefined criteria include ( 832 ) both the requirement that the aggregated likelihood for the specific location exceeds a first threshold value and a requirement that the aggregated confidence value for the query, as provided by the query confidence value of equation (7), exceeds a second threshold value.
  • the second threshold value is a second predefined value, such as 0.1.
  • the second predefined value is smaller, such as 0.05, particularly when the search history database 118 has a large amount of data.
  • the first and second threshold values are empirically determined based on analysis a training set of queries or other set of queries evaluated both by humans and using the methods described above.
  • method 800 in which the identified query was received from a client device or system ( 808 ), method 800 returns ( 834 ) to the client at least a subset of the documents responsive to the received query and information identifying or corresponding to the specific location, if any, assigned to the query.
  • the method 800 stores ( 836 ) the identified query and the corresponding assigned specific location in a repository for subsequent retrieval.
  • the query is stored in search history database 118 and the location is stored in location database 128 ( FIG. 1 ) (e.g., in query location information 132 ).
  • returning information identifying or corresponding to the determined location includes one or more of the following: providing text that identifies the location; providing search results relevant to the determined location (e.g., search results produced for a search query that includes the received query and one or more additional query terms identifying the determined location); and providing a map or a link to a map that shows the determined location.
  • method 800 receives ( 838 ) a subsequent new query from a client.
  • the method converts ( 840 ) the new query to a canonical form. The conversion to a canonical form is described above with respect to converting the identified query in operation 810 .
  • Method 800 matches ( 842 ) the new query to a previously identified query. When the method 800 matches the new query to a previously identified query to which a location has been assigned (see operation 830 , described above), the method returns ( 844 ) to the client a set of search results that includes information identifying or corresponding to the specific location assigned to the identified query.
  • returning information identifying or corresponding to the determined location includes one or more of the following: providing text that identifies the location; providing search results relevant to the determined location (e.g., search results produced for a search query that includes the received query and one or more additional query terms identifying the determined location); and providing a map or a link to a map that shows the determined location.
  • the methods 700 and 800 include a number of operations that appear to occur in a specific order, it should be apparent that the methods 700 and 800 can include more or fewer operations, which can be executed serially or in parallel. An order of two or more operations may be changed and two or more operations may be combined into a single operation.
  • FIGS. 9A and 9B illustrate a process of counting clicks on search results.
  • a user 102 FIG. 1
  • the search engine 110 FIG. 1
  • the search engine 110 FIG. 1
  • the user 102 evaluates the result set 904 and clicks on search result link 906 - 2 , which causes web page 910 to be downloaded from website 908 and displayed on the user's browser 106 .
  • the click data is transmitted ( 922 ) to the search history database 118 ( FIG. 1 ), for inclusion in the click information 124 .
  • the click on search result link 906 - 2 would count as a site click for website 908 , a location-referencing click for website 908 (because of the explicit reference to a location, Orlando), and a location-specific click for the locations “Orlando,” “Florida,” and “United States.”
  • the location-specific clicks for Florida and the United States are implicit because of the explicit reference to Orlando.
  • FIG. 9B a user types in the query “universal studios” without any explicit reference to a location.
  • the responsive result set 914 is similar to the result set 904 in FIG. 9A , with search result links 906 - 1 and 906 - 2 as before, but has different search result links 916 - 3 and 916 - 4 as well.
  • a click on search result link 906 - 2 causes web page 910 to be downloaded from website 908 and displayed on the user's browser 106 .
  • the click data is transmitted ( 922 ) to the search history database 118 , for inclusion in the click information 124 .
  • FIG. 9B a user types in the query “universal studios” without any explicit reference to a location.
  • the responsive result set 914 is similar to the result set 904 in FIG. 9A , with search result links 906 - 1 and 906 - 2 as before, but has different search result links 916 - 3 and 916 - 4 as well.
  • the user click is a site click for website 908 .
  • the click is not a location-referencing click.
  • there are no locations in the query itself there are no location-specific clicks for any location.
  • Some embodiments track search history data by locale, which includes a (language, country) pair.
  • the search history data is partitioned into distinct locales, and the methods described previously apply to the query history, query results history, and click data collected for each locale.
  • Techniques applied here to determine locations associated with a website can also be applied to an individual document. For example, consider the portion of FIG. 5 consisting of document 504 - 2 , result sets 508 - 1 , 508 - 2 , and 508 - 4 , search result links 506 - 2 , 506 - 4 , and 506 - 7 , queries 510 - 1 , 510 - 2 , and 510 - 4 , as well as locations 512 - 1 , 512 - 2 , and 512 - 3 . The same counting of clicks described above with reference to FIGS.
  • 7A and 7B with respect to a website s can be applied to compute a score for each location and a confidence value that document 504 - 2 is associated with a location.
  • Another way to view this embodiment is to define a “website” consisting of a single specified document, and then compute the scores and confidence value(s) for this limited website.

Abstract

A server system associates one or more locations with a query by identifying the query, selecting a set of documents responsive to the query, and assigning weights to respective documents in the set of documents based, at least in part, on historical data of user clicks selecting search result links in search results produced for historical queries substantially the same as the identified query. Websites hosting the selected documents are identified, and, for each website, location-specific information for one or more locations is retrieved, including a location-specific score that corresponds to the likelihood that the respective location corresponds to a respective website. For each respective location for which location-specific information was retrieved, aggregating the location-specific scores, as weighted by the document weights, to compute an aggregated likelihood that the respective location is associated with the query. A specific location is assigned to the query when predefined criteria are satisfied.

Description

    RELATED APPLICATIONS
  • This application claims priority to U.S. Provisional Application 61/423,963, filed Dec. 16, 2010, “Inferring Geographic Locations for Entities Appearing in Search Queries,” which is incorporated by reference herein in its entirety.
  • TECHNICAL FIELD
  • The disclosed embodiments relate generally to search engine systems, and more specifically to search engines that enhance search results by inferring information from previously submitted queries.
  • BACKGROUND
  • Some search queries submitted by users contain explicit references to physical locations. In these cases the search engine can easily provide information about that location, which may be in addition to the responsive search results. For example, in response to “eiffel tower paris france,” the search engine could provide information about Paris in addition to the search results about the Eiffel Tower. However, the query “eiffel tower” does not specify a physical location.
  • One way to infer unspecified locations is to identify locations that are geographically near the user. In some instances, the geographic location of a user can be determined by the user's IP address. A major weakness in this approach is that it does not provide location information when a user is seeking information about a distant location (e.g., a user in Los Angeles seeking information about the Eiffel Tower).
  • Another way to infer unspecified or “missing” locations in a search query is to use a lookup table. When a lookup term in the table matches a term in a query, the corresponding location is presumed. A drawback to this methodology is that it does not provide a notion of the prominence of the search entities when there are multiple entities with the same or similar names. Another drawback is that the locations that may be inferred are limited to the locations associated with preselected entities in the lookup table.
  • SUMMARY OF DISCLOSED EMBODIMENTS
  • The above deficiencies and other problems associated with assigning a physical location to entities appearing in a query are overcome by using queries submitted previously and capitalizing on those previously issued queries that contain references to physical locations. Information from queries that explicitly or implicitly specify locations can help to identify locations for other queries that do not specify locations. The same principle can be applied to websites to infer a physical location for an entity associated with the website.
  • In accordance with some embodiments, a method of associating one or more locations with a website is performed by a server system, which includes one or more processors and memory storing one or more programs for execution by the one or more processors. The method includes identifying a website, and for each respective location of a plurality of locations referenced in queries with respective result sets that comprise search result links to documents hosted at the website, computing a location-specific score representing the likelihood that the respective location is associated with the website. The method further includes computing a site confidence value representing a likelihood that the website is associated with a physical location, determining a location associated with the website using the location-specific scores and the site confidence value, and storing information indicating that the determined location is associated with the website for subsequent use when processing respective search queries.
  • In some embodiments, a non-transitory computer storage medium stores one or more programs, to be executed by one or more processors of a computer system. The one or more programs include instructions, that when executed by the one or more processors of the computer system perform the aforementioned method of associating one or more locations with a website.
  • In accordance with some embodiments, a method of associating one or more locations with a query received from a client device or system is performed by a server system, which includes one or more processors and memory storing one or more programs for execution by the one or more processors. The method includes
  • In accordance with some embodiments, a method of associating one or more locations with a query is performed by a server system, which includes one or more processors and memory storing one or more programs for execution by the one or more processors. The method includes identifying a query, selecting a set of documents responsive to the identified query, and assigning weights to respective documents in the set of documents based, at least in part, on historical data of user clicks selecting search result links in search results produced for historical queries substantially the same as the identified query. The method further includes identifying respective websites hosting the documents in the set of documents, and, for each website of a plurality of the identified websites, retrieving location-specific information for one or more locations, the retrieved information for a respective location comprising a location-specific score that corresponds to the likelihood that the respective location corresponds to a respective website of the identified websites. The method also includes, for each respective location for which location-specific information was retrieved, aggregating the location-specific scores, as weighted by the document weights, to compute an aggregated likelihood that the respective location is associated with the query; and assigning a specific location to the query when predefined criteria are satisfied, the predefined criteria comprising a requirement that the aggregated likelihood for the specific location exceeds a first predefined value.
  • In some embodiments, a non-transitory computer storage medium stores one or more programs, to be executed by one or more processors of a computer system. The one or more programs include instructions, that when executed by the one or more processors of the computer system perform the aforementioned method of associating one or more locations with a query.
  • Thus methods, systems and computer readable storage media are provided that infer a physical location for a website or a search query, using information from previously issued search queries. Search engines are then able to provide information related to the relevant physical location to the user, creating an enhanced, more efficient user interaction with the search engine.
  • BRIEF DESCRIPTION OF THE DRAWINGS
  • For a better understanding of the aforementioned embodiments as well as additional embodiments, reference should be made to the Description of Embodiments below, in conjunction with the following drawings in which like reference numerals refer to corresponding parts throughout the figures.
  • FIG. 1 is a conceptual illustration of the environment in which a location inference engine operates according to some embodiments.
  • FIG. 2 is a block diagram of a client system according to some embodiments.
  • FIG. 3 is a block diagram of a location inference engine according to some embodiments.
  • FIG. 4A illustrates explicit and implicit physical locations contained in queries according to some embodiments.
  • FIG. 4B illustrates various URL's that may be associated with websites according to some embodiments.
  • FIG. 5 illustrates graphically a relationship between locations and websites based on queries, result sets for the queries, and documents identified (e.g., by links to the documents) in the result sets according to some embodiments.
  • FIG. 6 illustrates graphically a relationship between locations and a query based on websites, documents from the websites, and a result set for the query according to some embodiments.
  • FIGS. 7A and 7B provide a flowchart of a process for inferring a location for a website using information in a query log according to some embodiments.
  • FIGS. 8A and 8B provide a flowchart of a process for inferring a location for a query using information in a query log according to some embodiments.
  • FIGS. 9A and 9B illustrate a process of counting clicks on search results according to some embodiments.
  • DESCRIPTION OF EMBODIMENTS
  • Reference will now be made in detail to embodiments, examples of which are illustrated in the accompanying drawings. In the following detailed description, numerous specific details are set forth in order to provide a thorough understanding of the present invention. However, it will be apparent to one of ordinary skill in the art that the present invention may be practiced without these specific details.
  • The terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the description of the invention and the appended claims, the singular forms “a”, “an” and “the” are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will also be understood that the term “and/or” as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
  • FIG. 1 is a conceptual illustration of the environment in which some embodiments operate. A location inference engine 126 is an ancillary component for a search engine 110. The search engine 110 receives search queries from a plurality of users 102 using client devices or systems 104. In general, users 102 interact with a browser 106 or other client-resident application to transmit queries over a communication network 108 to the search engine 110. The communication network may include local area networks (LAN's), wide area networks (WAN's), the Internet, local intranets, metropolitan area networks, or any combination of these.
  • The search engine 110 utilizes one or more databases 112, which have one or more indexes 114 that index web page content 116 and are used to retrieve data responsive to user queries. In some embodiments, the database 112 contains cached copies of the web page content 116, which may be particularly useful when an indexed web page is no longer available at the original host. In additional to providing result sets responsive to user queries, the search engine saves information about the searches in a search history database 118.
  • In some embodiments, the search history database 118 includes the search queries 120 (e.g., the actual text of the queries). In some embodiments, the search history database includes, for a respective query, timestamps corresponding to when the queries were received or processed, and/or demographic information about the users 102 who submitted the query (e.g., location information corresponding to the IP addresses of the users, and/or demographic obtained from user profiles of the users). The search history database also includes the result set 122 (or a portion of the result set 122, such as the top N results, where N is an integer, such as 10, 20 or the like, typically having a value between 5 and 100) returned in response to each query 120. In some embodiments, the search history database 118 also includes click information 124, which identifies how many times each search result was selected by a user in response to a specific query. The term “click” as used herein refers to selection of a search result or corresponding link and is not limited to actual clicking with a mouse or other pointing device, but also includes other methods of selection (e.g., tapping on a touch sensitive pad or display or using a keyboard). In some embodiments, search history data is saved for each user query individually, even when the same query is issued by multiple users. In other embodiments, the search history data is aggregated (e.g., aggregated by query). For example, after the earthquake in Haiti in January 2010, millions of people searched for information using queries like “Haiti” or “Haiti earthquake.” In embodiments that aggregate, there is a single entry for “Haiti earthquake” that includes the total number of times the query was issued, and the total number of clicks on each of the responsive search results. In some embodiments, aggregation is done over a period of time, such as a single hour, or a 24-hour period. In some embodiments, search queries are put in a standardized or canonical form to facilitate aggregation, and queries that share a common standardized or canonical form are aggregated. For example, “Haiti earthquake,” “earthquake Haiti,” and “earthquake in Haiti” might all be converted to the same canonical form. In addition, some embodiments use the canonical form to eliminate misspellings.
  • The location inference engine 126 uses the information in the search history database 118 to infer locations for websites and queries. The location inference engine stores its results in a location database 128. Some embodiments store information that identifies locations for websites (site locations 130). This information refers to geographic locations for one or more entities (e.g., objects or items) appearing in the web pages for the website. This information does not refer to the physical location of the servers running a website. For example, the location for a website devoted to the Eiffel Tower, as the term is used herein, would be Paris, France, regardless of where the website servers were located (which might be in the United States, for example). In some embodiments, the location database 128 stores information (query locations 132) to associate a geographic location with entities (e.g., query terms) appearing in a query. For example, query locations 132 would include the location Paris, France for the query “restaurants near Eiffel Tower.” The location database 128 also includes a location table 134 that stores known locations, to be compared to search terms in submitted search queries to identify terms that reference locations.
  • Although search database 112, search history database 118, and location database 128 are illustrated as three distinct databases, some embodiments combine the data from two or more of these databases into a single database. For example, all three databases illustrated could be incorporated in a single database with distinct sets of tables corresponding to the functionality of the three illustrated databases.
  • FIG. 2 is a block diagram of a client system 104 (sometimes herein called a client device or client computer system) according to some embodiments. Typical client system include, without limitation, desktop computers, laptop computers, smart phones, personal digital assistants, and tablet computers. A client system 104 typically includes one or more processing units (CPU's) 202 for executing modules, programs and/or instructions stored in memory 214 and thereby performing processing operations; one or more network or other communications interfaces 204; memory 214; and one or more communication buses 212 for interconnecting these components. The communication buses 212 optionally include circuitry (sometimes called a chipset) that interconnects and controls communications between system components. Client system 104 also includes a user interface 206. User interface 206 typically includes a display device 208 and one or more input devices 210; in some embodiments the display device 208 is a touch screen, in which case any separate input device is optional. In some embodiments, memory 214 includes high-speed random access memory, such as DRAM, SRAM, DDR RAM or other random access solid state memory devices. In some embodiments, memory 214 includes non-volatile memory, such as one or more magnetic disk storage devices, optical disk storage devices, flash memory devices, or other non-volatile solid state storage devices. In some embodiments, memory 214 includes one or more storage devices remotely located from the CPU(s) 202. Memory 214, or alternately the non-volatile memory device(s) within memory 214, comprises a non-transitory computer readable storage medium. In some embodiments, memory 214 or the computer readable storage medium of memory 214 stores the following programs, modules and data structures, or a subset thereof:
      • an operating system 216 that includes procedures for handling various basic system services and for performing hardware dependent tasks;
      • a communications module 218 that is used for connecting the client system 104 to other computers (e.g., the search engine 110 and its associated location inference engine 126, FIG. 1) via the one or more communication network interfaces 204 (wired or wireless) and one or more communication networks 108, such as the Internet, other wide area networks, local area networks, metropolitan area networks, and so on; and
      • a web browser 106 or other client application that enables a user to request web pages from web servers, to submit search queries to the search engine 110, and to interact with web based applications.
  • Each of the above identified elements may be stored in one or more of the previously mentioned memory devices, and corresponds to a set of instructions for performing a function described above. The above identified modules or programs (i.e., sets of instructions) need not be implemented as separate software programs, procedures or modules, and thus various subsets of these modules may be combined or otherwise re-arranged in various embodiments. In some embodiments, memory 214 may store a subset of the modules and data structures identified above. Furthermore, memory 214 may store additional modules or data structures not described above.
  • Although FIG. 2 shows a client system 104 that allows a user to communicate with web servers, FIG. 2 is intended more as functional description of the various features which may be present in a set of one or more computers rather than as a structural schematic of the embodiments described herein.
  • FIG. 3 is a block diagram illustrating a location inference engine 126 used to perform operations identified in FIGS. 7A, 7B, 8A, and 8B in accordance with some embodiments of the present invention. Location inference engine 126 typically includes one or more processing units (sometimes called processors, microprocessors or CPU's) 302 for executing modules, programs and/or instructions stored in memory 314 and thereby performing processing operations; one or more network or other communications interfaces 304; memory 314; and one or more communication buses 312 for interconnecting these components. Communication buses 312 optionally include circuitry (sometimes called a chipset) that interconnects and controls communications between system components. Location inference engine 126 optionally includes (but typically does not include) a user interface 306 comprising a display device 308 and/or one or more input devices 310. In some embodiments, memory 314 includes high-speed random access memory, such as DRAM, SRAM, DDR RAM or other random access solid state memory devices. In some embodiments, memory 314 includes non-volatile memory, such as one or more magnetic disk storage devices, optical disk storage devices, flash memory devices, or other non-volatile solid state storage devices. In some embodiments, memory 314 includes one or more storage devices remotely located from the CPU(s) 302. Memory 314, or alternately the non-volatile memory device(s) within memory 314, comprises a non-transitory computer readable storage medium. In some embodiments, memory 314 or the computer readable storage medium of memory 314 stores the following programs, modules and data structures, or a subset thereof:
      • an operating system 316 that includes procedures for handling various basic system services and for performing hardware dependent tasks;
      • a communications module 318 that is used for connecting the location inference engine 126 to other computers (e.g., search engine 110 and clients 102, FIG. 1) or databases (e.g., databases 112, 118, and 128, FIG. 1) via the one or more communication network interfaces 304 (wired or wireless) and one or more communications networks, such as the Internet, other wide area networks, local area networks, metropolitan area networks, and so on;
      • a website location module 320 that infers geographic locations associated with websites based on previously submitted user search queries (see FIGS. 7A and 7B); and
      • a query location module 322 that infers geographic locations for entities contained in search queries based on previously submitted queries (see FIGS. 8A and 8B).
  • In some embodiments, the website location module 320 stores location-specific scores 324 calculated using equation (4), below, and confidence values 326 calculated using equation (5), below. Alternatively, the location-specific scores 324 and confidence values 326 are stored in the location database 128 (FIG. 1) (e.g., in the site location information 130).
  • Each of the above identified elements may be stored in one or more of the previously mentioned memory devices, and corresponds to a set of instructions for performing a function described above. The above identified modules or programs (i.e., sets of instructions) need not be implemented as separate software programs, procedures or modules, and thus various subsets of these modules may be combined or otherwise re-arranged in various embodiments. The above identified modules or programs include instructions for performing all or a portion of the operations described with respect to FIGS. 7A, 7B, 8A, and 8B. In some embodiments, memory 314 may store a subset of the modules and data structures identified above. Furthermore, memory 314 may store additional modules or data structures not described above.
  • Although FIG. 3 shows a location inference engine 126 used to determine geographic locations associated with websites and entities contained within queries, FIG. 3 is intended more as functional description of the various features that may be present in a set of one or more computers rather than as a structural schematic of the embodiments described herein. In practice, and as recognized by those of ordinary skill in the art, items shown separately could be combined and some items could be separated. For example, some items shown separately in FIG. 3 could be implemented on individual computer systems and single items could be implemented by one or more computer systems. The actual number of computers used to implement a location inference engine 126, and how features are allocated among them will vary from one implementation to another, and may depend in part on the amount of search query history to process.
  • FIG. 4A illustrates both explicitly referenced locations and implicitly referenced locations for entities in search queries. In row 402, the query includes the entity “Golden Gate Bridge” as well as locations “San Francisco” and “California.” Both “San Francisco” and “California” are explicit locations in the query, and suggest that the Golden Gate Bridge is in San Francisco, Calif. In addition to these explicit references, it is known that both San Francisco and California are part of the United States, so the United States is implicitly referenced in the query of row 402. Of course not all users will include “San Francisco” and “California” in a query about the Golden Gate Bridge. Some users will omit “California” as illustrated in row 404. In this case, “San Francisco” is still an explicit reference, but “California” is not. In general, both “California” and the “United States” are implicit references because San Francisco is in California. An explicit location thus implicitly references locations that include the explicit location. For example, an explicitly referenced state implicitly references a country, and an explicitly referenced city implicitly references a state and country. However, implicitly referenced locations cannot always be determined from an explicitly referenced location. For example, if a query contains only a city name, it is not always possible to determine the appropriate state. The city “Albany” may be in New York, but there are also cities named “Albany” in California, Georgia, Kentucky, Minnesota, Oregon, Texas, Wisconsin, and Western Australia. Similarly, row 406 in FIG. 4A, for the query “Golden Gate Bridge,” there are no explicit locations and therefore no implicit locations either. It is noted that in other implementations, “Golden Gate Bridge” is considered to be an explicit location, and corresponding implicit locations are San Francisco, Calif. and the United States.
  • Row 408 illustrates a different issue. In this query a user has incorrectly identified the wrong city for the Golden Gate Bridge. In this particular example, the implicit state and country are California and the United States, which are correct, but an incorrect explicit location can lead to incorrect implicit locations as well. Row 410 illustrates a case where a user has misspelled the name of a location. In some cases the search engine 110 is able to correct misspellings, or suggest corrections to the user. If the misspelling “Callifornya” is not corrected, it does not correspond to any known location, so there would be no explicit locations and no implicit locations. In some embodiments, the location inference engine 126 uses a very large quantity of data, and as a result, user errors such as those illustrated in rows 408 and 410 have no appreciable affect on the accuracy of the results.
  • FIG. 4B illustrates several URL's that may form the basis for a “website.” As used herein, a website includes all of the documents whose URL's have the same initial path, which includes a domain name and optionally includes the name of one or more subdirectories. As noted above, the location(s) associated with a website are independent of where the website server is physically located. Therefore, the location(s) associated with a website are independent of whether the various documents for a single website are physically stored in one server or multiple servers, at one location or multiple locations. In FIG. 4B, URL 412 identifies a website, some_website_dot_com, which includes all documents whose URL's begin with the initial path “www_dot_some_website_dot_com”, which includes the domain name of the website. As used herein, documents are “hosted” at a website when their URL's or network addresses are associated with the website as illustrated here, regardless of the physical locations where the documents are stored.
  • The URL's 414 and 416 are examples of URL's that specify more than just a domain name. If the website, some_website_dot_com, has subdirectories for both California (as illustrated by URL 414) and New York (as illustrated by URL 416), then the website, some_website_dot_com, probably could not be associated with a single state. Therefore, some embodiments selectively include one or more subdirectories as part of a defined website. For example, using URL 414, one could identify the website consisting of all documents whose URL's begin with www_dot_some_website_dot_com/california. If the web address of URL 414 is indicative of the contents of the corresponding website, then the website is associated with the state of California. In some embodiments, websites are identified with even narrower scope. For example, using URL 416, some embodiments would identify the set of documents whose URL's begin with www_dot_some_website_dot_com/new_york/statue_of_liberty as a website. One advantage of this narrow scope is that locations may be more precisely defined. For example, whereas the subdirectory /new_york might refer to places or entities throughout the state of New York, the subdirectory /new_york/statue_of_liberty is associated with the city of New York and the state of New York.
  • Therefore, as used herein, a website includes all documents whose web addresses or network addresses have a specified initial path, which includes a domain name and zero or more subdirectories.
  • FIG. 5 schematically illustrates the interrelationship, in accordance with some embodiments, between:
      • user queries 510;
      • locations 512 explicitly or implicitly referenced in the queries 510;
      • result sets 508 for the queries 510;
      • individual search result links (SRL's) 506 in the result sets 508;
      • documents 504 that the search result links 506 point to;
      • and websites 502 that host the documents 504.
  • Locations are geographic or physical locations where entities may exist. As discussed earlier, the location of the Eiffel Tower is Paris, France, and the location of the Golden Gate Bridge is San Francisco, Calif. References to locations 512 may appear either explicitly or implicitly in user queries 510, as explained earlier with respect to FIG. 4A. In the embodiment of FIG. 5, locations 512-1, 512-2, and 512-3 are referenced by one or more search queries 510, but location 512-K is not referenced by any of the queries 510. There is a many-to-many relationship between queries 510 and locations 512 because each query 510 can specify zero or more locations 512 and each location 512 can correspond to zero or more queries 510. In this embodiment, queries 510-1 and 510-5 have no explicit or implicit location. Queries 510-3 and 510-4 each references exactly one location. Query 510-2 references two locations, namely 512-1 and 512-2. As shown in this embodiment, location 512-2 is referenced by both query 510-2 and query 510-3. In a more typical embodiment, a higher percentage of the queries specify no location (e.g., 90% might not specify a location). In addition, queries that do specify a location sometimes specify more than one location (either explicitly or implicitly), such as San Francisco and California, as illustrated in row 402 in FIG. 4A. Because locations can be cities, states, provinces, countries, or other geographic subdivisions within a country, having multiple locations specified is common.
  • For each query 510 there is a corresponding result set 508. For example, query 510-1 has result set 508-1, query 510-2 has result set 508-2, etc. Although the result set 508 for a given query 510 may change over time, at any point in time a search engine 110 will generally return the same result set 508 for the same query 510. Each query 510 and corresponding result set 508 is stored in search history database 118 (FIG. 1). Each result set 508 includes a set of search result links 506 to documents 504, as discussed below and as illustrated in FIGS. 9A and 9B. Typically, a set of search results 508 has many search result links 506. For example, a typical set of search results 508 may include hundreds or thousands of individual search result links 506. FIG. 5 illustrates only a small number of search result links 506 due to typographic and space limitations. As noted above, in some embodiments the result set 508 stored in search history database 518 includes only a subset of the search results returned by a search engine, such as the top N results, where N is an integer (e.g., 10, 20 or the like, typically having a value between 5 and 100).
  • As illustrated in FIG. 5, a respective search result link 506 is a link to a document 504, which is hosted at a respective website 502. Result set 508-1 illustrates the common case of a result set that includes links to multiple distinct websites. In this illustration, result set 508-1 includes links 506-2 and 506-3 to documents 504-2 and 504-3, which are both hosted at website 502-2. In addition, result set 508-1 has a link 506-1 to document 504-1, which is hosted at a different website 502-1. Result set 508-2 similarly has links to documents 504-2 and 504-3 hosted at website 502-2, but has no link to document 504-1. FIG. 5 illustrates result sets 508-3, 508-4, and 508-5, each with a link to a document hosted at website 502. Not shown are the many links 506 to other documents hosted at other websites not shown in FIG. 5. The search result links 506 illustrate the many-to-many relationship between result sets 508 and documents 504. Also illustrated are documents 504-4 and 504-5, which have no links from the result sets 508. FIG. 5 thus illustrates how locations 512 are associated with websites 502 based on user queries 510 and the corresponding result sets 508. A process to determine locations 512 associated with a website 502 using this data is explained below with respect to FIGS. 7A and 7B.
  • FIG. 6 is similar to FIG. 5, but illustrates the various interrelationships that are used to compute a location associated with an individual query rather than an individual website. A query 602 has an associated result set 604 that includes links to various documents. Based on historical data for the query 602 and queries that are substantially the same (e.g., that share a common standardized or canonical form), weights are assigned to respective documents 606 (e.g., to each of the documents 606). For example, in the embodiment of FIG. 6, document 606-1 has weight w1′, and document 606-N′ has weight wN′. In some embodiments, the weights are normalized so that the sum of the weights of all the documents in the result set is 1. In some embodiments, the weights are assigned based on historical data of user clicks on links to the documents from result set 604. That is, each weight wi′ represents (or corresponds to) the probability that a user will select a corresponding document i′ in the result set.
  • In some embodiments, each document 606 of result set 604 is associated with a website 608. In some embodiments, websites are identified in such a way that each document 606 is hosted by and thus associated with a unique website 608. How websites are identified is addressed above with respect to FIG. 4B. As shown in the example in FIG. 6, two or more documents identified in a query's result set may be associated with (e.g., hosted by) the same website. For example, documents 606-1 and 606-3 are both hosted at website 608-1. Some of the websites are associated with one or more geographic locations, as illustrated by websites 608-1, 608-3 and 608-4. Some websites (e.g., website 608-1) are associated with two or more locations (e.g., locations 610-1 and 610-2). For instance, the website 608-1 includes a document or documents discussing or describing a first entity located at location 610-1 and a second entity located at location 610-2. In one example, a single website has information about Universal Studios in both Los Angeles, Calif. and Orlando, Fla., and thus is associated with both locations. In other instances, a website is associated with a single location, as illustrated by site 608-4 and location 610-3. For example, the entity or entities discussed or described in the document 606-5 hosted on the website 608-4 are only located at location 610-3. Typically, there will be some documents 606 hosted at websites 608 that are not associated with any geographic location. In FIG. 6, websites 608-2 and 608-L′ are not associated with any locations. Also, in some cases multiple websites are associated with the same location. For example, websites 608-3 and 608-4 are both associated with the same location 610-3.
  • The location calculations corresponding to FIG. 6 are described below with respect to FIGS. 8A and 8B.
  • In the following discussion, certain equations are provided that concisely explain some of the details. In these equations, “q” or “Q” denotes a search query, “s” denotes a website, “d” denotes a document hosted at a website, and “l” denotes a reference to a physical or geographic location.
  • FIGS. 7A and 7B provide a flowchart of an exemplary process 700 performed by a website location module 320 (FIG. 3) in a location inference engine 126 (FIGS. 1 and 3) to associate one or more locations with a website. Method 700 executes (702) at a server system with one or more processors and memory. In some embodiments, the method 700 executes on a single server computer; in other embodiments, method 700 executes on a plurality of server computers. In some embodiments, the distribution of work across multiple server computers is based on partitioning the queries or websites into subsets for processing. The memory in each server computer stores (704) one or more programs that are executed by the processors of the server computer. The programs comprise executable instructions that, when executed, perform the operations of method 700.
  • Initially, method 700 identifies (706) a website s. Subsequent operations in the method 700 determine which, if any, geographic locations are associated with this identified website (e.g., geographic locations discussed or described in documents hosted on this website). A document d hosted at website s is denoted by d @ s. The website that hosts document d is denoted by site(d). As noted earlier, documents are “hosted” at a website when their URL's or network addresses are associated with the website, regardless of the physical locations where the documents are stored. In some embodiments, each document hosted at the website has a web address, and all of the documents hosted at the website have an initial portion (sometimes called an initial path) of their web addresses (e.g. URL's) in common (708), as illustrated above with respect to FIG. 4B. In some embodiments, the initial portion shared by the documents at the website includes (710) a domain name, as illustrated by row 412 in FIG. 4B. In other embodiments, the initial portion of the web addresses that are shared by the documents at the website includes (712) a domain name and one or more subdirectories, as illustrated by rows 414 and 416 in FIG. 4B.
  • Method 700 also identifies (714) previously issued queries with result sets that contain search result links to documents hosted at the website. For brevity, the expression rs(q) denotes the result set generated in response to query q, and wrq denotes the set of website referencing queries, which are the queries (identified by operation 714) with results sets that contain search result links to documents hosted at the identified website s. A result set includes links to documents, although colloquially a result set is said to “contain” documents. The expression dεrs(q) indicates that the result set for query q includes a search result link to document d. Of the previously issued queries identified in operation 714, method 700 identifies (716) a subset of those queries that are location-referencing queries. A location-referencing query is (716) a previously issued query that contains an explicit reference to some physical location. The abbreviation lrq denotes the subset comprising location-referencing queries.
  • Method 700 identifies (718) clicks on search result links to documents hosted at the website, where the search result links are in the result sets of the previously issued queries identified in operation 714. These clicks are referred to as document clicks and also as user clicks, because they correspond to selections of search result links by users. In some embodiments, the clicks are identified within the click information 124 in the search history database 118 (FIG. 1). User clicks provide useful information because they indicate that users have selected specific documents from the set of generated results. In particular, a user click on a search result link suggests that the associated document is relevant to the user's search query. Numerous user clicks on a search result link, in search results for the previously issued queries identified in operation 714, are even more suggestive that the associated document is relevant to the search queries of those users.
  • Method 700 computes (720) a site click count for the website, which is the number of the identified document clicks on search result links, in the result sets of the identified previously issued queries (see 714), to documents hosted at the website. The expression click(d, q) denotes the number of clicks on a search result link to document d, when the search result link was part of a result set for query q. A concise expression for the site click count is given by:
  • site_clicks ( s ) = q wrq d @ s d rs ( q ) click ( d , q ) ( 1 )
  • Method 700 computes (722, FIG. 7B) a location-referencing click count for the website, which provides the number of document clicks on search result links, in the result sets of the identified location-referencing queries (see 716), to documents hosted at the website. The location-referencing click count is like the site click count, but limited to queries that explicitly reference a location. A concise expression for the location-referencing click count is given by:
  • location_referencing _clicks ( s ) = q lrq d @ s d rs ( q ) click ( d , q ) ( 2 )
  • As seen in the formulas for site clicks and location-referencing clicks, each of these numbers is computed one time for the website. These click counts do not correspond to any specific geographic location. Method 700 also computes click counts for each specific location: for each respective location that is explicitly or implicitly referenced in one or more of the identified location-referencing queries (724), method 700 computes (728) a location-specific click count. Each location-specific click count provides (728) the number of the identified document clicks on search result links in the result sets of the identified location referencing queries that contain an explicit or implicit reference to the respective location. The discussion above with respect to FIG. 4A explains the use of explicit and implicit location references. A concise expression for the location-specific click counts is given by:
  • location_referencing _clicks ( s , l ) = q lrq d @ s d rs ( q ) click ( d , q ) ( 3 )
  • Location-specific clicks are a function of both the website s and the location l. In the above expression, the simple expression lεq indicates that location l is explicitly or implicitly referenced in query q.
  • In some embodiments, method 700 identifies (726) the locations explicitly or implicitly referenced in one or more of the identified location-referencing queries in accordance with predefined criteria. In some embodiments, the predefined criteria identify explicit location references using a table lookup (e.g., using the location table 134, FIG. 1). One elementary lookup method compares each term of the search query to a known list of locations (e.g., cities, states, provinces, and countries); if the term matches an item in the list, the term is presumed to be a location and the query is presumed to be a location-referencing query. In preferred embodiments, more advanced matching techniques are used so that multi-part names (e.g., “San Francisco,” “Port au Prince,” etc.) are identified. In some embodiments, additional tables are used to associate locations with each other. Thus, when one location is identified, other associated locations are identified automatically (implicitly). Implicit identification of locations is illustrated by rows 402, 404, and 408 in FIG. 4A.
  • For each respective location for which a location-specific click count has been computed (730), method 700 computes (732) a location-specific score for the website. The location-specific scores are computed (732) in accordance with the site click count, the location-referencing click count and the location-specific click count for the respective location. The score represents (or, more generally, corresponds to) the likelihood that the respective location is associated with the website. In some embodiments, the location-specific score, lss(s,l), for location l and site s is computed as:
  • I s s ( s , l ) = location_specific _score ( s , l ) = location_specific _clicks ( s , l ) location_referencing _clicks ( s ) . ( 4 )
  • In some embodiments, method 700 computes (734) a site confidence value in accordance with the site click count and the location-referencing click count. The site confidence value (for a respective website s) represents the likelihood that the website s is associated with one or more physical locations, as indicated by the degree to which user clicks indicate that the website is associated with one or more physical locations. In some embodiments, the site confidence value, site_conf(s), is computed as:
  • site_conf ( s ) = location_referencing _clicks ( s ) site_clicks ( s ) . ( 5 )
  • In some embodiments, the location specific scores and the site confidence are stored (738), for use when determining locations associated with a respective query, or set of queries, as described below with reference to FIG. 8A, 8B. Moreover, operations 706-738 are repeated for multiple websites, and the location specific scores and the site confidence are stored for multiple websites.
  • Optionally, method 700 determines (736) zero or more locations (e.g., one or more locations, or two or more locations) associated with the website s, using the location-specific scores and the site confidence score for website s. In some embodiments, the location-specific score, lss(s,l) for at least one of the plurality of respective locations l is mathematically combined with (e.g., multiplied by) the site confidence score to produce a location-specific confidence score, ls_conf(s,l) for location l with respect to website s, and then that location-specific confidence score is compared with a predefined confidence threshold value. In some embodiments, the location-specific confidence score, ls_conf(s,l) is equal to
  • location_specific _clicks ( s , l ) site_clicks ( s ) .
  • When a location has a location-specific confidence score above the confidence threshold value, that location is identified as being associated with the website s.
  • Optionally, the number of locations identified as being associated with a website s is limited to a predefined number, L (e.g., an integer between 1 and 10, such as 1, 2, 3, 4, 5 or 10). When the number of locations having confidence score above the threshold is greater than the limit L, the locations have the L highest confidence scores are selected and identified as the locations associated with the website s.
  • Optionally, the location-specific scores for the plurality of respective locations are processed in an order determined by their values, starting with the location-specific score having the largest value. The processing stops when either (a) the number of locations associated with the website reaches the predefined limit, L, or (b) the location-specific confidence score for a respective location falls below the confidence threshold value. In the later case, all the remaining location-specific scores will also have location-specific confidence scores that fall below the confidence threshold value, and therefore do not need to be processed.
  • Alternatively, method 700 determines (736) zero or more locations (e.g., one or more locations, or two or more locations) associated with the website s, using the location-specific scores and the site confidence score for website s, by first determining if the site confidence score is above a predefined site confidence threshold value. If so, then the locations, if any, that have location-specific scores above a location score threshold are determined to be associated with the website s.
  • As described in more detail below, the location information generated by method 700 can be used as follows. A search engine system, when responding to a received search query from a client (e.g., a client device or client system distinct from the search engine system) processes the search query produce a set of search results, at least one of which comprises a search result link to a document hosted at the website. The search engine returns to the client at least a subset of the set of search results and also returns information identifying or corresponding to a location that was determined by method 700 to be associated with the website. In some embodiments, returning information identifying or corresponding to the determined location includes one or more of the following: providing text that identifies the location; providing search results relevant to the determined location (e.g., search results produced for a search query that includes the received query and one or more additional query terms identifying the determined location); and providing a map or a link to a map that shows the determined location.
  • FIGS. 8A and 8B provide a flowchart of an exemplary method 800, performed by a query location module 322 (FIG. 3) in a location inference engine 126 (FIGS. 1&3), to assign one or more locations to a query. Method 800 builds on the work of method 700, using the information about locations associated with websites as determined in the method 700 to determine locations associated with queries. By inferring a location for a query, method 800 effectively treats the query as if the end user had typed in the appropriate location term(s) as part of the search query.
  • Method 800 executes (802) at a server system with one or more processors and memory. The server system includes one or more server computers, which may allocate the computations to multiple servers in various ways. In some embodiments, there is a list of queries to process, and the individual servers select one or more queries to process, which may occur iteratively. In other embodiments, the set of all queries to process is partitioned, and each server computer is allocated one or more partitions to process. The memory in each server computer stores (804) one or more programs for execution by the processors at that computer.
  • Method 800 identifies (806) a query to process. In some embodiments, the identified query is selected from a historical set of queries. In other embodiments, the identified query is received (808) from a client (e.g., a client 104, FIG. 1). In the former case, the method 800 predetermines locations associated with queries (i.e., determines the locations associated with historical queries); the predetermined locations will be used later when a user issues a search query that is identical to, or substantially the same as, the currently identified query. In the latter case, the identified query is dynamically received (808) from an end user (e.g., from a client 104 used by a user 102, FIG. 1), and therefore the calculations performed in the method 800 are used immediately in the results returned to the user.
  • In some embodiments, the method 800 converts (810) the identified query to a canonical form. The use of a canonical form reduces the number of queries that need to be considered because many distinct search queries will convert to the same canonical form. The reduction to a canonical form occurs in multiple ways. In some embodiments, the canonical form eliminates words like “a” and “the,” which add no value to the search query. In some embodiments, the canonical form eliminates simple or common typographical errors, such as misspellings. In some embodiments, the canonical form imposes a unique word order. For example, there are one hundred twenty (five factorial, 5!=120) distinct ways to reorder five search terms. If a canonical form selects one of these, then the other 119 orders are collapsed into the single designated canonical order. In some embodiments, certain groups of words are naturally grouped together to form a composite search term, such as “San Francisco.” One of ordinary skill in the art would recognize that other techniques may be applied to convert search queries to well-defined canonical forms. The process of reducing a search query to a canonical form is sometimes called normalization. Converting queries to a canonical form is one way to recognize queries that are substantially the same.
  • The method 800 selects (812) a set of documents that are responsive to the identified query (i.e., documents in the result set(s) produced by a search engine, or set of search engines, in response to the query). When the identified query is selected from a historical set of queries, the responsive set of documents may be large in order to maximize accuracy of the location inferences. However, when the identified query is received from an end user 102, the set of responsive documents is typically limited to the top N responsive documents, where N is a positive integer (e.g., 10, 20, 100, or any suitable number, typically in the range of 10 to 500). This limits the amount of processing required to determine a location for the query before returning search results to the user.
  • The method assigns (814) a weight to each document in the set of documents (i.e., the set of documents responsive to the identified query, identified in operation 812). The assignment is based, at least in part, on historical data of user clicks on search result links in search results produced for historical queries that are substantially the same as the identified query. Using the expression click(Q) to denote the number of clicks on search result links from the result set for query Q, and click(d, Q) to denote the number of clicks on links to document d in the result set for query Q, some embodiments compute the document weights as
  • weight ( d , Q ) = click ( d , Q ) click ( Q ) .
  • That is, the weight for each document d is the number of clicks on that document divided by the total number of clicks for query Q. In these embodiments, the weight for each document d may be called a click fraction with respect to the query. With this assignment of weights,
  • d rs ( Q ) weight ( d , Q ) = 1
  • because each of the clicks for query Q must be on one of the search result links in the result set.
  • The method 800 identifies (816) a website corresponding to each of the documents in the set of documents (identified in operation 812). Multiple websites are thus identified. The expression site(d) denotes the website where document d is hosted. Because a document is identified by a URL or other unique network address, there is a single site that hosts each document. If two documents with identical content are hosted at different websites, then the two copies are distinct documents because they have different network addresses (e.g., URL's).
  • For each website s in a plurality of the identified websites (818), method 800 retrieves (820) scores for locations associated with the website. In some embodiments, the retrieved scores are the location-specific score, lss(s,l), for location l and website s, as described above (see description of operation 732 and equation 4, above). Each location-specific score indicates (or, more generally, corresponds to) the likelihood that the associated location l corresponds to the website s (e.g., that the associated location or an entity located at the associated location is described or discussed in one or more documents hosted by the website). In some embodiments, the information retrieved for each website s of the plurality of identified websites includes (822) a website confidence value for the website. In some embodiments, the retrieved website confidence value is the value of site_conf(s), as described above (see description of operation 734 and equation 5, above). The website confidence value indicates a likelihood that a physical location (or at least one physical location) corresponds to the website. In some embodiments, the website location-specific scores and confidence values are computed as indicated above with respect to method 700.
  • For each respective location of a plurality of locations associated with the identified websites (824), method 800 aggregates (826) the location-specific scores retrieved in operation 820 for the selected set of documents in the result set of the identified query Q, as weighted by the document weights assigned in operation 814 and scaled by the website confidence scores. The aggregation operation computes an aggregated likelihood that the respective location l is associated with the query Q. In some embodiments, the aggregated likelihood, also referred to as a location-specific query score, query_score(Q,l), is computed as:
  • query_score ( Q , l ) = d rs ( Q ) weight ( d , Q ) · site_conf ( site ( d ) ) · l s s ( site ( d ) , l ) ( 6 )
  • where site(d) is the website that hosts document d, lss(site(d),l) is the retrieved location-specific score for the website that hosts document d, site_conf(site(d)) is the site confidence score for that website.
  • Conceptually, each query score, query_score(Q,l), is computed based on the documents d responsive to the query Q. Each document is weighted based on the percentage of clicks on search result links to that document, within the search results for the query. Each site score indicates the probability that a certain location is associated with the website that is hosting the document. The aggregation thus estimates the probability that location l is associated with query Q.
  • A similar aggregation may be performed on the site confidence values for the websites that host the selected documents d responsive to the query Q. In some embodiments, method 800 aggregates (828) the website confidence values, site_conf(site(d)), as weighed by the document weights, to compute an aggregated confidence value for the query. The aggregated confidence values, sometimes referred to as a query confidence value, corresponds to a level of confidence that some location (i.e., at least one location) is associated with the query. In some embodiments, the query confidence value is computed as:
  • query_confidence ( Q ) = d rs ( Q ) weight ( d , Q ) · site_conf ( site ( d ) ) . ( 7 )
  • The method 800 assigns (830) a specific location to the query when certain predefined criteria are satisfied. The predefined criteria include (830) a requirement that the aggregated likelihood for the specific location, as provided by the query score of equation (6), exceeds a first threshold value. In some embodiments, the first threshold value is a first predefined value, such as 0.5. In other embodiments, the first threshold value is smaller (such as 0.35), but there is an additional requirement that the selected specific location have higher likelihood than the other potential locations. In some embodiments, the predefined criteria include (832) both the requirement that the aggregated likelihood for the specific location exceeds a first threshold value and a requirement that the aggregated confidence value for the query, as provided by the query confidence value of equation (7), exceeds a second threshold value. In some embodiments, the second threshold value is a second predefined value, such as 0.1. In some embodiments, the second predefined value is smaller, such as 0.05, particularly when the search history database 118 has a large amount of data. In some embodiments, the first and second threshold values are empirically determined based on analysis a training set of queries or other set of queries evaluated both by humans and using the methods described above.
  • In some embodiments, in which the identified query was received from a client device or system (808), method 800 returns (834) to the client at least a subset of the documents responsive to the received query and information identifying or corresponding to the specific location, if any, assigned to the query. In some embodiments, the method 800 stores (836) the identified query and the corresponding assigned specific location in a repository for subsequent retrieval. For example, the query is stored in search history database 118 and the location is stored in location database 128 (FIG. 1) (e.g., in query location information 132). In some embodiments, returning information identifying or corresponding to the determined location (834) includes one or more of the following: providing text that identifies the location; providing search results relevant to the determined location (e.g., search results produced for a search query that includes the received query and one or more additional query terms identifying the determined location); and providing a map or a link to a map that shows the determined location.
  • In some embodiments, method 800 receives (838) a subsequent new query from a client. In some of these embodiments, the method converts (840) the new query to a canonical form. The conversion to a canonical form is described above with respect to converting the identified query in operation 810. Method 800 matches (842) the new query to a previously identified query. When the method 800 matches the new query to a previously identified query to which a location has been assigned (see operation 830, described above), the method returns (844) to the client a set of search results that includes information identifying or corresponding to the specific location assigned to the identified query. That is, having previously assigned the location to a query, the same work need not be repeated when the same (or substantially the same) query appears again. In some embodiments, returning information identifying or corresponding to the determined location (844) includes one or more of the following: providing text that identifies the location; providing search results relevant to the determined location (e.g., search results produced for a search query that includes the received query and one or more additional query terms identifying the determined location); and providing a map or a link to a map that shows the determined location.
  • While the methods 700 and 800 include a number of operations that appear to occur in a specific order, it should be apparent that the methods 700 and 800 can include more or fewer operations, which can be executed serially or in parallel. An order of two or more operations may be changed and two or more operations may be combined into a single operation.
  • With reference to operations 718, 720 and 722 of FIG. 7A, FIGS. 9A and 9B illustrate a process of counting clicks on search results. In FIG. 9A, a user 102 (FIG. 1) has entered the search query 902 “universal studios orlando”. In response to the query, the search engine 110 (FIG. 1) has returned a result set 904 comprising search result links 906-1, 906-2, 906-3, and 906-4. The user 102 evaluates the result set 904 and clicks on search result link 906-2, which causes web page 910 to be downloaded from website 908 and displayed on the user's browser 106. In addition to bringing up the web page 910 for display on the user's browser 106, the click data is transmitted (922) to the search history database 118 (FIG. 1), for inclusion in the click information 124. For FIG. 9A, the click on search result link 906-2 would count as a site click for website 908, a location-referencing click for website 908 (because of the explicit reference to a location, Orlando), and a location-specific click for the locations “Orlando,” “Florida,” and “United States.” The location-specific clicks for Florida and the United States are implicit because of the explicit reference to Orlando.
  • In FIG. 9B, a user types in the query “universal studios” without any explicit reference to a location. The responsive result set 914 is similar to the result set 904 in FIG. 9A, with search result links 906-1 and 906-2 as before, but has different search result links 916-3 and 916-4 as well. As before, a click on search result link 906-2 causes web page 910 to be downloaded from website 908 and displayed on the user's browser 106. In addition to bringing up the web page 910 for display on the user's browser 106, the click data is transmitted (922) to the search history database 118, for inclusion in the click information 124. As in FIG. 9A, the user click is a site click for website 908. However, because there is no explicit reference to a location, the click is not a location-referencing click. Also, because there are no locations in the query itself, there are no location-specific clicks for any location.
  • Even though the users in FIGS. 9A and 9B both clicked on the same search result link 906-2 to bring up the same web page 910 from website 908, the user in the first case has provided useful information for determining locations associated with website 908 and query 902. If enough users provide the same information, it is likely that the aggregated consensus is correct.
  • For users who live in different countries or speak different languages, the assignment of locations to websites and queries may by different. For example, there are Disneyland parks in the United States, Japan, and France, so a user in Japan who queries for “Disneyland” without specifying a location is probably looking for Tokyo Disneyland. To accommodate these language and country differences, some embodiments track search history data by locale, which includes a (language, country) pair. The search history data is partitioned into distinct locales, and the methods described previously apply to the query history, query results history, and click data collected for each locale.
  • Techniques applied here to determine locations associated with a website can also be applied to an individual document. For example, consider the portion of FIG. 5 consisting of document 504-2, result sets 508-1, 508-2, and 508-4, search result links 506-2, 506-4, and 506-7, queries 510-1, 510-2, and 510-4, as well as locations 512-1, 512-2, and 512-3. The same counting of clicks described above with reference to FIGS. 7A and 7B with respect to a website s can be applied to compute a score for each location and a confidence value that document 504-2 is associated with a location. Another way to view this embodiment is to define a “website” consisting of a single specified document, and then compute the scores and confidence value(s) for this limited website.
  • The foregoing description, for purpose of explanation, has been described with reference to specific embodiments. However, the illustrative discussions above are not intended to be exhaustive or to limit the inventions to the precise forms disclosed. Many modifications and variations are possible in view of the above teachings. The embodiments were chosen and described in order to best explain the principles of the inventions and their practical applications, to thereby enable others skilled in the art to best utilize the inventions and various embodiments with various modifications as are suited to the particular use contemplated.

Claims (24)

1. A method for inferring locations associated with a website, performed by a server system having one or more processors and memory storing one or more programs for execution by the one or more processors, the method comprising:
at the server system:
identifying a website;
for each respective location of a plurality of locations referenced in queries with respective result sets that comprise search result links to documents hosted at the website, computing a location-specific score representing the likelihood that the respective location is associated with the website;
computing a site confidence value representing a likelihood that the website is associated with a physical location;
determining a location associated with the website using the location-specific scores and the site confidence value;
storing information indicating that the determined location is associated with the website for subsequent use when processing respective search queries.
2. The method of claim 1, further including:
processing a received search query from a client device or system to produce a set of search results, at least one of which comprises a search result link to a document hosted at the website; and
returning to the client device or system at least a subset of the set of search results and information identifying the determined location.
3. The method of claim 1, further comprising:
computing, with respect to the queries with respective result sets that comprise search result links to documents hosted at the website, a site click count that provides a total number of clicks that select search result links to documents hosted at the website;
computing, for the website, a location-referencing click count that provides a number of said clicks that select search result links provided in the result sets of respective queries that reference any of a plurality of locations; and
for each respective location of the plurality of locations, computing a location-specific click count that provides a number of said clicks that select search result links provided in the result sets of respective queries that reference the respective location;
wherein:
computing the location-specific score is performed in accordance with the location-referencing click count and the location-specific click count for the respective location; and
computing the confidence value is performed in accordance with the site click count and location-referencing click count.
4. The method of claim 3, wherein computing the location-specific score comprises dividing the location-specific click count by the location-referencing click count.
5. The method of claim 3, wherein computing the confidence value comprises dividing the location-referencing click count by the site click count.
6. The method of claim 1, wherein the plurality of locations referenced in queries with respective result sets that comprise search result links to documents hosted at the website comprise locations explicitly or implicitly referenced by terms in the queries.
7. The method of claim 1, wherein determining a location associated with the website using the location-specific scores and the site confidence value includes, for at least one of the location-specific score, combining the location-specific score with the site confidence value to produce a location-specific confidence value for a corresponding location, determine if the location-specific confidence value exceeds a predefined threshold value, and associating the location corresponding to the location-specific confidence value with the website when location-specific confidence value exceeds the predefined threshold value.
8. The method of claim 1, wherein each document hosted at the website has a web address, the web address including an initial portion that is in common with the web address of other documents hosted at the website.
9. The method of claim 8, wherein the initial portion of the web addresses comprises a domain name or a domain name in combination with a subdirectory.
10. A non-transitory computer readable storage medium storing one or more programs configured for execution by a computer system having one or more processors and memory storing one or more programs for execution by the one or more processors, the one or more programs comprising instructions for:
identifying a website;
for each respective location of a plurality of locations referenced in queries with respective result sets that comprise search result links to documents hosted at the website, computing a location-specific score representing the likelihood that the respective location is associated with the website;
computing a site confidence value representing a likelihood that the website is associated with a physical location;
determining a location associated with the website using the location-specific scores and the site confidence value;
storing information indicating that the determined location is associated with the website for subsequent use when processing respective search queries.
11. The non-transitory computer readable storage medium of claim 10, wherein the one or more programs further comprise instructions for:
processing a received search query from a client device or system to produce a set of search results, at least one of which comprises a search result link to a document hosted at the website; and
returning to the client device or system at least a subset of the set of search results and information identifying the determined location.
12. A server computer system comprising:
one or more processors; and
memory storing one or more programs for execution by the one or more processors, the one or more programs comprising instructions for:
identifying a website;
for each respective location of a plurality of locations referenced in queries with respective result sets that comprise search result links to documents hosted at the website, computing a location-specific score representing the likelihood that the respective location is associated with the website;
computing a site confidence value representing a likelihood that the website is associated with a physical location;
determining a location associated with the website using the location-specific scores and the site confidence value;
storing information indicating that the determined location is associated with the website for subsequent use when processing respective search queries.
13. The server computer system of claim 12, wherein the one or more programs comprise instructions for:
processing a received search query from a client device or system to produce a set of search results, at least one of which comprises a search result link to a document hosted at the website; and
returning to the client device or system at least a subset of the set of search results and information identifying the determined location.
14. A method for assigning a location to a query, performed by a server system having one or more processors and memory storing one or more programs for execution by the one or more processors, the method comprising:
at the server system:
identifying a query;
selecting a set of documents responsive to the identified query;
assigning weights to respective documents in the set of documents based, at least in part, on historical data of user clicks selecting search result links in search results produced for historical queries substantially the same as the identified query;
identifying respective websites hosting the documents in the set of documents;
for each website of a plurality of the identified websites, retrieving location-specific information for one or more locations, the retrieved information for a respective location comprising a location-specific score that corresponds to the likelihood that the respective location corresponds to a respective website of the identified websites;
for each respective location for which location-specific information was retrieved, aggregating the location-specific scores, as weighted by the document weights, to compute an aggregated likelihood that the respective location is associated with the query; and
assigning a specific location to the query when predefined criteria are satisfied, the predefined criteria comprising a requirement that the aggregated likelihood for the specific location exceeds a first predefined value.
15. The method of claim 14, wherein:
the information retrieved for each website of the plurality of identified websites further comprises a website confidence value for the website that corresponds to a likelihood that at least one physical location corresponds to the website;
the method further comprises aggregating the website confidence values as weighted by the document weights to compute an aggregated confidence value for the query; and
the predefined criteria further comprises a requirement that the aggregated confidence value for the query exceeds a second predefined value.
16. The method of claim 14, wherein
the information retrieved for each website of the plurality of identified websites further comprises a website confidence value for the website, the website confidence value corresponding to a likelihood that at least one physical location corresponds to the website;
the aggregated likelihood comprises a location-specific query score, query_score(Q,l) for the identified query Q and the respective location l, and is computed by aggregating the location-specific scores weighted by both the document weights and the website confidence values.
17. The method of claim 16, wherein the location-specific query score, query_score(Q,l) for the identified query Q and the respective location l, and is computed in accordance with a predefined summation equation comprising:
query_score ( Q , l ) = d re ( Q ) weight ( d , Q ) · site_conf ( site ( d ) ) · I s s ( site ( d ) , l ) ,
where site(d) is the website that hosts document d, lss(site(d),l) is the retrieved location-specific score for the website that hosts document d, site_conf(site(d)) is the site confidence score for the website that hosts document d, and the summation is performed with respect to documents in the selected set of documents responsive to the identified query.
18. The method of claim 14, wherein the identified query is received from a client device or system, the method further comprising:
returning to the client device or system at least a subset of the documents responsive to the received query and information identifying or corresponding to the specific location assigned to the query.
19. The method of claim 14, further comprising:
storing the identified query and the corresponding assigned specific location in a repository;
receiving a new query from a client device or system;
matching the new query to the identified query; and
returning to the client device or system a set of search results for the new query and information identifying or corresponding to the specific location assigned to the query
20. The method of claim 19, further comprising converting the identified query to a canonical form prior to storing in the repository and converting the new query to a canonical form prior to matching the new query to the identified query.
21. A server system, comprising:
one or more processors; and
memory storing one or more programs for execution by the one or more processors, the one or more programs comprising instructions for:
identifying a query;
selecting a set of documents responsive to the identified query;
assigning weights to respective documents in the set of documents based, at least in part, on historical data of user clicks selecting search result links in search results produced for historical queries substantially the same as the identified query;
identifying respective websites hosting the documents in the set of documents;
for each website of a plurality of the identified websites, retrieving location-specific information for one or more locations, the retrieved information for a respective location comprising a location-specific score that corresponds to the likelihood that the respective location corresponds to a respective website of the identified websites;
for each respective location for which location-specific information was retrieved, aggregating the location-specific scores, as weighted by the document weights, to compute an aggregated likelihood that the respective location is associated with the query; and
assigning a specific location to the query when predefined criteria are satisfied, the predefined criteria comprising a requirement that the aggregated likelihood for the specific location exceeds a first predefined value.
22. The server system of claim 21, wherein
the information retrieved for each website of the plurality of identified websites further comprises a website confidence value for the website that corresponds to a likelihood that at least one physical location corresponds to the website;
the method further comprises aggregating the website confidence values as weighted by the document weights to compute an aggregated confidence value for the query; and
the predefined criteria further comprises a requirement that the aggregated confidence value for the query exceeds a second predefined value.
23. A non-transitory computer readable storage medium storing one or more programs configured for execution by a computer system having one or more processors and memory storing one or more programs for execution by the one or more processors, the one or more programs comprising instructions for:
identifying a query;
selecting a set of documents responsive to the identified query;
assigning weights to respective documents in the set of documents based, at least in part, on historical data of user clicks selecting search result links in search results produced for historical queries substantially the same as the identified query;
identifying respective websites hosting the documents in the set of documents;
for each website of a plurality of the identified websites, retrieving location-specific information for one or more locations, the retrieved information for a respective location comprising a location-specific score that corresponds to the likelihood that the respective location corresponds to a respective website of the identified websites;
for each respective location for which location-specific information was retrieved, aggregating the location-specific scores, as weighted by the document weights, to compute an aggregated likelihood that the respective location is associated with the query; and
assigning a specific location to the query when predefined criteria are satisfied, the predefined criteria comprising a requirement that the aggregated likelihood for the specific location exceeds a first predefined value.
24. The non-transitory computer readable storage medium of claim 23, wherein
the information retrieved for each website of the plurality of identified websites further comprises a website confidence value for the website that corresponds to a likelihood that at least one physical location corresponds to the website;
the method further comprises aggregating the website confidence values as weighted by the document weights to compute an aggregated confidence value for the query; and
the predefined criteria further comprises a requirement that the aggregated confidence value for the query exceeds a second predefined value.
US13/329,178 2010-12-16 2011-12-16 Inferring Geographic Locations for Entities Appearing in Search Queries Abandoned US20120158712A1 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
US13/329,178 US20120158712A1 (en) 2010-12-16 2011-12-16 Inferring Geographic Locations for Entities Appearing in Search Queries
US15/056,608 US10437861B1 (en) 2010-12-16 2016-02-29 Inferring geographic locations for entities appearing in search queries
US16/594,813 US11176181B2 (en) 2010-12-16 2019-10-07 Inferring geographic locations for entities appearing in search queries

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US42396310P 2010-12-16 2010-12-16
US13/329,178 US20120158712A1 (en) 2010-12-16 2011-12-16 Inferring Geographic Locations for Entities Appearing in Search Queries

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US15/056,608 Continuation US10437861B1 (en) 2010-12-16 2016-02-29 Inferring geographic locations for entities appearing in search queries

Publications (1)

Publication Number Publication Date
US20120158712A1 true US20120158712A1 (en) 2012-06-21

Family

ID=46235754

Family Applications (3)

Application Number Title Priority Date Filing Date
US13/329,178 Abandoned US20120158712A1 (en) 2010-12-16 2011-12-16 Inferring Geographic Locations for Entities Appearing in Search Queries
US15/056,608 Expired - Fee Related US10437861B1 (en) 2010-12-16 2016-02-29 Inferring geographic locations for entities appearing in search queries
US16/594,813 Active 2032-03-25 US11176181B2 (en) 2010-12-16 2019-10-07 Inferring geographic locations for entities appearing in search queries

Family Applications After (2)

Application Number Title Priority Date Filing Date
US15/056,608 Expired - Fee Related US10437861B1 (en) 2010-12-16 2016-02-29 Inferring geographic locations for entities appearing in search queries
US16/594,813 Active 2032-03-25 US11176181B2 (en) 2010-12-16 2019-10-07 Inferring geographic locations for entities appearing in search queries

Country Status (1)

Country Link
US (3) US20120158712A1 (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120166416A1 (en) * 2010-12-23 2012-06-28 Yahoo! Inc. Method and system to identify geographical locations associated with queries received at a search engine
US20120166428A1 (en) * 2010-12-22 2012-06-28 Yahoo! Inc Method and system for improving quality of web content
US20150006526A1 (en) * 2013-06-28 2015-01-01 Google Inc. Determining Locations of Interest to a User
US9015195B1 (en) * 2013-01-25 2015-04-21 Google Inc. Processing multi-geo intent keywords
US20150169794A1 (en) * 2013-03-14 2015-06-18 Google Inc. Updating location relevant user behavior statistics from classification errors
US9147161B2 (en) 2013-03-14 2015-09-29 Google Inc. Determining geo-locations of users from user activities
US9159030B1 (en) 2013-03-14 2015-10-13 Google Inc. Refining location detection from a query stream
US9298831B1 (en) * 2013-12-13 2016-03-29 Google Inc. Approximating a user location
US20190041230A1 (en) * 2015-04-13 2019-02-07 Google Llc Dynamically Controlling Map Viewport in View of User Signals
US20190075450A1 (en) * 2017-03-10 2019-03-07 Google Llc Attaching Visible Networks for Synchronous Local Search Results
US10409280B2 (en) * 2017-03-21 2019-09-10 Baidu Usa Llc Control dominated planning and control system for autonomous driving vehicles
US10437861B1 (en) * 2010-12-16 2019-10-08 Google Llc Inferring geographic locations for entities appearing in search queries
US10585960B2 (en) 2015-09-28 2020-03-10 Oath Inc. Predicting locations for web pages and related techniques
CN110892397A (en) * 2017-11-17 2020-03-17 谷歌有限责任公司 Location impression application programming interface
US10592514B2 (en) * 2015-09-28 2020-03-17 Oath Inc. Location-sensitive ranking for search and related techniques

Citations (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050234953A1 (en) * 2004-04-15 2005-10-20 Microsoft Corporation Verifying relevance between keywords and Web site contents
US20060271531A1 (en) * 2005-05-27 2006-11-30 O'clair Brian Scoring local search results based on location prominence
US20060271518A1 (en) * 2005-05-27 2006-11-30 Microsoft Corporation Search query dominant location detection
US20070015119A1 (en) * 2005-07-13 2007-01-18 Atenasio Christopher M Identifying locations
US20070112777A1 (en) * 2005-11-08 2007-05-17 Yahoo! Inc. Identification and automatic propagation of geo-location associations to un-located documents
WO2007087629A1 (en) * 2006-01-27 2007-08-02 Google Inc. Geographic coding for location search queries
US20070198495A1 (en) * 2006-01-27 2007-08-23 Buron Florian M Geographic coding for location search queries
US20070239680A1 (en) * 2006-03-30 2007-10-11 Oztekin Bilgehan U Website flavored search
US20080010262A1 (en) * 2006-06-12 2008-01-10 Metacarta, Inc. System and methods for providing statstically interesting geographical information based on queries to a geographic search engine
US20080090591A1 (en) * 1999-10-22 2008-04-17 Miller John M computer-implemented method to perform location-based searching
US20080134088A1 (en) * 2006-12-05 2008-06-05 Palm, Inc. Device for saving results of location based searches
US20080154888A1 (en) * 2006-12-11 2008-06-26 Florian Michel Buron Viewport-Relative Scoring For Location Search Queries
US20080172357A1 (en) * 2007-01-17 2008-07-17 Google Inc. Location in search queries
US20100153552A1 (en) * 1999-05-03 2010-06-17 Parekh Sanjay M Method and system for geo-targeted content delivery
US20100218112A1 (en) * 2009-02-20 2010-08-26 Yahoo! Inc. Tracking web page click information
US20100332499A1 (en) * 2009-06-26 2010-12-30 Iac Search & Media, Inc. Method and system for determining confidence in answer for search
US20110035375A1 (en) * 2009-08-06 2011-02-10 Ron Bekkerman Building user profiles for website personalization
US20110167077A1 (en) * 2010-01-07 2011-07-07 Microsoft Corporation Location aware search page elements
US7987195B1 (en) * 2008-04-08 2011-07-26 Google Inc. Dynamic determination of location-identifying search phrases
US20110231347A1 (en) * 2010-03-16 2011-09-22 Microsoft Corporation Named Entity Recognition in Query
US20110302155A1 (en) * 2010-06-03 2011-12-08 Microsoft Corporation Related links recommendation
US8122042B2 (en) * 2009-06-26 2012-02-21 Iac Search & Media, Inc. Method and system for determining a relevant content identifier for a search
US8200694B1 (en) * 2007-07-23 2012-06-12 Google Inc. Identification of implicitly local queries
US8352455B2 (en) * 2007-06-29 2013-01-08 Allvoices, Inc. Processing a content item with regard to an event and a location
US20130246381A1 (en) * 2008-10-03 2013-09-19 Google Inc. Geo signal search result

Family Cites Families (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6772142B1 (en) * 2000-10-31 2004-08-03 Cornell Research Foundation, Inc. Method and apparatus for collecting and expressing geographically-referenced data
US7895072B1 (en) * 2004-01-30 2011-02-22 Applied Predictive Technologies Methods, system, and articles of manufacture for developing analyzing, and managing initiatives for a business network
EP1839124A4 (en) * 2005-01-18 2009-12-30 Yahoo Inc Matching and ranking of sponsored search listings incorporating web search technology and web content
WO2007002800A2 (en) * 2005-06-28 2007-01-04 Metacarta, Inc. User interface for geographic search
US7933890B2 (en) * 2006-03-31 2011-04-26 Google Inc. Propagating useful information among related web pages, such as web pages of a website
US7647314B2 (en) * 2006-04-28 2010-01-12 Yahoo! Inc. System and method for indexing web content using click-through features
US7783644B1 (en) * 2006-12-13 2010-08-24 Google Inc. Query-independent entity importance in books
US8694374B1 (en) * 2007-03-14 2014-04-08 Google Inc. Detecting click spam
US7801950B2 (en) * 2007-06-01 2010-09-21 Clustrmaps Ltd. System for analyzing and visualizing access statistics for a web site
US7917490B2 (en) * 2007-07-09 2011-03-29 Google Inc. Interpreting local search queries
US9846884B2 (en) * 2007-10-19 2017-12-19 Fair Isaac Corporation Click conversion score
US8510262B2 (en) * 2008-05-21 2013-08-13 Microsoft Corporation Promoting websites based on location
US9646025B2 (en) * 2008-05-27 2017-05-09 Qualcomm Incorporated Method and apparatus for aggregating and presenting data associated with geographic locations
US8352466B2 (en) * 2008-12-22 2013-01-08 Yahoo! Inc. System and method of geo-based prediction in search result selection
US8195653B2 (en) * 2009-01-07 2012-06-05 Microsoft Corporation Relevance improvements for implicit local queries
US8164208B2 (en) 2009-04-15 2012-04-24 General Electric Company Systems involving multi-spool generators and variable speed electrical generators
US20110029398A1 (en) * 2009-07-31 2011-02-03 Wesley John Boudville Geo name service for validated locations and occupants and URLs
US8255390B2 (en) * 2010-03-16 2012-08-28 Yahoo! Inc. Session based click features for recency ranking
US8903837B2 (en) * 2010-04-13 2014-12-02 Yahoo!, Inc. Incorporating geographical locations in a search process
US8572076B2 (en) * 2010-04-22 2013-10-29 Microsoft Corporation Location context mining
US8635205B1 (en) * 2010-06-18 2014-01-21 Google Inc. Displaying local site name information with search results
US20120158712A1 (en) * 2010-12-16 2012-06-21 Sushrut Karanjkar Inferring Geographic Locations for Entities Appearing in Search Queries
US8533187B2 (en) * 2010-12-23 2013-09-10 Google Inc. Augmentation of place ranking using 3D model activity in an area
US8633847B2 (en) 2011-06-28 2014-01-21 International Business Machines Corporation Analog-digital converter

Patent Citations (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100153552A1 (en) * 1999-05-03 2010-06-17 Parekh Sanjay M Method and system for geo-targeted content delivery
US20080090591A1 (en) * 1999-10-22 2008-04-17 Miller John M computer-implemented method to perform location-based searching
US20050234953A1 (en) * 2004-04-15 2005-10-20 Microsoft Corporation Verifying relevance between keywords and Web site contents
US20060271531A1 (en) * 2005-05-27 2006-11-30 O'clair Brian Scoring local search results based on location prominence
US20060271518A1 (en) * 2005-05-27 2006-11-30 Microsoft Corporation Search query dominant location detection
US20070015119A1 (en) * 2005-07-13 2007-01-18 Atenasio Christopher M Identifying locations
US20070112777A1 (en) * 2005-11-08 2007-05-17 Yahoo! Inc. Identification and automatic propagation of geo-location associations to un-located documents
US20070198495A1 (en) * 2006-01-27 2007-08-23 Buron Florian M Geographic coding for location search queries
WO2007087629A1 (en) * 2006-01-27 2007-08-02 Google Inc. Geographic coding for location search queries
US20070239680A1 (en) * 2006-03-30 2007-10-11 Oztekin Bilgehan U Website flavored search
US20080010262A1 (en) * 2006-06-12 2008-01-10 Metacarta, Inc. System and methods for providing statstically interesting geographical information based on queries to a geographic search engine
US20080134088A1 (en) * 2006-12-05 2008-06-05 Palm, Inc. Device for saving results of location based searches
US20080154888A1 (en) * 2006-12-11 2008-06-26 Florian Michel Buron Viewport-Relative Scoring For Location Search Queries
US20080172357A1 (en) * 2007-01-17 2008-07-17 Google Inc. Location in search queries
US8352455B2 (en) * 2007-06-29 2013-01-08 Allvoices, Inc. Processing a content item with regard to an event and a location
US8200694B1 (en) * 2007-07-23 2012-06-12 Google Inc. Identification of implicitly local queries
US7987195B1 (en) * 2008-04-08 2011-07-26 Google Inc. Dynamic determination of location-identifying search phrases
US20130246381A1 (en) * 2008-10-03 2013-09-19 Google Inc. Geo signal search result
US20100218112A1 (en) * 2009-02-20 2010-08-26 Yahoo! Inc. Tracking web page click information
US20100332499A1 (en) * 2009-06-26 2010-12-30 Iac Search & Media, Inc. Method and system for determining confidence in answer for search
US8122042B2 (en) * 2009-06-26 2012-02-21 Iac Search & Media, Inc. Method and system for determining a relevant content identifier for a search
US20110035375A1 (en) * 2009-08-06 2011-02-10 Ron Bekkerman Building user profiles for website personalization
US20110167077A1 (en) * 2010-01-07 2011-07-07 Microsoft Corporation Location aware search page elements
US8560561B2 (en) * 2010-01-07 2013-10-15 Microsoft Corporation Location aware search page elements
US20110231347A1 (en) * 2010-03-16 2011-09-22 Microsoft Corporation Named Entity Recognition in Query
US20110302155A1 (en) * 2010-06-03 2011-12-08 Microsoft Corporation Related links recommendation

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10437861B1 (en) * 2010-12-16 2019-10-08 Google Llc Inferring geographic locations for entities appearing in search queries
US11176181B2 (en) 2010-12-16 2021-11-16 Google Llc Inferring geographic locations for entities appearing in search queries
US20120166428A1 (en) * 2010-12-22 2012-06-28 Yahoo! Inc Method and system for improving quality of web content
US9384289B2 (en) * 2010-12-23 2016-07-05 Excalibur Ip, Llc Method and system to identify geographical locations associated with queries received at a search engine
US20120166416A1 (en) * 2010-12-23 2012-06-28 Yahoo! Inc. Method and system to identify geographical locations associated with queries received at a search engine
US9015195B1 (en) * 2013-01-25 2015-04-21 Google Inc. Processing multi-geo intent keywords
US20150169794A1 (en) * 2013-03-14 2015-06-18 Google Inc. Updating location relevant user behavior statistics from classification errors
US9147161B2 (en) 2013-03-14 2015-09-29 Google Inc. Determining geo-locations of users from user activities
US9159030B1 (en) 2013-03-14 2015-10-13 Google Inc. Refining location detection from a query stream
US20150006526A1 (en) * 2013-06-28 2015-01-01 Google Inc. Determining Locations of Interest to a User
US9298831B1 (en) * 2013-12-13 2016-03-29 Google Inc. Approximating a user location
US9747304B2 (en) 2013-12-13 2017-08-29 Google Inc. Approximating a user location
US20190041230A1 (en) * 2015-04-13 2019-02-07 Google Llc Dynamically Controlling Map Viewport in View of User Signals
US11015950B2 (en) * 2015-04-13 2021-05-25 Google Llc Dynamically controlling map viewport in view of user signals
US10585960B2 (en) 2015-09-28 2020-03-10 Oath Inc. Predicting locations for web pages and related techniques
US10592514B2 (en) * 2015-09-28 2020-03-17 Oath Inc. Location-sensitive ranking for search and related techniques
US10860673B2 (en) * 2017-03-10 2020-12-08 Google Llc Attaching visible networks for synchronous local search results
US20190075450A1 (en) * 2017-03-10 2019-03-07 Google Llc Attaching Visible Networks for Synchronous Local Search Results
US10409280B2 (en) * 2017-03-21 2019-09-10 Baidu Usa Llc Control dominated planning and control system for autonomous driving vehicles
CN110892397A (en) * 2017-11-17 2020-03-17 谷歌有限责任公司 Location impression application programming interface

Also Published As

Publication number Publication date
US10437861B1 (en) 2019-10-08
US11176181B2 (en) 2021-11-16
US20200034378A1 (en) 2020-01-30

Similar Documents

Publication Publication Date Title
US11176181B2 (en) Inferring geographic locations for entities appearing in search queries
US11514035B1 (en) Query refinements using search data
US7792883B2 (en) Viewport-relative scoring for location search queries
US7912837B2 (en) Geographic coding for location search queries
US8600993B1 (en) Determining resource attributes from site address attributes
US9230023B2 (en) Search suggestion and display environment
RU2720905C2 (en) Method and system for expanding search queries in order to rank search results
US8538973B1 (en) Directions-based ranking of places returned by local search queries
CA2640365C (en) Geographic coding for location search queries
US20130226897A1 (en) Minimizing Visibility of Stale Content in Web Searching Including Revising Web Crawl Intervals of Documents
US8832096B1 (en) Query-dependent image similarity
US9152652B2 (en) Sub-query evaluation for image search
CN105117502A (en) Search method based on big data
WO2013173805A1 (en) Systems and methods re-ranking ranked search results
US11789946B2 (en) Answer facts from structured content
US8682892B1 (en) Ranking search results
US20130339380A1 (en) Providing query suggestions
US20140172853A1 (en) Generating and displaying tasks
US20160012091A1 (en) Annotating structured data for search
US20160307000A1 (en) Index-side diacritical canonicalization
US9031929B1 (en) Site quality score
US10061757B2 (en) Systems, methods, and computer-readable media for searching tabular data
US10303684B1 (en) Resource scoring adjustment based on entity selections
US9116996B1 (en) Reverse question answering
US10025830B1 (en) Aggregation of disparate entity lists for local entities

Legal Events

Date Code Title Description
AS Assignment

Owner name: GOOGLE INC., CALIFORNIA

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:KARANJKAR, SUSHRUT;SUBRAMANIAN, VISWANATH;THAKUR, SHASHIDHAR;SIGNING DATES FROM 20111215 TO 20120104;REEL/FRAME:027653/0211

STCB Information on status: application discontinuation

Free format text: ABANDONED -- FAILURE TO RESPOND TO AN OFFICE ACTION

AS Assignment

Owner name: GOOGLE LLC, CALIFORNIA

Free format text: CHANGE OF NAME;ASSIGNOR:GOOGLE INC.;REEL/FRAME:044142/0357

Effective date: 20170929