If each image contains one spaniel outdoors in the grass, and the lefthand dog stands in profile turned leftward.
return spaniel ;return #1 that are outdoors ;return grass ;return #2 that are in  #3 ;return images ;return number of  #4 for each  #5 ;return #5 where  #6 is equal to  one ;return number of  #5 ;return number of  #7 ;return if  #8 is equal to  #9 ;return #1 that is lefthand ;return #11 that stands in  profile ;return if  #12 is turned leftward ;return if  both  #10 and #13 are true
['select', 'filter', 'select', 'filter', 'select', 'group', 'comparative', 'aggregate', 'aggregate', 'boolean', 'filter', 'filter', 'boolean', 'boolean']