If there is an expanse of green grass in one dog image.
return dogs ;return images of #1 ;return expanse of grass ;return #3 that is green ;return images of #4 ;return images ;return #6 in  both  #2 and #5 ;return number of  #7 ;return if  #8 is equal to  one
['select', 'project', 'select', 'filter', 'project', 'select', 'intersection', 'aggregate', 'boolean']