Learning to Retrieve and Reason on Knowledge Graph through Active Self-Reflection