Increased Robustness in Context Detection and Reasoning Using Uncertainty Measures: Concept and Application