If there is an adult dog and a puppy in the left image.
return left image ;return dog in  #1 ;return #2 that is  adult ;return puppy in  #1 ;return number of #3 ;return number of #4 ;return If #5 is  equal to one ;return If #6 is  equal to one ;return If #7 and #8 are  both  true
['select', 'project', 'filter', 'project', 'aggregate', 'aggregate', 'boolean', 'boolean', 'boolean']