If all the trains in the images are facing the same direction.
return trains ;return direction of #1 ;return #1 where  #2 are the  same ;return number of  #1 ;return number of  #3 ;return if  #4 is equal to  #5
['select', 'project', 'comparative', 'aggregate', 'aggregate', 'boolean']