If two corgies sit side by side in one image, while another corgi with its mouth open and tongue showing is alone in the other image.
return one image ;return corgies in  #1 ;return #2 that sit side  by side ;return number of #3 ;return If #4 is  equal to two ;return other image ;return corgi in  #6 ;return mouth of  #7 ;return If #8 is  open ;return tongue of  #7 ;return If #10 is  showing ;return If both  #9 and #11 are  true ;return If both  #5 and #12 are  true
['select', 'project', 'filter', 'aggregate', 'boolean', 'select', 'project', 'project', 'boolean', 'project', 'boolean', 'boolean', 'boolean']