The girl was promised the cookie beside the ladder by Liam .
* girl ( x _ 1 ) ; * cookie ( x _ 5 ) ; * ladder ( x _ 8 ) ; promise . recipient ( x _ 3 , x _ 1 ) AND promise . theme ( x _ 3 , x _ 5 ) AND promise . agent ( x _ 3 , Liam ) AND cookie . nmod . beside ( x _ 5 , x _ 8 )