From the hub, tagged: "Caching"
Space Age Prolog
This post is external to PrologHubEver wondered how old you are in Martian years? To calculate our age on different planets requires data and reasoning over that data, sounds like a job for Prolog. In this SWISH notebook we also demonstrate how to cache the result of a query using assert/1.