To be able to easily add a SPARQL query to OpenRefine as input, a urlencoded SPARQL API call can be used. This needs to be cut and pasted from differently processed parts. It can be easily created programmatically and could be an output format in the Query Service.
The url needs
as a body
urlencoded query with also quotation marks and question marks encoded. The output in the browser bar does not always convert all the necessary characters.