If each ram on the left has it's nose down sniffing an object.
return rams ;return #1 on the  left ;return nose of #2 ;return #2 where  #3 is down ;return object ;return #2 where  #3 is sniffing #5 ;return #2 in  both  #4 and #6 ;return number of  #7 ;return number of  #2 ;return if  #8 is equal to  #9
['select', 'filter', 'project', 'comparative', 'select', 'comparative', 'intersection', 'aggregate', 'aggregate', 'boolean']