Complex sentence: The original foundation of the temple was in Asuka, by Soga no Umako, later moved to Nara in 718, following the capital change to Heijō-kyō.
Split into simpler sentences: The original foundation of the temple was in Asuka, by Soga no Umako. The temple was moved to Nara in 718, following the capital relocation to Heijō-kyō.