split queries