If all images include a beagle in an outdoor setting, and at least one image shows multiple beagles behind a prey animal.
return beagle ;return #1 that is in  an outdoor setting ;return images ;return number of  #2 for each  #3 ;return #3 where  #4 is at least one ;return number of  #3 ;return number of  #5 ;return if  #6 is equal to  #7 ;return prey animal ;return #1 that are behind #9 ;return number of  #10 for each  #3 ;return #3 where  #11 is at least two ;return number of  #12 ;return if  #13 is at least one ;return if  both  #8 and #14 are true
['select', 'filter', 'select', 'group', 'comparative', 'aggregate', 'aggregate', 'boolean', 'select', 'filter', 'group', 'comparative', 'aggregate', 'boolean', 'boolean']