Note that parent-child relationships are based on a one-to-many relationship, where each child is associated with a single parent, but a parent can have multiple children.
In this simple example, this requirement is met. However, if a train station could belong to more than one train line—which is likely more realistic—you would not be able to use parent-child relationships. Instead, you would treat the train line dataset as a lookup dataset, see [Connect to a lookup dataset](https://scribehow.com/shared/Connect_dataset_to_lookup_dataset__Lwdcq6d0Sy-LaC7ym714RQ)