If an image shows two dogs together outdoors, and at least one dog is standing with its front paws balanced on something for support.
return dogs ;return #1 that are together outdoors ;return number of  #2 ;return if  #3 is equal to  two ;return #1 that is standing ;return front paws ;return #6 balanced on something for support ;return #5 with #7 ;return number of  #8 ;return if  #9 is at least one ;return if  both  #4 and #10 are true
['select', 'filter', 'aggregate', 'boolean', 'filter', 'select', 'filter', 'filter', 'aggregate', 'boolean', 'boolean']