Complex sentence: It was derived from the Khitan script, which in turn was derived from Chinese (Han characters), the script has only been decoded to a small extent.
Split into simpler sentences: It was derived from the Khitan script, which in turn was derived from Chinese (Han characters). The script has only been decoded to a small extent.