Wikidata is an open knowledge base that collects facts (statements) on pieces of knowledge (items). It is run by the Wikimedia Foundation, developed by a team led by Wikimedia Deutschland, and tended and cared for by a global community of volunteers. Unlike Wikipedia, that contains knowledge collected by volunteers written in free form, it is machine-readable and pieces of knowledge and can be queried in relation to each other.
Dozens of application already use the knowledge base. One particularly cool way to access knowledge in Wikidata is through queries in the SPARQL query language. Just a little knowledge of SPARQL goes a long way to query for facts and relationships – thus opening new horizons and rearranging knowledge in a totally new way.
With SPARQL, the possibilities are virtually endless. Follow along for 10 cool queries:
#1 The best cocktail recipes according to Wikidata
No longer sure about the ingredients for your Mojito on a hard day’s night? Wikidata to the rescue! There’s even a picture to go with the list of ingredients. This query is especially impressive as it magically generates a recipe in English. It was conjured up by a Wikidata volunteer known on Twitter as WikidataFacts.
#2 The Internet loves cats. So does Wikidata.
Cats are kind of a big deal on the Internet. But what famous and well-known cats are there in the world? Find out with just one click on Wikidata. We are definitely fans of Humphrey and Larry, both of them bearing the very British title of Chief Mouser to the Cabinet Office.
#3 German settlements ending with „-ow“ or „-itz“
Where are German towns, villages, and cities located ending in „-ow“ or „-itz“? Geography and cultural science buffs may know the answer, but Wikidata will show it to you on a map: It’s basically East Germany with with a few notable exceptions in the North (Olpenitz near Kappeln) and South (Flanitz, a part of Frauenau).
#4 The world’s most common surnames
#5 Things named after French presidents
Many countries have the custom of naming institutions and buildings after former public officials – France is no exception to that rule. Did you ever want to know what kind of things has been named after former French presidents?
#6 Awesomely assorted alliterations…
#7 Horses are dangerous. Especially if you happen to be of noble birth and fall down.
#8 Average gestation period of genera, color-coded by order
#9 The data are alive with the sound of music. But which key is used most often?
#10 Wikidata isn’t only fun and games, but can also be an inspiration for new Wikipedia articles.
Many of the queries we showed may be curious, funny or surprising and yet you may say „What’s in it for me?“ If you’re a hardcore Wikipedian who has run out of ideas for new articles, just ask Wikidata for missing articles. One example: Which women born in Suriname are lacking an article in English Wikipedia? Wikidata will tell you!
Where to go from here?
There is much more to discover regarding SPARQL. Wikidata has extensive documentation on the topic. If you want, you can turn to the community to request a query. And every Sunday there’s the #SundayQuery hashtag on Twitter for all your SPARQL questions.Allgemein, Technisches. Sie können diesen Beitrag mit RSS 2.0 Feed abonnieren. Sowohl Kommentare als auch Pings sind derzeit geschlossen.