Aggregate Functions in DLV
Linear-time algorithms for testing the satisfiability of propositional horn formulae