Parse SELECT variables.
Rename "items" into "triples".