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 ":".
Andrew
Mercer
(
1829–1902
)
was
Mayor
of
Dunedin
1873–1874
.
Mercer
was
born
in
Fifeshire
in
1829
.
Andrew:person-politician
Mercer:person-politician
(:O
1829–1902:O
):O
was:O
Mayor:O
of:O
Dunedin:location-GPE
1873–1874:O
.:O
Mercer:location-GPE
was:O
born:O
in:O
Fifeshire:location-GPE
in:O
1829:O
.:O