Dynamic programming in Datalog with aggregates | IEEE Journals & Magazine | IEEE Xplore