Page MenuHomePhabricator

[BLZMI] SPIKE - Identify which query templates on wbqc need to be updated query-next.wikidata.org
Open, Needs TriagePublic

Description

Before it goes live, we need to verify that wbqc can work with the new qlever endpoint while still supporting the blazegraph endpoint. This means reviewing the query templates and identifying which need work.

Templates: the templates in the sparqlhelper (~3)

A/C

  • Update any queries which need to be updated, or collect a list of these
  • The test in tests/phpunit/Helper/SparqlHelperTest.php are updated for QLever
  • Hardcoded queries which are not valid for QLever are updated
  • Templates which create queries are updated to work with QLever
  • All tests pass with the QLever endpoints
  • Create rollout plan (backwards compatible, feature flag?)

(!) Code should not go live. This will happen in T433710: [BLZMI] Set wbqc live on query-next.wikidata.org

Notes:

Timebox: 8h

Event Timeline

karapayneWMDE renamed this task from [BLZMI] SPIKE - Will wbqc work on query-next.wikidata.org to [BLZMI] SPIKE - Identify which query templates on wbqc need to be updated query-next.wikidata.org.Aug 4 2026, 9:05 AM
karapayneWMDE updated the task description. (Show Details)

Change #1328157 had a related patch set uploaded (by Hasan Akgün (WMDE); author: Hasan Akgün (WMDE)):

[mediawiki/extensions/WikibaseQualityConstraints@master] Update Blazegraph specific queries to work with QLever

https://gerrit.wikimedia.org/r/1328157

Change #1328157 merged by jenkins-bot:

[mediawiki/extensions/WikibaseQualityConstraints@master] Update Blazegraph specific queries to work with QLever

https://gerrit.wikimedia.org/r/1328157