If each image shows a path next to a row of roofed structures, and the right image shows an unhitched black ox in front of a market street.
return structures ;return #1 that are roofed ;return #2 that are in  a   row ;return path ;return #4 that is next to  #3 ;return images ;return number of  #5 for each  #6 ;return #6 where  #7 is at least one ;return number of  #6 ;return number of  #8 ;return if  #9 is equal to  #10 ;return right image  ;return ox in  #12 ;return market street in  #12 ;return #13 that is black ;return #15 that is unhitched ;return #16 that is in  front of #14 ;return number of  #17 ;return if  #18 is at least one ;return if  both  #11 and #19 are true
['select', 'filter', 'filter', 'select', 'filter', 'select', 'group', 'comparative', 'aggregate', 'aggregate', 'boolean', 'select', 'project', 'project', 'filter', 'filter', 'filter', 'aggregate', 'boolean', 'boolean']