Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get images from Wikidata/Wikipedia #23

Closed
fsteeg opened this issue Aug 25, 2017 · 3 comments
Closed

Get images from Wikidata/Wikipedia #23

fsteeg opened this issue Aug 25, 2017 · 3 comments
Assignees

Comments

@fsteeg
Copy link
Member

fsteeg commented Aug 25, 2017

Suggested by @jschnasse, e.g. for http://test.lobid.org/authorities/118540238

@acka47
Copy link
Contributor

acka47 commented Aug 25, 2017

There are different options to implement this.

  1. The easiest one is to query the MediaWiki API like described in https://stackoverflow.com/questions/37181391/how-to-get-the-default-image-of-wikipedia-article
  2. Another option is to add wikidata links to the GND data. This has the advantage that we can also add links to wikidata based on wikidata itself. (Wikidata has >500k items with GND ID while GND has only 425k links to Wikipedia.)

BTW, of the 500k items in wikidata with a GND ID, currently ~190k have an image, see http://tinyurl.com/yazatkdb.

@fsteeg fsteeg self-assigned this Mar 16, 2018
@fsteeg fsteeg added the ready label Mar 16, 2018
@acka47
Copy link
Contributor

acka47 commented Mar 22, 2018

We can get the links directly from entityfacts (on-the-fly for the beginning), see #44.

@fsteeg
Copy link
Member Author

fsteeg commented Apr 10, 2018

This is part of #44, closing.

@fsteeg fsteeg closed this as completed Apr 10, 2018
@fsteeg fsteeg removed the ready label Apr 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants