Sentence:  They moved slowly , toward the main gate , <WSD>following</WSD> the wall . 
Meaning of the word marked with <WSD> tags:  travel along a certain course