sentences:  Only the early scene in the secret apartment is based on "The Shepherdess and the Chimney Sweep", while the rest of the movie focuses much more on the king and the bird, hence the ultimate title.In Andersen's tale, the shepherdess and the chimney sweep are china figurines, rather than paintings, and a wooden (mahogany) satyr wishes to wed the shepherdess, supported by a Chinaman, rather than a king and a classical statue.In both tales, the Chinaman/statue breaks, and the duo escape up the chimney, and delight in celestial bodies, but in Andersen's tale the shepherdess is afraid of the wide world and the duo return; this is echoed in the movie where the statue predicts that they will return.