Download objects by query.