prelimiary support for parsing and printing split queries