Sentence:  Whatever his original assignment , the fictional private eye ends up by <WSD>investigating</WSD> and solving a crime , usually a murder . 
Meaning of the word marked with <WSD> tags:  conduct an inquiry or investigation of