If a dog is standing on grass in one image and a dog is on the couch in the other.
return one image ;return dog  in  #1 ;return grass in  #1 ;return If #2 is  standing on #3 ;return other image ;return dog  in  #5 ;return couch in  #5 ;return If #6 is  on #7 ;return If both  #4 and #8 are  true
['select', 'project', 'project', 'boolean', 'select', 'project', 'project', 'boolean', 'boolean']