As a Wikidata editor, I want the query service to reflect the current data in Wikidata. When a formatter URI for RDF resource has been defined, I want it to be consistently applied in the query service, to make it easy to query linked data.
Problem:
When a formatter URI for RDF resource statement is added or edited on an external ID property, the RDF output of all items using that property changes (see Normalized External ID), but the change is not visible in the query service until each affected item is edited, because only then will the query service updater process those items and see the changed value.
Example:
A formatter URI was recently added to TAXREF ID (P3186), but the number of wdtn:P3186 triples is significantly lower than the number of wdt:P3186 triples (user report):
SELECT ?wdtn ?wdt (CONCAT(SUBSTR(STR(100*?wdtn/?wdt), 1, 5), "%") AS ?percent) WITH { SELECT (COUNT(*) AS ?wdtn) WHERE { [] wdtn:P3186 []. } } AS %wdtn WITH { SELECT (COUNT(*) AS ?wdt) WHERE { [] wdt:P3186 []. } } AS %wdt WHERE { INCLUDE %wdtn. INCLUDE %wdt. }
| wdtn | wdt | percent |
|---|---|---|
| 45744 | 179235 | 25.52% |
Screenshots/mockups:
BDD
GIVEN
AND
WHEN
AND
THEN
AND
Acceptance criteria:
Open questions: