If each image contains exactly one cup, and one image features a white cup with a brown band around its middle and a lid on top.
return cups ;return images ;return number of  #1 for each  #2 ;return #2 where  #3 is equal to  one ;return number of  #2 ;return number of  #4 ;return if  #5 is equal to  #6 ;return #1 that is white ;return middle of #8 ;return #9 that has a   brown band around ;return #8 that has #10 ;return top of #11 ;return #11 that has a   lid on #12 ;return if  #13 is in  one image  ;return if  both  #7 and #14 are true
['select', 'select', 'group', 'comparative', 'aggregate', 'aggregate', 'boolean', 'filter', 'project', 'filter', 'filter', 'project', 'filter', 'boolean', 'boolean']