sentence1: the system by modeling the inference as an ilp problem with the features of narratives adopted as soft constraints .
sentence2: the idea is to perform inference via a linear programming formulation with the features of narratives adopted as soft constraints .