Following query does not resolve the parameters. WHERE { EQ(department.name, LCASE(PARAM("deptName"))) }