If each image contains one non-standing spaniel, and one image features a spaniel with fur in shades of brown with a white chest stripe, posed sitting upright.
return images ;return spaniels in  #1 ;return #2 that are non-standing ;return number of  #3 for each  #1 ;return #1 where  #4 is equal to  one ;return number of  #5 ;return number of  #1 ;return if  #6 is equal to  #7 ;return spaniel ;return fur of #9 ;return #9 where  #10 is in  shades of brown ;return chest of #11 ;return stripe ;return #13 that is white ;return #11 where  #12 has #14 ;return #15 that is sitting upright ;return if  #16 is in  one image  ;return if  both  #8 and #17 are true
['select', 'project', 'filter', 'group', 'comparative', 'aggregate', 'aggregate', 'boolean', 'select', 'project', 'comparative', 'project', 'select', 'filter', 'comparative', 'filter', 'boolean', 'boolean']