If at least one person is outside with the dogs in the image on the right.
return right image ;return person of #1 ;return dogs of #1 ;return #2 that is outside ;return #4 that is with #3 ;return the  number of  #5 ;return if  #6 is at least one
['select', 'project', 'project', 'filter', 'filter', 'aggregate', 'boolean']