query refined