Sentence:  They were forthwith stoned to death, as a <WSD>document</WSD> to others. 
Meaning of the word marked with <WSD> tags:  An example for instruction or warning.