Add building queries to cookbook; closes #469
Merge branch 'issue-469-build-query'