Added file to build the QE queries