If the left image features a camera-gazing corgi with its tongue hanging out, and the right image shows a corgi standing rightward in profile, with its head turned forward.
return corgi  ;return #1 that is  camera-gazing ;return tongue of  #2 ;return #2 where #3 is  hanging out ;return if  #4 is  in  the  left image ;return #1 standing rightward in  profile ;return head of  #6 ;return #6 where #7 is  turned forward ;return if  #8 is  in  the  right image ;return if  both  #5 and #9 are  true
['select', 'filter', 'project', 'comparative', 'boolean', 'filter', 'project', 'comparative', 'boolean', 'boolean']