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 :
- default: https://lingualibre.org/bigdata/namespace/wdq/sparql
- wikidata: https://query.wikidata.org/bigdata/namespace/wdq/sparql
- commons: https://commons-query.wikimedia.org/bigdata/namespace/wdq/sparql (???)
On the model of `#defaultView:Map`, `#defaultView:Table` used in WDQS. ( [[ https://w.wiki/4ivL | example ]])
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.
- Likely page to edit [[ https://github.com/lingua-libre/QueryViz/blob/master/modules/ext.queryViz.QueryViz.js | ext.queryViz.QueryViz.js ]]
- [[ https://github.com/lingua-libre/QueryViz/blob/master/modules/ext.queryViz.QueryViz.js#L2 | this]] and [[ https://github.com/lingua-libre/QueryViz/blob/master/modules/ext.queryViz.QueryViz.js#L202-L206 | that ]]
- refers to [[ https://github.com/lingua-libre/operations/blob/master/mediawiki-config/LocalSettings.php | operations/mediawiki-config/LocalSettings.php ]]'s variable `QueryVizEndpoint` .
- [[ https://github.com/lingua-libre/QueryViz/issues/4 | Github issue 4 ]]