Is the person to the right of the chair wearing a hat?
Yes, the man is wearing a hat.
    src        edge_attr  dst
0     0  to the right of    4
1     0  to the right of    2
2     0  to the right of    6
3     1   on the side of   21
4     2   to the left of   13
5     2   to the left of   11
6     2   to the left of   15
7     2   to the left of    0
8     4   to the left of   15
9     4   to the left of    0
10    4   to the left of   13
11    4   to the left of   11
12    5   to the left of   11
13    5   to the left of   20
14    6   to the left of    0
15    6   to the left of   13
16    9   to the left of   20
17   10   to the left of   13
18   11  to the right of    5
19   11  to the right of    4
20   11  to the right of    2
21   12  to the right of   18
22   13  to the right of    2
23   13  to the right of    4
24   13  to the right of    6
25   13  to the right of   10
26   14  to the right of   19
27   15  to the right of    4
28   15  to the right of    2
29   16               on   12
30   16  to the right of   18
31   17  to the right of   18
32   18   to the left of   12
33   18   to the left of   17
34   18   to the left of   16
35   18   to the left of   22
36   19   to the left of   14
37   20          wearing   13
38   20          wearing   11
39   20  to the right of    5
40   20  to the right of    9
41   20          wearing   22
42   20          wearing   15
43   20          wearing   12
44   20          wearing   14
45   20          wearing    3
46   20          wearing   19
47   22  to the right of   18