If in both images a person is holding a cup in their hand.
return person ;return hand of #1 ;return cup ;return #2 that is holding #3 ;return #1 that has #4 ;return images ;return number of  #5 for each  #6 ;return #6 where  #7 is at least one ;return number of  #8 ;return if  #9 is equal to  two
['select', 'project', 'select', 'filter', 'filter', 'select', 'group', 'comparative', 'aggregate', 'boolean']