Google Entity Search aka interesting finds
A research tool to show the entity search engine Google has hidden in plain sight.
how to use
- enter a "entity id" (/m/… or /g/…) or use autocomplete to find an "entity name"
- select any language Google supports
- press "search"
good to know
The entity search result page is only accessible on a mobile device. That is why a simulated smartphone is shown on this page. There you can not click the results. If you want to access the serp on a real mobile phone, use the link right above the iframe.
Not every entity returns a good or even any results. There is no information on how Google selects those results. It looks like it only features articles but then again the order of those results can not be easily explained.
background
Google has a search result feature called "Interesting finds" which features a few results in the onebox and a link to "see full list". There are a few things notable about this.
First of all not all languages can access this feature and not all searches get such an onebox. Second: You might get the impression that this is only a slightly different search result page showing different results but still using a keyword based algorithm.
Upon further inspection you might notice that the "q"-parameter sporting the query isn't really used for the result page and is only used to provide a headline. (If you change another parameter as well. More about this in a second.) To illustrate that it isn't used I decided to always use "valentin.app" as the "q"-parameter which doesn't lead to any changes in the search result but apears on the page as a title.
The real magic is hidden in the "ibp"-parameter. If you look closely you will find that it contains two interesting tidbits. First a section which needs to be changed from "cl_tp:srp" to "cl_tp:ih" (something I found out by accident), as well as section "mid:" and a number.
If you are interested in Googles use of entities you might know that Google builds it's knowledge graph on the old Freebase data. Back then the entities all had an id beginning with "/m/…". Entities which Google then added and still adds to it's knowledge graph begin with "/g/…"
The problem I faced and solved is that instead of e.g. "/m/03bby1" the URL contains an integer. But after some fiddling I found out how to translate it.
It basically works like an url-shortener. There is a dictionary containing numbers andmost but not all letters of the alphabet as well as the underscore character. Knowing this you can then convert one into another just like you might convert a hex-number into a decimal number.
In case you are curious: Feel free to have a look at the javascript code. I did put the code at the very beginning of the file.
feedback welcome
If you like this tool, experience any problems, have ideas for upgrades or just want to say hi, feel free to contact me on Mastodon @VorticonCmdr.
more stuff