An ontology for automated scenario-based training