Document range_map.
Support iteration over all contained ranges.
Work on event extraction from query results.