JSON-LD from IMDb to Wikidata

Get data from JSON-LD from IMDb, use QuickStatements to publish it on Wikidata

Από την 06/02/2019. Δείτε την τελευταία έκδοση.

Δημιουργός
Cesar Bernard
Βαθμολογίες
0 0 0
Έκδοση
0.5
Δημιουργήθηκε την
06/02/2019
Ενημερώθηκε την
06/02/2019
Μέγεθος
4 KB
Άδεια
MIT
Εφαρμόζεται σε

This script loads data from IMDb and saves it to Wikidata.

To do so, it loads the JSON-LD of the currently opened IMDb-site, where some simple statements like actor, writer, date published, etc. (and their IMDb-IDs) are stored. From Wikidata the script loads the according Wikidata items with the help of the IMDb-IDs. The statements then are saved with QuickStatements to Wikidata. To work, you need to be logged in QuickStatements.

Todo:
* The properties are currently hard-coded, but because they are standardized Schema.org properties that are also noted in Wikidata, they could also be dynamically loaded from Wikidata.
* Whether the properties require time values or Wikidata items is currently also hard-coded, this data could also be loaded dynamically from Wikidata.