If in one of the images, a person is holding a dog's leg just above the paw.
return person ;return dog ;return leg of #2 ;return paw of #2 ;return #1 holding #3 just above #4 ;return if  #5 is in  one of the  images
['select', 'select', 'project', 'project', 'filter', 'boolean']