sentence1: It was a city of beautiful palaces and temples, and a place of learning, with one of the most renowned libraries in the known world.
sentence2: It was both a place of learning and a city filled with attractive temples and palaces. 