If one dog is standing with tail extended, and facing rightward with its head and body.
return dogs ;return #1 that is standing ;return tail of #2 ;return #2 where  #3 is extended ;return head of #4 ;return body of #4 ;return #5 , #6 ;return #5 that is facing rightward with #7 ;return number of  #8 ;return if  #9 is equal to  one
['select', 'filter', 'project', 'comparative', 'project', 'project', 'union', 'filter', 'aggregate', 'boolean']