If all images show a gorilla standing on its legs and hands.
return gorilla ;return legs of #1 ;return hands of #1 ;return #1 standing on #2 ;return #1 standing on #3 ;return #1 in  both  #4 and #5 ;return images of #6 ;return number of  #7 ;return images ;return number of  #9 ;return if  #8 is equal to  #10
['select', 'project', 'project', 'filter', 'filter', 'intersection', 'project', 'aggregate', 'select', 'aggregate', 'boolean']