If in both drawings the doberman's mouth is open.
return doberman ;return mouth of #1 ;return #1 where  #2 is open ;return drawings of #3 ;return number of  #4 ;return if  #5 is equal to  two
['select', 'project', 'comparative', 'project', 'aggregate', 'boolean']