Jump to content

A way to query pageviews data via sparql to display them in Wikidata tables (Community Wishlist/W426)

Done
From Meta, a Wikimedia project coordination wiki

View all wishes.

Description

There doesn't seem to be a way to query page views data via SPARQL.

If this was implemented, ultimately there could maybe be more lists looking like the Wikipedia Android App's Top Read (see those neat embedded smooth modern minicharts for the article pageviews)

For example, it would be useful to see and sort or filter by pageviews in this query for items with articles in more than x Wikipedias but not English Wikipedia (useful for translating articles to close important gaps).

Another example is having a column about number of subreddit subscribers and for the number of pageviews the last x days (even better would be having a small graphic next to it showing the chart like in the Wikipedia app) in this list: d:Wikidata:List of Linux distributions (take a look at this table first).

Then one could sort by them and it's generally interesting. Here is a pretty popular website showing distros by clicks on that website so I think it would be really useful to have an alternative to it with other and actually more data: https://distrowatch.com/dwres.php?resource=popularity. One could also create an automatically updated list of for example long-standing articles with the largest change of pageviews in the last x days or the most read articles of the month etc or related kinds of sorting and lists to for example highlight hot articles in a category somewhere etc.

Wikidata tables like the example linked above are created and updated regularly via the ListeriaBot. There could also other applications of course if this is queryable via sparql such as various kinds of research.

Previously asked about this here where you can find some links about pageviews data in general.

Assigned focus area

Unassigned

Type of wish
Feature request
Tags
Affected users

unknown

Other details
Voting

This wish currently has 1 supporter. Supporting this wish is currently disabled.

Supporters of this wish
Support Prototyperspective (talk) 17:48, 24 September 2025