These are the queries from the article "JSON to Insights: Fast and Easy". URL: https://blog.couchbase.com/insights-from-json-fast-and-easy/
The data used is from: https://github.com/jackschultz/usopen
The queries q1 to q5 are from the articles. There are additional queries as well.
See the article for instructions on loading the data to Couchbase.