Autonomous Knowledge Representation for Efficient Skill Learning in Cognitive Robots