With no explanation, label each line with "location-GPE", "O", "location-island", "event-attack/battle/war/militaryconflict", "art-broadcastprogram", "art-film", "art-music", "art-other", "art-painting" or "art-writtenart" preceded by ":".
The
San
Juan
Islands
were
awarded
to
the
US
,
formally
ending
the
Pig
War
with
Britain
.
The:O
San:location-island
Juan:location-island
Islands:location-island
were:O
awarded:O
to:O
the:O
US:location-GPE
,:O
formally:O
ending:O
the:O
Pig:event-attack/battle/war/militaryconflict
War:event-attack/battle/war/militaryconflict
with:O
Britain:location-GPE
.:O