 The tents had been burned, but there was a new building where the main tent had been.
( ( ( ( ( ( The tents ) ( had ( been burned ) ) ) , ) but ) ( there ( was ( ( a ( new building ) ) ( where ( ( the ( main tent ) ) ( had been ) ) ) ) ) ) ) . )
(ROOT (S (S (NP (DT The) (NNS tents)) (VP (VBD had) (VP (VBN been) (VP (VBN burned))))) (, ,) (CC but) (S (NP (EX there)) (VP (VBD was) (NP (NP (DT a) (JJ new) (NN building)) (SBAR (WHADVP (WRB where)) (S (NP (DT the) (JJ main) (NN tent)) (VP (VBD had) (VP (VBN been)))))))) (. .)))
The tents had replaced the building.
( ( The tents ) ( ( had ( replaced ( the building ) ) ) . ) )
(ROOT (S (NP (DT The) (NNS tents)) (VP (VBD had) (VP (VBN replaced) (NP (DT the) (NN building)))) (. .)))