If one image features a dog facing forward and wearing a type of coat, and the other image features one real dog and at least one non-real dog face.
return one   image  ;return dog  in  #1 ;return #2 that is facing forward ;return type of coat ;return #3 that is wearing #4 ;return number of  #5 ;return if  #6 is at least one   ;return other image  ;return dog  in  #8 ;return #9 that is real ;return number of  #10 ;return if  #11 is equal to  one   ;return dog  face in  #8 ;return #13 that is non-real ;return number of  #14 ;return if  #15 is at least one   ;return if  both  #12 and   #16 are true ;return if  both  #7 and   #17 are true
['select', 'project', 'filter', 'select', 'filter', 'aggregate', 'boolean', 'select', 'project', 'filter', 'aggregate', 'boolean', 'project', 'filter', 'aggregate', 'boolean', 'boolean', 'boolean']