diff options
-rw-r--r-- | README.md | 8 | ||||
-rw-r--r-- | manifest.scm | 3 |
2 files changed, 7 insertions, 4 deletions
@@ -43,11 +43,13 @@ Make sure there is enough free space! It\'s best to dump the database on penguin2 where disk space and bandwidth are not significant constraints. -Then, load the dumped RDF into virtuoso. This will load the dumped RDF -into the `http://genenetwork.org` graph, and will delete all -pre-existing data in that graph. +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. ``` shell +$ rapper --input turtle --count ~/data/dump/dump.ttl $ ./pre-inst-env ./load-rdf.scm conn.scm ~/data/dump/dump.ttl ``` diff --git a/manifest.scm b/manifest.scm index 1b6dc43..99c83f3 100644 --- a/manifest.scm +++ b/manifest.scm @@ -11,6 +11,7 @@ (gnu packages guile) ((gnu packages guile-xyz) #:select (guile-sparql) #:prefix guix:) ((gnu packages guile-xyz) #:select (guile-dbd-mysql guile-dbi guile-hashing guile-libyaml)) + ((gnu packages rdf) #:select (raptor2)) (guix build-system gnu) (guix git-download) ((guix licenses) #:prefix license:) @@ -73,4 +74,4 @@ ;; We abuse (ccwl graphviz) as a library to visualize the database ;; schema. Hence we need ccwl and guile-libyaml. ccwl graphviz guile-hashing guile-libyaml guile-sparql - run64 virtuoso-ose)) + raptor2 run64 virtuoso-ose)) |