Open main menu

TweetsFactsAndQueries

Joined 13 May 2016
Babel user information
de-N Dieser Benutzer spricht Deutsch als Muttersprache.
en-3 This user has advanced knowledge of English.
Wikidata heart logo.svgThis user loves Wikidata.
Users by language

This is the Wikimedia account associated with the Twitter identity @WikidataFacts (also on Mastodon as @WikidataFacts@mastodon.social), a private project by WMDE employee User:Lucas Werkmeister (WMDE) (not an official account of Wikidata).

ResourcesEdit

SPARQLEdit

  • A Guide To WDQS: A long-form introduction to WDQS. You can start with no knowledge about Wikidata or SPARQL at all and hopefully emerge knowing how to use WDQS for awesome queries. Note that it is perhaps somewhat verbose, and certainly not intended to be useful as a quick reference.
  • Problems: I maintain a list of some SPARQL queries I wrote that can help you to find problems in Wikidata. Some of the problems could be fixed fully automatically, others need manual review.
  • wdqs.sty: A LaTeX package that emulates the Wikidata Query Service’s syntax highlighting (font + colors). Could be useful for presentations.

PAWSEdit

PAWS is an awesome service on Wikimedia Labs that lets you easily write and run Wikipedia or Wikidata bots in Python. I used it for several tasks.

  • PAWS Cheat Sheet: A cheat sheet with boilerplate code, useful snippets and the most important Jupyter keyboard shortcuts.
  • Darwinís Fox: Many taxon common name (P1843) statements had some encoding errors, which I fixed.
  • Esperanto family labels: This one isn’t finished, and I’m not sure if I’ll get around to fix it eventually.
  • Latest Population: Many German cities had lots of timestamped population (P1082) statements with normal rank; I set the latest one to preferred rank (under certain conditions).
  • Embedding WDQS: This importable notebook allows you to embed WDQS result views in your notebook.
  • Replace qualifiers: This importable notebook lets you replace the property of qualifiers of certain statements (by adding a new qualifier with the correct property ID and then removing the old qualifier).

User scriptsEdit

  • reduced.js: Offers a reduced view better suited for screenshots with ?reduced in the page URL.

OtherEdit

  • URL encoding: One-liner I use to URL-encode the clipboard when Firefox doesn’t do it for me.