Page MenuHomePhabricator

Use dumps
Closed, ResolvedPublic13 Estimated Story Points

Description

QLever having shown its limits for the sizes of requests we need to perform, we must use Wikidata dumps instead. The most efficient way looks to be the "truthy" N-Triples dumps (.nt files).

Resources:

Related Objects

StatusSubtypeAssignedTask
ResolvedDanya
ResolvedFeatureDanya
ResolvedDanya
ResolvedDanya
ResolvedDanya

Event Timeline

Danya set the point value for this task to 5.May 1 2026, 10:45 AM

Wikidata Toolkit may be useful here. This is what Humaniki was using.

Danya triaged this task as High priority.May 13 2026, 7:08 PM
Danya moved this task from Backlog to [deleted] on the Tool-wiki-gender-stats board.
Danya renamed this task from Use dumps? to Use dumps.May 13 2026, 7:11 PM
Danya updated the task description. (Show Details)
Danya changed the point value for this task from 5 to 6.
Danya changed the point value for this task from 6 to 13.May 14 2026, 8:45 AM

In the end I used the JSON dumps as their structure is stable and easier to parse.

Implemented in T422343 but needs to be tested in prod.

Great news, Wikidata entities dumps can be accessed directly from toolforge at /public/dumps/public/wikidatawiki/entities/, no download needed.

Danya moved this task from Doing to Done on the Tool-wiki-gender-stats board.