With no explanation, label each line with "O", "location-road/railway/highway/transit", "location-bodiesofwater", "art-broadcastprogram", "art-film", "art-music", "art-other", "art-painting", "art-writtenart" or "building-airport" preceded by ":".
Before
the
road
was
rerouted
,
the
road
continued
over
the
Cape
Cod
Canal
via
the
Sagamore
Bridge
to
the
Bourne
Rotary
,
to
the
south
of
the
Bourne
Bridge
.
Before:O
the:O
road:O
was:O
rerouted:O
,:O
the:O
road:O
continued:O
over:O
the:O
Cape:location-bodiesofwater
Cod:location-bodiesofwater
Canal:location-bodiesofwater
via:O
the:O
Sagamore:location-road/railway/highway/transit
Bridge:location-road/railway/highway/transit
to:O
the:O
Bourne:location-road/railway/highway/transit
Rotary:location-road/railway/highway/transit
,:O
to:O
the:O
south:O
of:O
the:O
Bourne:location-road/railway/highway/transit
Bridge:location-road/railway/highway/transit
.:O