Add example for query_objectids()