If the left image contains one left-gazing afghan hound with a dark muzzle, and the right image contains a standing hound with a tail that forms an upward curl.
return left image  ;return afghan hound in  #1 ;return #2 that is left-gazing ;return muzzle of #3 ;return #3 where  #4 is dark ;return number of  #5 ;return if  #6 is equal to  one ;return right image  ;return hound in  #8 ;return #9 that is standing ;return tail of #10 ;return #10 where  #11 forms an upward curl ;return number of  #12 ;return if  #13 is at least one ;return if  both  #7 and #14 are true
['select', 'project', 'filter', 'project', 'comparative', 'aggregate', 'boolean', 'select', 'project', 'filter', 'project', 'filter', 'aggregate', 'boolean', 'boolean']