If one image shows one crab on a plate next to green beans, and the other image shows at least one crab that is facing forward and not on a plate with other food items.
return one   image  ;return crabs in  #1 ;return plate  in  #1 ;return green beans in  #1 ;return #2 on #3 ;return #5 next to  #4 ;return number of  #6 ;return if  #7 is equal to  one   ;return the  other image  ;return crabs in  #9 ;return #10 that are facing forward ;return plate  in  #9 ;return food items in  #9 ;return #13 besides  #10 ;return #12 with #14 ;return #11 not on #15 ;return number of  #16 ;return if  #17 is at least one   ;return if  both  #8 and #18 are true
['select', 'project', 'project', 'project', 'filter', 'filter', 'aggregate', 'boolean', 'select', 'project', 'filter', 'project', 'project', 'discard', 'filter', 'filter', 'aggregate', 'boolean', 'boolean']