Knowledge-Grounded Dialogue Flow Management for Social Robots and Conversational Agents