aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorArun Isaac2022-11-25 18:41:44 +0000
committerArun Isaac2022-11-25 18:41:44 +0000
commit3fe795f92c19c12568c02c09cc3bc0fad8e0b7a4 (patch)
tree29077e9b79352acca3d6074640a9d91ab11a4534 /README.md
parentcb1ea4dd2cf28b627dff42905ebc573704fc3feb (diff)
downloadgn-transform-databases-3fe795f92c19c12568c02c09cc3bc0fad8e0b7a4.tar.gz
Split up README into subsections.
* README.md (Using): Split into subsections.
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/README.md b/README.md
index c4276e6..c9c433c 100644
--- a/README.md
+++ b/README.md
@@ -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