We should cache the results of SPARQL queries as part of the session state.
We should be able to reason over a program, change some facts or rules, and then continue reasoning with the changed program, while keeping all unaffected inferences. In particular, this would be useful for caching the results of SPARQL imports when using nemo-web.