e.g.
- number of triples
- latest revision
- number of items
- number of properties
- example of a query federated with Wikidata
e.g.
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Open | None | T192907 Default query examples for Wikibase-specific WDQS | |||
| Declined | None | T192914 Define set of example federated queries that can be run from a fresh Wikibase WDQS on the Wikibase registry WDQS | |||
| Open | None | T179262 wikibase docker container wdqs-frontend The example button leads to the examples from Wikidata | |||
| Resolved | Michael | T179263 Make the URL in wdqs-gui for fetching examples configurable | |||
| Resolved | Lucas_Werkmeister_WMDE | T174298 Figure out a way for WDQS example parsing not rely on parsoid | |||
| Resolved | • roti_WMDE | T382811 How to create custom SPARQL example page |
A good candidate query for a fresh Wikibase instance could also be to query the Wikibase registry for other instances of Wikibase.
Find all other (registered) Wikibase instances that have information for "exact match" to something specific.
This partially relates to T179262 as the examples need to be configurable in order to be able to show other examples.
I support strongly this issue. It will also push other WDQS-frontend related issues.
It needs at least two things. That's how I do it in my Wikibase instance.
wdqs-frontend:
image: "${WDQS_FRONTEND_IMAGE_NAME}"
restart: unless-stopped
volumes:
- ./custom-config.json:/templates/custom-config.jsonAs soon as this will be a default configuration, the related issues T179262 and T192914 will be resolved as well. Probably it would provide a basis to resolve T296917.
Moving to Wikibase Suite backlog. Please also consider https://phabricator.wikimedia.org/T296917 when addressing this, and resolve as well if it seems within scope at that time.
Moving to Wikibase Suite backlog.
Alright, moving it to #wmde-wikidata-tech’s radar then :)
As discussed in internal MatterMost conversation, there are basically two ways forward for making the examples configuration. Either we document the workaround of volume mapping and tracking the custom-config.json in the image, or we provide a mechanism to override the example related configuration in that file through container config. To set this through container configuration we could use either env vars, or preferable if possible, an optional custom config file which would merge and override the one provided in the container.
This sounds very far away from the original intention of this ticket
The idea of this ticket is / was
As a user, that installs the query service UI against a wikibase instance and query service,
there are some default example queries that make sense for all wikibases
For example
e.g.
number of triples
latest revision
number of items
number of properties
example of a query federated with Wikidata
There are of course a bunch of other linked tickets in this ticket, but documenting a config workaround, or allowing changing configuration (which can already be done) don't seem to be tackling this ticket.