Add details to query.md