Knowledge-based support for surgical workflow analysis and recognition