Page MenuHomePhabricator

QueryViz: support default endpoint switch
Closed, ResolvedPublic2 Estimated Story Points

Description

Estimate : <2 hour work. JS.

Idea : QueryViz plugin which currently hits by default on LinguaLibre Query Service (LLQS) could have a switch to hit on other QS such as Wikidata Query Service (WDQS) and its lexemes or others.

Values :

  • lili (default): https://lingualibre.org/bigdata/namespace/wdq/sparql?query={SPARQL} with xhr js POST
  • wikidata: https://query.wikidata.org/sparql?query={SPARQL} with xhr js GET
  • commons: https://commons-query.wikimedia.org/sparql?query={SPARQL} with xhr js GET
  • dictionaire des francophone: https://www.dictionnairedesfrancophones.org/sparql T286049

On the model of #defaultView:Map, #defaultView:Table used in WDQS. ( on the top of this query)
Add the recognition of #defaultEndpoint:Wikidata which would shift the whole to service Wikidata.
This would allow to view wikidata or other endpoint's data in QueryViz.

See PR5
See also: T313343

Event Timeline

Yug updated the task description. (Show Details)
Yug updated the task description. (Show Details)
Yug updated the task description. (Show Details)
Yug triaged this task as Low priority.Jul 6 2022, 12:51 PM
Yug updated the task description. (Show Details)
Yug added a project: good first task.

PR on github. https://github.com/lingua-libre/QueryViz/pull/5 . Awaits review, approval, deployment.

Yug raised the priority of this task from Low to Unbreak Now!.Jul 6 2022, 3:29 PM
tstarling lowered the priority of this task from Unbreak Now! to High.Jul 15 2022, 6:14 AM
tstarling added a subscriber: tstarling.

I don't think this is "unbreak now". See https://www.mediawiki.org/wiki/Phabricator/Project_management#Priority_levels for information about setting task priority.

Yug renamed this task from QueryViz to support default endpoint switch to QueryViz: support default endpoint switch.Tue, Jul 19, 5:38 PM
Yug updated the task description. (Show Details)
Yug set the point value for this task to 2.Thu, Jul 21, 6:22 PM