例例文
This temple is said to have been built more than a thousand years ago.
この寺は千年以上前に建てられたと言われている。
EN英英で言うと
used to report what many people believe or say about someone or something
源語源・イメージ

say の受け身「言われる」に to 不定詞が続き、「…すると言われている」となる。
!入試ポイント
It is said that S V との書き換えが定番。言われている時より前のことは完了不定詞 to have done を使う(It is said that he was rich. = He is said to have been rich.)。be thought [believed] to do も同じ型。
S is said to do で「S は…すると言われている」。It is said that S V と書き換えられる。言われている時点より前のことは完了不定詞 to have done(He is said to have been rich.)。is said の時制と that 節の動詞の時制のずれで、to do か to have done かを決める。be thought / believed / reported to do も同じ型。
同じ意味It is said that S V
VSここが違う!
be said to dovsIt is said that S V
意味は同じで、主語と動詞の形が違う。It is said that he lives here. = He is said to live here. that 節の動詞が is said より前の時なら to have done(It is said that he lived here. = He is said to have lived here.)。見分け方:主語が It なら that 節、人・物なら to 不定詞。
It is said that the castle is haunted. / The castle is said to be haunted.
覚覚え方
They say that S V の受け身と考える。that 節の主語を文頭に出すと、残りは to 不定詞になる。この書き換えを一度自分の手で確かめておくと、完了不定詞の判断も迷わない。
Q入試形式の例題
The old temple is said built more than a thousand years ago.
建てられたのは「言われている」今より前(a thousand years ago)なので、完了不定詞の to have been。to be だと今の状態を表し ago と合わない。having been は is said の後ろに置けない。that it was は It is said that ~ の形でなければ使えない。