Insurgents assassinated a Somali lawmaker Tuesday, the second in 24 hours, police and witnesses said, the latest in a series of attacks in the war-ravaged capital.