Complex sentence: Sophocles, in a written fragment of one of his works, ascribed the invention of knucklebones to Palamedes, who taught it to his Greek countrymen during the Trojan War.
Split into simpler sentences: Sophocles, in a written fragment of one of his works, ascribed the invention of knucklebones to the mythical figure Palamedes. Who taught it to his Greek countrymen during the Trojan War.