Inverse Problems for Gradual Semantics