While the foolish virgins are away trying to get more oil, the bridegroom arrives. The wise virgins then accompany him to the celebration. ... Then the Kingdom of Heaven will be like ten virgins, who took their lamps, and went out to meet the bridegroom. Five of them were foolish, and five were wise.
So ... I think that we can intuit that, in this context, "virgin" represents those who have been "separated" for God's purpose.
Now whether the larger context is that of the Jews, ... or followers of Christ, is less certain. But let's intuit that the virgins do represent Christians, since that is whom Christ will return to gather.
But you could argue that Old Testament Samson represented such a one as a sleeping "virgin". Though he was blessed ... and bore responsibility for rightly managing his "virgin" giftedness, ... he opted to neglect his calling (allowed his lamp to go out) and suffered mightily as a result of such.
A point that might be made is that, in Samson's case, he was allowed to regain his gifted status, ... though after much suffering.
I also note that the parable says that the five foolish virgins were ONLY shut out from the wedding of the Bridegroom, ... but were not necessarily forever shut out from His kingdom.
A casual interpretation of the parable, then, might indicate that some of God's people will be caught unprepared when the Lord first returns to gather them. They, like Samson, might therefore need to suffer many things ... before they are eventually allowed into the kingdom.