# How to save and load rdf indexes into/from a file?

**URL:** <https://swi-prolog.discourse.group/t/how-to-save-and-load-rdf-indexes-into-from-a-file/1875>\
**Category:** Help!\
**Tags:** how-to\
**Created:** [February 17, 2020, 6:59pm UTC](https://swi-prolog.discourse.group/t/how-to-save-and-load-rdf-indexes-into-from-a-file/1875 "2020-02-17T18:59:23Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![EricGT](https://avatars.discourse-cdn.com/v4/letter/e/f1d935/32.png) [@EricGT](https://swi-prolog.discourse.group/u/EricGT)\
**Post date:** [February 17, 2020, 7:05pm UTC](https://swi-prolog.discourse.group/t/how-to-save-and-load-rdf-indexes-into-from-a-file/1875/2 "2020-02-17T19:05:05Z")

</div>

> [@nxiao](#):
>
> save them into a file and reload them at start at run-time

See: [library(persistency)](https://www.swi-prolog.org/pldoc/man?section=persistency): Provide persistent dynamic predicates.

This [post](https://swi-prolog.discourse.group/t/solving-two-consecutive-dependent-goals-from-command-line/1270/11) which while not perfect is the most refined example I know

* * *

Also see: [Quick load files](https://www.swi-prolog.org/pldoc/man?section=qlf)

---

_[View the full topic](https://swi-prolog.discourse.group/t/how-to-save-and-load-rdf-indexes-into-from-a-file/1875)._
