Knowledge-driven societal evolution