Who is wearing the hat?
The man is wearing a hat.
    src        edge_attr  dst
0     0   to the left of    8
1     0   to the left of    7
2     1               on    3
3     1          wearing    8
4     1           riding    3
5     1          wearing    2
6     6  to the right of    7
7     6  to the right of    9
8     7   to the left of    6
9     7  to the right of    0
10    8  to the right of    0
11    8   to the left of    9
12    9   to the left of    6
13    9  to the right of    8