Knowledge Engineering for Uncertain Reasoning