Page MenuHomePhabricator

[Request] Make an updated anonymized Wikidata query logs public
Open, Needs TriagePublic

Description

We sometimes receive requests for publishing a refreshed anonymized Wikidata Query log dataset anonymized recent query logs (similar to what was done in 2018
(https://iccl.inf.tu-dresden.de/web/Wikidata_SPARQL_Logs/en).

Peter Patel-Schneider helped putting the following case forward in 2026:
Having newer anonymized queries will support better research into Wikidata, such as the use
of the previous logs to create benchmarks (including
https://aidanhogan.com/docs/wdbench_sparql_benchmark_wikidata.pdf) and
question-answer pairs (https://arxiv.org/pdf/2602.14594) that have been done
with the old benchmarks.

Newer anonymized logs will also allow independent performance analysis of
replacments for Blazegraph in the Wikidata Query Service and validate technical decision related to Wikidata Query Service.

The code that was used to anonymize the query logs is available at
https://github.com/Wikidata/QueryAnalysis/ and has been updated to current
versions of languages, etc.
(https://github.com/lindsayerickson/QueryAnalysis/). If permitted, Peter is
willing to actually do the anonymization, including making changes to the anonymization code as needed.

Event Timeline

In the Research team we do not have capacity to support this request at this time as it is a request that will rely on resources on multiple teams' fronts. However, I have captured the request here because this is the type of request that recurs and it can act as a case for considering future data releases.

One question that comes up is whether some change to Wikidata will break software that accesses Wikidata using SPARQL queries. If more information was known about these usages, it would be easier to improve Wikidata.

For example, proteins and genes are modeled in Wikidata in an unusual manner that makes working with them harder than it should be. But improving this modeling might break software that accesses information about proteins and genes.