If at least one image shows people near an elephant with chained feet.
return people ;return elephant ;return feet of  #2 ;return #2 where #3 are  chained ;return #1 near #4 ;return if  #5 is  in  at least one image
['select', 'select', 'project', 'comparative', 'filter', 'boolean']