May be if you post the sample data and expected output it would help to get better responses.
However I will try
You can derive the continent based on the country something as below , alternatively you can use the format if we can know all countries and respective continents
If country='Germany' then continent='Europe';
else if country='China' then continent='Asia';
etc.,
Thanks,
Jag