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