Complex sentence: In Egypt, he had seen the pyramids, while at the temple of Ammon, he had been shown the hymn once sent to that shrine by Pindar.
Split into simpler sentences: In Egypt, he had seen the pyramids. While at the temple of Ammon, he had been shown the hymn once sent to that shrine by Pindar.