Using logic programming for adapting models to metamodel evolution. (2017)