diff options
author | Arun Isaac | 2022-11-25 18:41:44 +0000 |
---|---|---|
committer | Arun Isaac | 2022-11-25 18:41:44 +0000 |
commit | 3fe795f92c19c12568c02c09cc3bc0fad8e0b7a4 (patch) | |
tree | 29077e9b79352acca3d6074640a9d91ab11a4534 | |
parent | cb1ea4dd2cf28b627dff42905ebc573704fc3feb (diff) | |
download | gn-transform-databases-3fe795f92c19c12568c02c09cc3bc0fad8e0b7a4.tar.gz |
Split up README into subsections.
* README.md (Using): Split into subsections.
-rw-r--r-- | README.md | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -21,6 +21,8 @@ Build the sources. $ make ``` +## Set up connection parameters + Describe the database connection parameters in a file *conn.scm* file as shown below. Take care to replace the placeholders within angle brackets with the appropriate values. @@ -40,6 +42,8 @@ with the appropriate values. (sparql-port . <sparql-endpoint-port-here>)) ``` +## Dump the database + Then, to dump the database to \~/data/dump, run ``` shell @@ -50,6 +54,8 @@ 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. +## 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 @@ -60,6 +66,8 @@ $ rapper --input turtle --count ~/data/dump/dump.ttl $ ./pre-inst-env ./load-rdf.scm conn.scm ~/data/dump/dump.ttl ``` +## Visualize schema + Now, you may query virtuoso to visualize the SQL and RDF schema. ``` shell |