[geometry] query iterators described in docs + some fixes of the chapter describing queries.