If one image shows a dog on a leash and the other shows a dog by white fabric.
return one image ;return dog  in  #1 ;return leash in  #1 ;return if  #2 is on #3 ;return the  other image ;return dog  in  #5 ;return fabric in  #5 ;return #7 that is white ;return if  #6 is by #8 ;return if  both  #4 and #9 are true
['select', 'project', 'project', 'boolean', 'select', 'project', 'project', 'filter', 'boolean', 'boolean']