As soon as the <e1>guards</e1> had left the <e2>building</e2> to investigate, he scrambled through the window and looked around.
As soon as the
As soon as the guards had left the building to investigate, he scrambled through the window and looked around.
<triplet> guards <subject> building <object> Entity-Origin(e1,e2)