We need further investigate and document paths forward to migrate ad-hoc services.
In particular wikibase:label and wikibase:mwapi services as they impacts 50-60% of daily traffic on the main instance.
This scope of this task is not providing a prod implementation, but running some PoCs at most.
What we would like to learn is (create sub-tasks as required):
- How extensible is Virtuoso? Is there an equivalent API to Blazegraph's AbstractQueryFactory?
- How extensible is Qlever? (possible starting point)
- What options do we have for rewriting label and mwapi using standard SPARQL1.1? mwapi would possibly require adding triples to the graph. See thread in Support SERVICE wikibase:label in QLever? #1829
- Should we consider moving and host wikibase:label logic into an ad-hoc lookup microservice?
- Impact analysis: update reporting on how many queries use mwapi and label? (Superset query as starting point - distinct query count might be more helpful)