If one of the animal's tail is curved
return animal ;return tail of #1 ;return #1 where  #2 is curved ;return number of  #3 ;return if  #4 is equal to  one
['select', 'project', 'comparative', 'aggregate', 'boolean']