If in at least one image, a dog is in a body of water while wearing a life jacket or flotation device of some kind
return dog ;return body of water ;return #1 in  #2 ;return life jacket ;return flotation device ;return #3 wearing #4 ;return #3 wearing #5 ;return #6 , #7 ;return if  #8 is in  at least one image
['select', 'select', 'filter', 'select', 'select', 'filter', 'filter', 'union', 'boolean']