If one image shows indoor seating at a restaurant and the other shows outdoor seating.
return one image ;return indoor seating in  #1 ;return restaurant in  #1 ;return If #2 is  at #3 ;return other image ;return outdoor seating in  #5 ;return number of #6 ;return If #7 is  at least one ;return If both  #4 and #8 are  true
['select', 'project', 'project', 'boolean', 'select', 'project', 'aggregate', 'boolean', 'boolean']