Complex sentence: The students are divided into four houses, named after precious stones-Ruby (red), Emerald (green), Sapphire (blue) and Topaz (yellow).
Split into simpler sentences: The students are divided into four houses, each named after four precious stones. They are Ruby (red), Emerald (green) and Sapphire (blue), Topaz (yellow).