Complex sentence: Although the dynasties who ruled over the territory are known, who built what is not clear, except for the Jain temples, which were built by the merchant Jain community.
Split into simpler sentences: Although the dynasties who ruled over the territory are known, who built what is not clear. The Jain temples were built by the merchant Jain community.