Complex sentence: Kibi has been associated with the local legend of Kibi-tsu-hiko-no-mikoto, a legendary prince who fought the ogre "Ura", said to have lived in Kinojō Castle (Demon castle) near the city of Sōja.
Split into simpler sentences: Kibi has been associated with the legendary story of Kibitsuhiko-no-mikoto prince who fought the ogre "Ura". Ura was said to have lived in Kinojō Castle (Demon castle) near the city of Sōja.