Add a draft for getProperties of Query