What are their names?
SELECT railway FROM railway WHERE Railway_ID IN  ( SELECT Railway_ID FROM train ) 
their names refers to names of entities in the context, which in this case are railways that are also in the train table;