If left image contains one lipstick with its applicator resting atop its base, and the right image shows one lipstick with its cap on.
return left image  ;return lipstick in  #1 ;return applicator of #2 ;return base of #2 ;return #3 that is resting atop #4 ;return #2 that has #5 ;return number of  #6 ;return if  #7 is equal to  one ;return right image  ;return lipstick in  #9 ;return cap of #10 ;return #10 that has #11 on ;return number of  #12 ;return if  #13 is equal to  one ;return if  both  #8 and #14 are true
['select', 'project', 'project', 'project', 'filter', 'filter', 'aggregate', 'boolean', 'select', 'project', 'project', 'filter', 'aggregate', 'boolean', 'boolean']