The authors introduce a new method to compile queries referencing recursively defined predicates this method is based on an interpretation of the query and the relations as functions which map one column of a relation to another column it is shown that a large class of queries with associated recursive rules including mutually recursive rules can be computed as the limit a series of functions typical cases of series of functions are given and solved the solutions lend themselves towards either extended relational algebra or SQL optimized programs to compute the recursive query answers examples of applications are given.