If there is one key and one lock in the left image.
return left image ;return key in  #1 ;return lock in  #1 ;return number of  #2 ;return number of  #3 ;return if  #4 is equal to  one ;return if  #5 is equal to  one ;return if  both  #6 and #7 are true
['select', 'project', 'project', 'aggregate', 'aggregate', 'boolean', 'boolean', 'boolean']