Resource query() instead of get()