An Ontology-based Multi-level Robot Architecture for Learning from Experiences