fromTerm

Gets Expected instance from term representation, if possible