support for parsing and printing split queries