Who is wearing a hat?
The man is wearing a hat.
    src        edge_attr  dst
0     0   to the left of    8
1     1  to the right of   11
2     2               on    6
3     2  to the right of   17
4     3  to the right of   16
5     4   to the left of    8
6     5  to the right of   14
7     5  to the right of   18
8     6  to the right of   17
9     7   to the left of   14
10    7  to the right of    8
11    8  to the right of    0
12    8   to the left of    7
13    8  to the right of    4
14    8   to the left of   14
15    8   to the left of    9
16    8   to the left of   18
17    8   to the left of   17
18    9  to the right of    8
19   11   to the left of    1
20   14   to the left of    5
21   14  to the right of    7
22   14  to the right of    8
23   15               on   12
24   16   to the left of    3
25   17   to the left of    6
26   17  to the right of    8
27   17   to the left of    2
28   18          wearing   11
29   18          wearing    1
30   18          wearing    9
31   18   to the left of    5
32   18  to the right of    8