Input (grade 7): The Imam Ali Mosque in Najaf is rebuilt by the Seljuk Malik Shah I after being destroyed by fire.
Output (grade 6): The Imam Ali Mosque is rebuilt by the Seljuk Malik Shah I after being destroyed by fire.