ecore model and generated code for knowledge path and scheduling