Re: [Wikidata-l] Finding image URL from Commons image name

2014-07-03 Thread Markus Krötzsch
Brilliant, thanks for the useful and informative answers :-) Markus On 03/07/14 07:21, Legoktm wrote: And there's an API module for this too: https://commons.wikimedia.org/w/api.php?action=querytitles=File:Albert%20Einstein%20Head.jpgprop=imageinfoiiprop=urlformat=jsonfm :) -- Legoktm On

Re: [Wikidata-l] WikiData Categories

2014-07-03 Thread Gerard Meijssen
Hoi, I do not get it.. Wikidata has items not categories, so you get access to the item for a category in the same way as you get access to any other item. Thanks, GerardM On 3 July 2014 11:03, Rohan Badlani rohan.badl...@gmail.com wrote: Hi! I am new to WikiData. I wanted to know how

Re: [Wikidata-l] WikiData Categories

2014-07-03 Thread Magnus Manske
Hi Rohan, if by category you mean item, e.g. https://www.wikidata.org/wiki/Q537 the easiest way to get the corresponding JSON is: https://wikidata.org/entity/Q537.json If you want a JSON object for all items with property P537, try: http://wdq.wmflabs.org/api?q=claim[537] See here for many

Re: [Wikidata-l] WikiData Categories

2014-07-03 Thread Rohan Badlani
Thanks for an early response. @Magnus: I was able to get the json of the items. Still thanks. However, my exact problem is the following. I had downloaded the wikidata dump from http://dumps.wikimedia.org/wikidatawiki/latest/ There is a file wikidatawiki-20140420-pages-articles-multistream-index