If one image contains a puppy standing on all fours, and the other contains a dog with upright ears wearing a red collar.
return one image ;return puppy in  #1 ;return #2 that is standing on all fours ;return number of  #3 ;return if  #4 is at least one ;return other image ;return dog in  #6 ;return ears of #7 ;return #7 where  #8 are upright ;return collar of #9 ;return #9 where  #10 is red ;return number of  #11 ;return if  #12 is at least one ;return if  both  #5 and #13 are true
['select', 'project', 'filter', 'aggregate', 'boolean', 'select', 'project', 'project', 'comparative', 'project', 'comparative', 'aggregate', 'boolean', 'boolean']