Re: [Wikidata] Wikidata API for fetching images related to a Linked Data Item

2015-08-14 Thread Federico Leva (Nemo)
Sachini Herath, 14/08/2015 11:31: However I could not find a way to reconstruct the url of image property for an item, so that I can fetch the image Images are on Commons: you can do https://commons.wikimedia.org/wiki/Special:Redirect/file/Example.jpg or https://commons.wikimedia.org/wiki/Spe

Re: [Wikidata] Wikidata API for fetching images related to a Linked Data Item

2015-08-14 Thread Lydia Pintscher
On Fri, Aug 14, 2015 at 11:31 AM, Sachini Herath wrote: > Hi everyone, > > I’m Sachini Herath, an undergraduate from Sri Lanka. I am working on > building Linked Data mapping tools for Drupal 8 as my Google Summer of Code > 2015 project. The tools would enable the users to map Drupal entities to >

Re: [Wikidata] Wikidata API for fetching images related to a Linked Data Item

2015-08-14 Thread Ricordisamoa
Wikibase is hardcoded to use Wikimedia Commons as file repository (T90492 ). The imageinfo API can be used to get URLs for displaying. See also T76827

Re: [Wikidata] Wikidata API for fetching images related to a Linked Data Item

2015-08-14 Thread Magnus Manske
Once you have the file name, you can construct the file URL (description page, high-res image, and thumbnails) via this API: https://commons.wikimedia.org/w/api.php?action=help&modules=query%2Bimageinfo Example: https://commons.wikimedia.org/w/api.php?action=query&titles=File:Albert%20Einstein%20

[Wikidata] Wikidata API for fetching images related to a Linked Data Item

2015-08-14 Thread Sachini Herath
Hi everyone, I’m Sachini Herath, an undergraduate from Sri Lanka. I am working on building Linked Data mapping tools for Drupal 8 as my Google Summer of Code 2015 project. The tools would enable the users to map Drupal entities to Linked Data items. Details of the project can be found in my blog.