Goal-based communication using BDI agents as virtual humans in training: An ontology driven dialogue system