Did you know ... Search Documentation:
Serializing and deserializing Prolog terms