a snowboarder wearing a green hat is riding along a metal railing.
A man is riding a riding a bicycle through the park.
A snowboarder does not ride a bicycle.
The subject cannot ride through the park and along a metal railing at once.
The snowboarder in the first sentence is riding a metal railing and the man in the second sentence is riding a bicycle.