If one image is of a horse-drawn cart with two wheels, while the other image is a larger horse-drawn wagon with four wheels.
return one image  ;return cart in  #1 ;return #2 that is horse-drawn  ;return wheels  of #3 ;return number of  #4 for each  #3 ;return #3 where  #5 is equal to  two ;return number of  #6 ;return if  #7 is at least one ;return other image  ;return wagon in  #9 ;return #10 that is horse-drawn  ;return #11 that is larger ;return wheels  of #12 ;return number of  #13 for each  #12 ;return #12 where  #14 is equal to  four ;return number of  #15 ;return if  #16 is at least one ;return if  both  #8 and #17 are true
['select', 'project', 'filter', 'project', 'group', 'comparative', 'aggregate', 'boolean', 'select', 'project', 'filter', 'filter', 'project', 'group', 'comparative', 'aggregate', 'boolean', 'boolean']