aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorMunyoki Kilyungi2024-07-10 12:14:51 +0300
committerMunyoki Kilyungi2024-07-10 12:14:51 +0300
commitf9c0a5f97312a670b1248ec5ecb8c207b58bbaf9 (patch)
tree63104e3769fd7ad327ba994588c2f23302a4567e /README.md
parentb09721a738736c76b9cd3c1c1c8cb26efe7f9b14 (diff)
downloadgn-transform-databases-f9c0a5f97312a670b1248ec5ecb8c207b58bbaf9.tar.gz
Replace "FIXME" with relevant info in the docs.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
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