If in one image, the tv is to the right of two paintings hung vertically.
return tv ;return paintings ;return #2 that are hung vertically ;return #3 that #1 is to the  right of ;return images ;return number of  #4 for each  #5 ;return #5 where  #6 is equal to  two ;return number of  #7 ;return if  #8 is equal to  one
['select', 'select', 'filter', 'filter', 'select', 'group', 'comparative', 'aggregate', 'boolean']