Issue Queries

The example below issues a query from a Go program. The query API is asynchronous — you can check for query completion by polling the job periodically (e.g. by checking the response for JobStatus(jobID) calls).