Does the boy to the right of the man wear a hat?
Yes, the boy wears a hat.
    src        edge_attr  dst
0     0          wearing   13
1     0  to the right of    9
2     0  to the right of    8
3     0  to the right of   18
4     0  to the right of   10
5     1          wearing    3
6     1          wearing   14
7     2               on   16
8     2               on   17
9     7               of    0
10    7  to the right of    9
11    7  to the right of    8
12    8   to the left of    7
13    8   to the left of    0
14    8   to the left of   24
15    9   to the left of    0
16    9   to the left of   17
17    9   to the left of    7
18    9   to the left of   24
19   10               of    9
20   10   to the left of   13
21   10   to the left of    0
22   10               of    1
23   10  to the right of   12
24   10   to the left of   11
25   11               of    0
26   11  to the right of   10
27   11   to the left of   24
28   12               of    1
29   12   to the left of   10
30   13  to the right of   10
31   14               of    1
32   17  to the right of    9
33   17  to the right of   18
34   18   to the left of    0
35   18   to the left of   17
36   20               of    1
37   24  to the right of   11
38   24  to the right of    9
39   24  to the right of    8
40   25               of   21