If the left image shows sliced fruit and the right image shows whole fruit.
return left image  ;return fruit  in  #1 ;return if  #2 is sliced ;return right image  ;return fruit  in  #4 ;return if  #5 is whole ;return if  both  #3 and #6 are true
['select', 'project', 'boolean', 'select', 'project', 'boolean', 'boolean']