Adapting Opencog