All-in-one table and export link?

From semantic-mediawiki.org

Is there any way to have the same #ask query generate both the table and also include (somewhere) an export link that runs the same query for export?

I would like to create pages that both display the data as a table and also provide the export link with a single query. To do so currently, I'm having to basically include the same #ask query twice, where one query is slightly different in that it specifies that it's an export link.

22:22, 14 January 2014

This it is not possible though it would indeed be a nice feature in some cases.

14:43, 15 January 2014
 

Is having two {{#ask:}}'s really a problem here? After all, the second one should not query anything, it's just a link to a query that will be executed only if clicked.

03:38, 16 January 2014