If left image shows a product with orange top half and light bottom half.
return product ;return top half of #1 ;return bottom half of #1 ;return #1 where  #2 is orange ;return #1 where  #3 is light ;return #1 in  both  #4 and #5 ;return if  #6 is in  the  left image
['select', 'project', 'project', 'comparative', 'comparative', 'intersection', 'boolean']