 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)))))))) (. .)))
There was a building were the tents once were.
( There ( ( was ( ( a building ) ( ( were ( the tents ) ) ( once were ) ) ) ) . ) )
(ROOT (S (NP (EX There)) (VP (VBD was) (NP (NP (DT a) (NN building)) (SBAR (S (VP (VBD were) (NP (DT the) (NNS tents)) (SBAR (IN once) (S (VP (VBD were))))))))) (. .)))