Freebase Tools and Tricks
GreaseMonkey

Firefox

Freebase

Piclens

Disclaimer: GreaseMonkey scripts are rather fragile and they tend to break when the Freebase website is updated. Works in Firefox 2.0.0.14 and 3.x (last time I checked). Feel free to send me any fixes or improvements.

arthur.van.hoff@gmail.com
/user/avh


Freebase RSS Feed

This is a handy service which you can use to generate a Media RSS and/or Geo RSS feed for any Freebase query. Try it out here.

The base URL is http://www.artfahrt.com/python/freebase/query.rss?query=<yourquery>.
It is running on my home server, so be gentle.


Freebase Filter Links

Install this GreaseMonkey script to add 3 quick links to your Freebase filter view, it makes use of the Freebase RSS Feed described above. The icon links to the RSS feed for the current filter, the icon links to a Google map view, the icon links to a PicLens view of the current query.

Load fb_filter_links.user.js. You may have to enable popups for this to work on the Freebase filter view page.

For example, try all US States or Soccer Players.
Note that once you are in the PicLens view, you can select an item and click on the link icon at the bottom right of the description in order to visit the entry on Freebase.


Direct PicLens Links

Here is an example of how to launch PicLens directly from a Freebase Query embedded in the HTML.
<script type="text/javascript" src="http://lite.piclens.com/current/piclens_optimized.js"></script>
<script type="text/javascript">
function ShowPicLensQuery(query)
{
    var feed = "http://www.artfahrt.com/python/freebase/query.rss?query=" + escape(query) + "&defaultimg=no";
    if (PicLensLite.hasClient()) {
        PicLensLite.start({"feedUrl":feed});
    } else {
        alert("Please install PicLens first!");
        window.open("http://www.piclens.com", "_new");
    }
}
</script>
<a href="javascript://females"
   onclick="ShowPicLensQuery(this.title);"
   title='[{"type":"/people/person", "gender": "Female"}]'>Female Persons</a>

Examples: Female Persons, Male Persons, People with no Gender, Freebase Users,
Music Albums, Stones Albums, Beatles Albums,
Podcasts, Internet Radio, Spielberg Films Countries


Freebase Tools

Tired of switching between sandbox and production, or http and https? Install this GreaseMonkey script and two handy quick links are added to your Freebase page. It also adds to the topic title for doing quick Google searches.

Load fb_tools.user.js