If one image shows two white dogs sitting upright side-by-side, and the other image shows two sitting collies flanked by two sitting white dogs.
return one image ;return dogs in  #1 ;return #2 that are  white ;return #3 that are  sitting  upright ;return #4 that are  side-by-side ;return number of #5 ;return If #6 is  equal to two  ;return other image ;return collies in  #8 ;return dogs in  #8 ;return #10 that are  white ;return #9 that are  flanked by #11 ;return number of #12 ;return If #13 is  equal to two  ;return If #11 is  equal to two  ;return If both  #14 and #15 and  #7 is  true
['select', 'project', 'filter', 'filter', 'filter', 'aggregate', 'boolean', 'select', 'project', 'project', 'filter', 'filter', 'aggregate', 'boolean', 'boolean', 'boolean']