Knowledge-based support for managerial diagnosis