The New York Times is adding GeoNames data to their subject headings and making it available as Linked Open Data under a cc-by license.
For ages the NYT has indexed articles with keywords (tags/subject headings) from an extensive vocabulary. Thousands of these keywords have now been mapped to their respective geonameId. This will help for instance enhance the search function with additional information from geonames like lat/lng for a reverse geocoded article search. The vocabulary is available under a cc-by license in various ways and formats. You can download a huge file or you can browse individual entries on the NYT website. As an example the keyword ‘Zurich’ in html or rdf format. The GeoNames data in the rdf format is using the GeoNames ontology. The subject headings can be used by developers to query the NYT api for articles on the topic.
4 thoughts on “New York Times data API with GeoNames”
[…] This post was mentioned on Twitter by Nuno Cardoso, NAVTEQ NN4D. NAVTEQ NN4D said: "New York Times data API with GeoNames" http://bit.ly/8li9Zy […]
Can you give a good example on how to build an Article Search Query using the GeoName?
I have a list of Geonames from your web service and now want to search for articles with that GeoName. Can I just use the GeoNameID as a geo_facet search or do I use the place name and some admin code combo?
Any direction on this would be amazing. Thanks.
To be frank, I am not sure how the api is used. I think you first have to get the geo facet from the tag api and then you can call the article search with this geo facet.
You may try asking in the nytimes forum whether there is a better way:
Cool thank I will look into that. I will let you know how it goes.