Are both these people the same gender?
Yes, all the people are female.
    src        edge_attr  dst
0     0   to the left of    6
1     1               on    6
2     1          wearing    2
3     1  to the right of    5
4     2  to the right of    5
5     3          wearing    0
6     3          wearing    5
7     3   to the left of    4
8     4  to the right of    3
9     4  to the right of    5
10    4           riding    7
11    5   to the left of    2
12    5   to the left of    1
13    5  to the right of    9
14    5   to the left of    4
15    6  to the right of    0
16    9   to the left of    5
17    9          wearing    8