diff options
author | Arun Isaac | 2022-05-05 15:33:28 +0530 |
---|---|---|
committer | Arun Isaac | 2022-05-05 15:33:28 +0530 |
commit | e425c701e747fbc7a91c1a8d814fe31f97e2d37c (patch) | |
tree | 5c86e489d2e80ec9178997cabc52fd569e047373 | |
parent | bc3305ebe75bc9bd2ba446591b5d4594ee29dea4 (diff) | |
download | gn-transform-databases-e425c701e747fbc7a91c1a8d814fe31f97e2d37c.tar.gz |
Validate dumped RDF using rapper.
* manifest.scm: Import raptor2 from (gnu packages rdf). Add raptor2 to
manifest.
* README.md (Using): Document validation using rapper.
-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)) |