With no explanation, label each line with "location-GPE", "O", "person-politician", "art-broadcastprogram", "art-film", "art-music", "art-other", "art-painting", "art-writtenart" or "building-airport" preceded by ":".
Her
father
was
Crown
Prince
Frederick
of
Denmark
,
later
King
Frederick
VIII
.
Her:O
father:O
was:O
Crown:O
Prince:O
Frederick:person-politician
of:O
Denmark:location-GPE
,:O
later:O
King:O
Frederick:person-politician
VIII:person-politician
.:O