From f9c0a5f97312a670b1248ec5ecb8c207b58bbaf9 Mon Sep 17 00:00:00 2001 From: Munyoki Kilyungi Date: Wed, 10 Jul 2024 12:14:51 +0300 Subject: Replace "FIXME" with relevant info in the docs. Signed-off-by: Munyoki Kilyungi --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3