Is the backpack on top of a bed?
No, the backpack is on top of the table.
    src        edge_attr  dst
0     0        on top of    1
1     0   to the left of    7
2     0   to the left of    2
3     0               on    1
4     1             near    5
5     1   to the left of    4
6     2          wearing    7
7     2               at    1
8     2          wearing    6
9     2  to the right of    0
10    2   to the left of    4
11    3             near    4
12    4  to the right of    1
13    4  to the right of    7
14    4  to the right of    2
15    4             near    3
16    5          next to    1
17    7   to the left of    4
18    7  to the right of    0