Did you know? CQL makes dealing with SQL easierSearch Documentation:
SWI-Prolog owl logoPredicate copy_term/2