SWI-Prolog Did You Know Did you know? CQL makes dealing with SQL easier Search Documentation:
Predicate xref_called/3