The purpose of the dam is to generate hydroelectricity , regulate the flow of the Euphrates and provide water for irrigation .
DET NOUN ADP DET NOUN AUX PART VERB NOUN , VERB DET NOUN ADP DET PROPN CCONJ VERB NOUN ADP NOUN .