As part of the migration away from Blazegraph, we adopting the SPARQL 1.1 standard and no longer supporting Blazegraph-specific syntax. Subsequently, the Query Builder tool needs to be updated to adopt the same standard. Specifically the code generating the SPARQL query from the user input needs to be updated to generate queries that are compatible with the new backend.
Description
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Open | None | T421428 [NEEDS GROOMING] Update Query Builder to comply with SPARQL 1.1 | |||
| Open | None | T425777 [BLMI][QB] Potential QOL Tasks | |||
| Open | None | T332624 [QB] LibraryUpgrade fails for Query Builder due to missing Cypress dependency: Xvfb | |||
| Open | None | T330168 [QB] [TECH] Add documentation on where 'branch-deploy' script is used | |||
| Open | None | T330160 [QB] [TECH] Local development server doesn't adhere to port configuration in `.env` | |||
| Open | None | T346609 [QB] [TECH] Ensure deployments to Query Builder succeed even after a Dependabot update | |||
| Open | None | T356659 [QB][SW] Remove references of broken tool from Mismatch Finder and Query Builder | |||
| Open | None | T288984 [QB] Enable post-merge build job for query builder | |||
| Open | None | T360773 [QB] Migrate from CommonJs to ECMAScript modules (ESM) | |||
| Open | None | T399867 [QB] Clean-up redundant gerrit links and gerrit-specific scripts |
Event Timeline
Which Blazegraph-specific syntax does the query builder use? I tried out an example query and the result is standard SPARQL syntax AFAICT. (It uses the label service, which is a custom feature, but syntactically that’s just a ServiceGraphPattern like for federated queries.)
AFAIK the Query Builder uses sparqljs to build the query, which only supports standard syntax. (It’s also apparently deprecated now, but that’s beside the point here ^^)
That's good to know. Thanks! Then maybe this is considerably less work than I feared.
And I guess the label service will depend on what happens to that in general.
And I guess the label service will depend on what happens to that in general.
Label service queries can be rewritten to standard SPARQL 1.1. We have some tooling that can help automate that rewrite. It would be great if we could deprecate all internal use of wikibase:label in internal queries by the time we start migrating in July.
cc / @AWesterinen-WMF