A modular message-passing scheme reflecting the relational model for end-to-end deep learning from databases.