Page MenuHomePhabricator

Default query examples for Wikibase-specific WDQS
Open, MediumPublic

Description

e.g.

  • number of triples
  • latest revision
  • number of items
  • number of properties
  • example of a query federated with Wikidata

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

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.

Vvjjkkii renamed this task from Default query examples for Wikibase-specific WDQS to sceaaaaaaa.Jul 1 2018, 1:14 AM
Vvjjkkii removed RazShuty as the assignee of this task.
Vvjjkkii triaged this task as High priority.
Vvjjkkii updated the task description. (Show Details)
Vvjjkkii edited subscribers, added: RazShuty; removed: Aklapper.
Lofhi renamed this task from sceaaaaaaa to Default query examples for Wikibase-specific WDQS.Jul 1 2018, 7:00 AM
Lofhi assigned this task to RazShuty.
Lofhi raised the priority of this task from High to Needs Triage.
Lofhi updated the task description. (Show Details)
Lofhi edited subscribers, added: Aklapper; removed: RazShuty.
Addshore added a subscriber: RazShuty.
Gehel triaged this task as Medium priority.Sep 15 2020, 7:57 AM

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.

  1. Include custom-config.json with parameters taken from .env to the volume for wdqs-frontend. The custom-config.json specifies also the path to a page with SPARQL examples.
wdqs-frontend:
  image: "${WDQS_FRONTEND_IMAGE_NAME}"
  restart: unless-stopped
  volumes:
    - ./custom-config.json:/templates/custom-config.json
  1. By default the empty Wikibase creates only the main page. It has to add two more pages: SPARQL examples and a template SPARQL.

As 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 :)