This episode is a rendition of the Sleeping Beauty fairytale and the 1959 Disney animated movie Sleeping Beauty, with Queen Briar Rose/Sleeping Beauty, Maleficent, Princess Aurora, Prince Phillip and the King Stefan.
Aurora is humming "Once Upon a Dream" from Disney's Sleeping Beauty.