If the left image features at least one row of barbell weights on a rack, and the right image features a barbell in the foreground with a view of a gym and its equipment in the background.
return left image  ;return barbell  weights in  #1 ;return rack ;return #2 on #3 ;return rows of #4 ;return number of  #5 ;return if  #6 is at least one ;return right image  ;return barbell  ;return #9 that is in  the  foreground ;return gym ;return view of #11 ;return #10 with #12 ;return equipment of #11 ;return #14 in  the  background ;return #13 and #15 ;return if  #8 features  #16 ;return if  both  #7 and #17 are true
['select', 'project', 'select', 'filter', 'project', 'aggregate', 'boolean', 'select', 'select', 'filter', 'select', 'project', 'filter', 'project', 'filter', 'union', 'boolean', 'boolean']