If in one image there is a corgi riding on a raft in a pool and the other shows at least one dog in a kiddie pool.
return one image ;return corgi in   #1 ;return raft in   #1 ;return pool in   #1 ;return #3 in   #4 ;return if  #2 is riding on #5 ;return the  other image ;return dogs in   #7 ;return kiddie pool in   #7 ;return #8 in   #9 ;return number of  #10 ;return if  #11 is at least one ;return if  both  #6 and #12 are true
['select', 'project', 'project', 'project', 'filter', 'boolean', 'select', 'project', 'project', 'filter', 'aggregate', 'boolean', 'boolean']