Check out this quick way to extract places from the news and put them on a map.
Locations mentioned in the news regarding Natalie Portman:
Locations mentioned in the news regarding Global Warming:
Locations mentioned in the news regarding Weapons of Mass Destruction:
This can be done in an extremely easy way, on ANY collection of words – using this query:
http://api.headup.com/v1?raw=true&q=Wikileaks/yahooboss:allabstractstext/x:entity/aspage(“map”)
If we break the query apart, here’s what we get:
- ANY_COLLECTION_OF_WORDS_YOU_LIKE/yahooboss:allabstractstext – brings text of abstracts from Yahoo! BOSS for the collection of words.
- /x:entity – Extracts the entities from this text, using SemantiNet’s entity extraction engine.
- /aspage(‘map’) – renders entities on a map. This is done by trying to reason what is the location of each entity – and put them as markers on a simple Google Map.
We’ve quickly devised another template, to see the text right by the map, for easy playing around:
As can be seen – the extracted entities from the news are sometimes only remotely related to the topic itself. Still, it’s quite fun for playing around


