If at least one image includes a young animal and an adult with horns.
return animal ;return #1 that is  young ;return #1 that is  an adult ;return horns ;return #3 with  #4 ;return if  both  #2 and #5 are  in  at least one image
['select', 'filter', 'filter', 'select', 'filter', 'boolean']