If a dog is swimming while carrying something in it's mouth
return dog ;return mouth of #1 ;return #1 where  #2 is carrying something ;return if  #3 is swimming
['select', 'project', 'comparative', 'boolean']