We study the inverse problem of the restoration dependent on time continuous factor in the right-hand side of a semilinear time fractional equation. We find sufficient conditions of uniqueness of both classical and generalized solution under integral type over-determination condition.