A KNIFEMAN who stabbed a soldier outside his home and “tried to cut his head off” had researched the murder of Lee Rigby.