If the right image contains exactly one dog standing on grass facing towards the right.
return right  image ;return dog in  #1 ;return grass in  #1 ;return #2 that is standing on #3 ;return #4 that is facing towards the  right  ;return number of  #5 ;return if  #6 is equal to  one
['select', 'project', 'project', 'filter', 'filter', 'aggregate', 'boolean']