If each set shows two dogs that are similar in age, coloring, style, and look.
return sets ;return dogs in  #1 ;return age of #2 ;return coloring of #2 ;return style of #2 ;return look of #2 ;return #2 where  #3 is similar ;return #2 where  #4 is similar ;return #2 where  #5 is similar ;return #2 where  #6 is similar ;return #2 in  both  #7 and #8 ;return #2 in  both  #9 and #10 ;return #2 in  both  #11 and #12 ;return number of  #13 for each  #1 ;return #1 where  #14 is equal to  two ;return number of  #15 ;return number of  #1 ;return if  #16 is equal to  #17
['select', 'project', 'project', 'project', 'project', 'project', 'comparative', 'comparative', 'comparative', 'comparative', 'intersection', 'intersection', 'intersection', 'group', 'comparative', 'aggregate', 'aggregate', 'boolean']