If each image shows a basset hound, and the hound on the right looks sleepy-eyed.
return basset hound ;return #1 on the  right ;return if  #2 looks sleepy-eyed ;return images ;return images of #1 ;return number of  #4 ;return number of  #5 ;return if  #7 is equal to  #6 ;return if  both  #8 and #3 are true
['select', 'filter', 'boolean', 'select', 'project', 'aggregate', 'aggregate', 'boolean', 'boolean']