Seol mar théacs é seo: Bridging max graph neural networks and datalog with negation