A Knowledge-Based System for the Detection of Troubled Projects