If the left image contains one dog, a chocolate-brown spaniel with a leash extending from its neck.
return left image ;return dog in  #1 ;return number of  #2 ;return if  #3 is equal to  one ;return #2 that is a  spaniel ;return #5 that is chocolate-brown ;return leash in  #1 ;return neck of #6 ;return if  #7 is extending from  #8 ;return if  both  #4 and #9 are true
['select', 'project', 'aggregate', 'boolean', 'filter', 'filter', 'project', 'project', 'boolean', 'boolean']