support for partial queries