A Knowledge-based Approach for the Automatic Construction of Skill Graphs for Online Monitoring