If the dog on the left has something held in its mouth, and the dog on the right is standing on green grass with its tail extended.
return dog  ;return #1 on   the  left ;return something ;return mouth of #2 ;return if  #2 has #3 held in  #4 ;return #1 on   the  right ;return grass ;return #7 that is green ;return tail of #6 ;return #6 where  #9 is extended ;return if  #10 is standing on   #8 ;return if  both  #5 and #11 is true
['select', 'filter', 'select', 'project', 'boolean', 'filter', 'select', 'filter', 'project', 'comparative', 'boolean', 'boolean']