If one of the buildings has gold trimming on the roof.
return buildings ;return roof of #1 ;return trimming of #2 ;return #1 where  #3 is gold ;return number of  #4 ;return if  #5 is equal to  one
['select', 'project', 'project', 'comparative', 'aggregate', 'boolean']