Efficient Evaluation of Arbitrary Relational Calculus Queries (Logical Methods in Computer Science, 2023)