If right image shows a panda half sitting, half lying, with legs extended and back curled.
return right image ;return panda of #1 ;return #2 that is half sitting ;return #3 that is half lying ;return legs of #4 ;return if  #5 are extended ;return back of #4 ;return if  #7 is curled ;return if  both  #6 and #8 are true
['select', 'project', 'filter', 'filter', 'project', 'boolean', 'project', 'boolean', 'boolean']