If one image shows a dog sitting upright, and the other shows at least one dog standing on all fours.
return one image ;return dog  in  #1 ;return #2 that is sitting upright ;return number of  #3 ;return if  #4 is at least one ;return other image ;return dog  in  #6 ;return #7 that is standing on all fours ;return number of  #8 ;return if  #9 is at least one ;return if  both  #5 and #10 are true
['select', 'project', 'filter', 'aggregate', 'boolean', 'select', 'project', 'filter', 'aggregate', 'boolean', 'boolean']