A teenage Iraqi girl who claimed her husband 's female relatives strapped explosives on her has been sentenced to seven and a half years in prison for attempting to blow herself up at a checkpoint in northeastern Iraq , a provincial judge said Thursday .