If all dogs are photographed outside with their mouths open and at least one dog is actively moving.
return dogs ;return #1 that are photographed outside ;return mouths of #2 ;return #2 where  #3 are open ;return number of  #1 ;return number of  #4 ;return if  #5 is equal to  #6 ;return #4 that is actively moving ;return number of  #8 ;return if  #9 is at least one ;return if  both  #7 and #10 are true
['select', 'filter', 'project', 'comparative', 'aggregate', 'aggregate', 'boolean', 'filter', 'aggregate', 'boolean', 'boolean']