If one image shows a single open-mouthed pup, and the other shows at least one blue-eyed dog with upright ears.
return one image ;return pup in  #1 ;return #2 that is open-mouthed ;return number of  #3 ;return if  #4 is equal to  one ;return other image ;return dog in  #6 ;return #7 that is blue-eyed ;return #8 that is with upright ears ;return number of  #9 ;return if  #10 is at least one ;return if  both  #5 and #11 are true
['select', 'project', 'filter', 'aggregate', 'boolean', 'select', 'project', 'filter', 'filter', 'aggregate', 'boolean', 'boolean']