Original: The libretto was adapted by Giambattista Varesco from a French text by Antoine Danchet , which had been set to music by AndrÃ Campra as IdomÃ nÃ e in 1712 .
Simplified: The libretto ( words ) are in Italian and were written by Giambattista Varesco who based it on a French text by Antoine Danchet .