Original: The libretto by Gaetano Rossi is based on Voltaire's tragedy Semiramis, which in turn was based on the legend of Semiramis of Babylon.
Simplified: This was after Voltaire's Semiramis.