The Signpost

File:CRAIYON-REALESRGAN-Editing Wikipedia.jpg
Craiyon
PD
0
0
300
In focus

Wikidata insights from a handy little tool

Contribute   —  
Share this
By PAC2
A pen on a sheet of paper.

Wikidata is a knowledge base associated with Wikipedia. Querying Wikidata to get insights is a very hard job. Fortunately, the Item documentation template can help querying Wikidata in one click using generic queries. The template is now automatically displayed in the header of each item's talk page.

Let's take an example. Imagine I want to complete an article about a small French town like Épinal. From the Wikipedia article, I can get to the Wikidata item Épinal (Q173695) using the menu. Then I can switch to the talk page Talk:Q173695. In the header of the talk page, I should see the item's documentation.

In the first section, I can find a link to a magic query which returns "All claims about Épinal" (try it, and don't forget to press the blue 'play' button). This provides an overview of all I can find about Épinal in Wikidata. For instance I get the list of items located in the administrative territorial entity Épinal, the list of people whose place of birth is Épinal, and the list of people whose place of death is Épinal.

In the first part of the template, I find a link to the query "All claims about Épinal"

Let's go further to the "Generic queries for administrative territorial entities" section. This section provides generic SPARQL queries for administrative territorial entities such as towns, regions, countries, and districts. It is generated using Template:TP administrative area. Clicking on "Places in Épinal", I can find a full list of items located in Épinal (see here).

In this part, I find many queries based on geography. For instance, the map of places or the list of organizations with their headquarters in Épinal.

Further down in the page, I find the list of "People born in Épinal, sorted by number of sitelinks" (see here). The number of sitelinks is the number of pages in the different wikipedias. This can be very useful to complete the "Notable people" section of the article.

Here we find queries related to people born in Épinal, dead in Épinal, living in Épinal or buried in Épinal.

Of course, Wikidata's data is not perfect. We should complete insights from Wikidata with reliable sources. But the Item documentation template makes it easier to get insights from Wikidata in order to complete Wikipedia articles. Any feedback about the template is welcome on the template's talk page.

S
In this issue
+ Add a comment

Discuss this story

These comments are automatically transcluded from this article's talk page. To follow comments, add the page to your watchlist. If your comment has not appeared here, you can try purging the cache.



       

The Signpost · written by many · served by Sinepost V0.9 · 🄯 CC-BY-SA 4.0