If three monkeys are in a row on a rock in one image.
return monkeys ;return #1 that are in  a  row ;return rock ;return #2 that are on #3 ;return images ;return number of  #4 for each  #5 ;return #5 where  #6 is equal to  three ;return number of  #7 ;return if  #8 is equal to  one
['select', 'filter', 'select', 'filter', 'select', 'group', 'comparative', 'aggregate', 'boolean']