Query dependencies offline