If an image shows one non-sleeping chimp, which is perched on a wooden object.
return chimps ;return #1 that are non-sleeping ;return object ;return #3 that is wooden ;return #2 that are perched on #4 ;return images of #5 ;return number of  #5 for each  #6 ;return #6 where  #7 is equal to  one ;return number of  #8 ;return if  #9 is equal to  one
['select', 'filter', 'select', 'filter', 'filter', 'project', 'group', 'comparative', 'aggregate', 'boolean']