query samples