Babel user information
de-N Dieser Benutzer spricht Deutsch als Muttersprache.
en-4 This user has near native speaker knowledge of English.
This 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).

Resources edit

SPARQL edit

  • 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.
  • Queries: An incomplete list of some of the queries I’ve written, in reusable form (see {{Query page}} for details on how to use them elsewhere).
  • Problems: An older list of some queries I’ve written that can help you to find problems in Wikidata. Some of the problems could be fixed fully automatically, others need manual review. I should probably move these to the Queries page at some point.
  • wdqs.sty: A LaTeX package that emulates the Wikidata Query Service’s syntax highlighting (font + colors). Could be useful for presentations.

PAWS edit

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 scripts edit

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

Live querying edit

I sometimes do live streams where I write queries and explore Wikidata. Starting 2020-04-05, notes are taken on Etherpad.

Other edit

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