diff options
author | Munyoki Kilyungi | 2024-07-10 12:14:51 +0300 |
---|---|---|
committer | Munyoki Kilyungi | 2024-07-10 12:14:51 +0300 |
commit | f9c0a5f97312a670b1248ec5ecb8c207b58bbaf9 (patch) | |
tree | 63104e3769fd7ad327ba994588c2f23302a4567e /README.md | |
parent | b09721a738736c76b9cd3c1c1c8cb26efe7f9b14 (diff) | |
download | gn-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.md | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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 |