An inverse problem for linear Sobolev type equations