Introducing dynamic behavior in amalgamated knowledge bases