If left image shows one upright dog looking slightly downward and rightward.
return left image ;return dog in  #1 ;return #2 that is upright ;return #3 that is looking slightly downward ;return #4 that is looking rightward ;return number of  #5 ;return if  #6 is equal to  one
['select', 'project', 'filter', 'filter', 'filter', 'aggregate', 'boolean']