Combine aggregates into one terminal.
Parse simple SELECT and CONSTRUCT queries.