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