If each image contains one dog, which is standing on all fours in the grass, and dogs in the left and right images are turned in the same general direction.
return images ;return dogs in   #1 ;return #2 standing on all fours ;return the  grass in   #1 ;return #3 in   #4 ;return number of  #5 for each  #1 ;return #1 where  #6 is equal to  one ;return number of  #7 ;return number of  #1 ;return if  #8 is equal to  #9 ;return the  left image ;return the  right image ;return dog in   #11 ;return dog in   #12 ;return general direction turned in   of #13 ;return general direction turned in   of #14 ;return if  #15 is the  same as #16 ;return if  both  #10 and #17 are true
['select', 'project', 'filter', 'project', 'filter', 'group', 'comparative', 'aggregate', 'aggregate', 'boolean', 'select', 'select', 'project', 'project', 'project', 'project', 'boolean', 'boolean']