aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 7 insertions, 1 deletions
diff --git a/README.md b/README.md
index b5ed863..246e6d6 100644
--- a/README.md
+++ b/README.md
@@ -103,13 +103,19 @@ which does the same thing, but has the potential to be confusing due to the two
## Validate and load dump
-Then, validate the dumped RDF using `rapper` and load it into virtuoso. This will load the dumped RDF into the `http://genenetwork.org` graph, and will delete all pre-existing data in that graph (FIXME)
+Then, validate the dumped RDF using `rapper`:
``` shell
$ guix shell -m manifest.scm -- rapper --input turtle --count ~/data/dump/dump.ttl
+```
+
+If there are no errors, load the relevant RDF files into the `http://genenetwork.org` graph using the `load-rdf.scm` script:
+
+``` shell
$ guix shell -m manifest.scm -- ./pre-inst-env ./load-rdf.scm conn.scm ~/data/dump/dump.ttl
```
+This `load-rdf.scm` script replaces the existing graph with the ttl files from: "/var/lib/data", and indexes all the text data for quicker searches.
## Upload data to virtuoso