Adaptive Reasoning for Real-world Problems: A Schema-based Approach