Help me to help you: How to learn intentions, actions and plans