If each image shows a single piece of art mounted on the wall behind a sofa flanked by bookshelves.
return piece of art ;return wall ;return sofa ;return bookshelves ;return #3 that is flanked by #4 ;return #2 that is behind #5 ;return #1 that is mounted on #6 ;return images ;return number of  #7 for each  #8 ;return #8 where  #9 is equal to  one ;return number of  #8 ;return number of  #10 ;return if  #11 is equal to  #12
['select', 'select', 'select', 'select', 'filter', 'filter', 'filter', 'select', 'group', 'comparative', 'aggregate', 'aggregate', 'boolean']