[NUCCORE-1201] Query language handling