doc: api: document Query.