Open tfrancart opened 1 year ago
The parsing of the resultView:xxxx
wikibase query hint is done here : https://github.com/wikimedia/wikidata-query-gui/blob/610c78949d4e1f71ff0ef2fa310cd384de27fd2d/wikibase/queryService/ui/ResultView.js#L490
ResultView.js could be a good entry point
The code is here: https://github.com/wikimedia/wikidata-query-gui/tree/master/wikibase/queryService/ui/resultBrowser
https://github.com/wikimedia/wikidata-query-gui shows an example of how it can be called:
Would be good to find how the different views are triggered based on the SPARQL hint
Looks like it s based on JQuery.
The thing compiles nicely, generates a wdqs.js file, coulb be imported in the HTML page.