If one image shows a dog running toward the camera, and the other image shows a dog in a still position gazing rightward.
return one image  ;return dog  in  #1 ;return if  #2 is running toward the  camera ;return the  other image  ;return dog  in  #4 ;return #5 in  a   still position ;return if  #6 is gazing rightward ;return if  both  #3 and #7 are true
['select', 'project', 'boolean', 'select', 'project', 'filter', 'boolean', 'boolean']