Simpler resource call in getQueryCall()