Page MenuHomePhabricator

[Feature Request]: Ability to download wdqs UI visualizations with a single web request
Open, LowestPublic

Description

As a query service user that has a query I would like to make a single web request that would provide me with an image displaying the query service visualization.

Taken from https://stackoverflow.com/questions/46355564/how-to-use-a-wikidata-sparql-query-and-get-the-url-to-svg-image-of-chart

Event Timeline

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

I concur with the commenters on StackOverflow – this is almost impossible. All visualizations are generated client-side, so this would require a server-side rendering component, whereas currently the WDQS UI is served as a static website.

Smalyshev triaged this task as Lowest priority.Nov 13 2018, 8:22 PM
Smalyshev subscribed.

Hmm yes this looks like we'd need to duplicate the client-side SVG rendering on server-side, which is a huge piece of work. I'd probably suggest for now using browser automation if one needs to automatically generate SVG results from queries.