Is the bacon to the left or to the right of the cheese that is to the left of the onion?
The bacon is to the left of the cheese.
    src        edge_attr  dst
0     1               on    0
1     2   to the left of    4
2     4  to the right of    2
3     4   to the left of    6
4     5               on    1
5     5   to the left of    6
6     6               in    1
7     6  to the right of    5
8     6  to the right of    4
9     6               in    3
10    8               on    3