Zaslat SMS: On the correspondence between monotonic max-sum GNNs and datalog