an Entity references as follows:
Chinese society during the Song dynasty (960–1279) was marked by political and legal reforms, a philosophical revival of Confucianism, and the development of cities beyond administrative purposes into centers of industry and of maritime and river commerce. The rural population were mostly farmers, with some hunters, fishermen, and workers in the imperial mines and salt marshes. Conversely, shopkeepers, artisans, city guards, entertainers, laborers, and wealthy merchants lived in the county and provincial centers along with the Chinese gentry—a small, elite community of educated scholars and scholar-officials.