Question: Who wrote the fairy tale which is libretto based on 
Sentence (from "The Nightingale (fairy tale)"): "The Nightingale" (Danish: "Nattergalen") is a literary fairy tale written by Danish author Hans Christian Andersen about an emperor who prefers the tinkling of a bejeweled mechanical bird to the song of a real nightingale.
Relevant evidence: Yes