Contributing to Wikidata
(and Wikipedia)

John Samuel

XLDB 2017, Royat, 12th October, 2017


Creative Commons License
Wikidata is free, open, linked, structured, collaborative and multilingual

Q-number
https://www.wikidata.org/wiki/Q1765672

P-number
https://www.wikidata.org/wiki/Property:P31
Contributing to Wikidata
QuickStatements
https://tools.wmflabs.org/wikidata-todo/quick_statements.php
https://www.wikidata.org/wiki/Help:QuickStatements
E.g., Q1765672  P31  Q166142
E.g., Q1765672  P856  "http://userbase.kde.org/Akregator"
E.g. (precision: year),

Q1765672  P577  +2016-00-00T00:00:00Z/9
E.g. (precision: month),

Q1765672  P577  +2016-04-00T00:00:00Z/10
E.g. (precision: day),

Q1765672  P577  +2016-04-14T00:00:00Z/11
E.g., Q3669835  P625  @043.26193/010.92708
E.g. (qualifiers),

Q1765672  P348  "16.04.0" P577  +2016-04-14T00:00:00Z/11
E.g.,
Q1765672  Len  "Akregator"
Q1765672  Lfr  "Akregator"
E.g.,
Q1765672  Den  "feed reader"
Q1765672  Dfr  "logiciel informatique"

  • Creating new items
    • CREATE
    • LAST Len "Software Name"
    • LAST Lfr "Nom du logiciel"
    • LAST Den "description"
    • LAST Dfr "description"
    • LAST P31 Q?
2. What to edit?
  1. instance of P31
  2. image P18
  3. logo image P154
  4. GUI toolkit or framework P1414
  5. software version P348
  6. ...
All those numbers!!!
https://www.wikidata.org/wiki/Wikidata:WikiProject_Informatics/Software/Properties
Wikidata Projects
  1. WikiProject Informatics/Software
  2. WikiProject Informatics/Operating System
  3. WikiProject Informatics/Programming Language
  4. ...
3. Wikipedia Infoboxes
KDE Plasma 5 (English, Spanish, Italian, German)
HarvestTemplates
  • HarvestTemplates
    • Import data from Wikipedia Templates (e.g., Infoboxes)
    • Template Name, Property Name, P-Number
Writing bots
Bots using MediaWiki API
Bots using MediaWiki API
Bots using pywikibot
4. Wikipedia or Wikidata?
Integration between Wikipedia infoboxes and Wikidata
https://en.wikipedia.org/wiki/Alhambra
Automated article generation
Akregator is a news aggregator application in KDE. It was developed in QT GUI framework.
Conclusion
  1. Automation and Collaboration
  2. Linguistic Diversity
  • References
    1. Wikidata in Wikipedia, Mike Peel, Wikimania 2016
    2. Wikimedia Commons
    3. MediaWiki API (https://www.mediawiki.org/wiki/API:Main_page)
    4. Article Placeholder (https://www.mediawiki.org/wiki/Extension:ArticlePlaceholder)
    5. Quickstatements (https://tools.wmflabs.org/wikidata-todo/quick_statements.php)
    6. HarvestTemplates (https://tools.wmflabs.org/pltools/harvesttemplates/)
    7. PetScan (http://petscan.wmflabs.org/)
    8. Pywikibot (https://www.mediawiki.org/wiki/Manual:Pywikibot)
  • Acknowledgements
    1. Wikimedia Hackathon 2017
    2. Wikidata community members
Q19279214!
Gracias! Thanks! Merci!