If in at least one image there is a single churce with a wall made out of stone surrounding it.
return churces ;return walls ;return #2 that are made out of stone ;return #1 that is with #3 ;return images ;return number of  #4 for each  #5 ;return #5 where  #6 is equal to  one ;return number of  #7 ;return if  #8 is at least one
['select', 'select', 'filter', 'filter', 'select', 'group', 'comparative', 'aggregate', 'boolean']