summaryrefslogtreecommitdiff
path: root/topics/systems
diff options
context:
space:
mode:
authorBonfaceKilz2022-06-14 20:59:16 +0300
committerBonfaceKilz2022-06-14 21:02:44 +0300
commit649b4fd55a84180bcd4a00bd4d3cdbe14b6c64ba (patch)
tree8b234b3c7c2b91984ff1222647b6e96555689f6b /topics/systems
parent93a355e75bfdd00142eac32a3b260f0ed7aa5b7a (diff)
downloadgn-gemtext-649b4fd55a84180bcd4a00bd4d3cdbe14b6c64ba.tar.gz
topics: virtuoso: Document how to run sparql queries using isql
* topics/systems/virtuoso.gmi (Running Queries using isql): Document how to use isql to run sparql queries using a guix shell.
Diffstat (limited to 'topics/systems')
-rw-r--r--topics/systems/virtuoso.gmi14
1 files changed, 14 insertions, 0 deletions
diff --git a/topics/systems/virtuoso.gmi b/topics/systems/virtuoso.gmi
index 8e28b0f..fba2d50 100644
--- a/topics/systems/virtuoso.gmi
+++ b/topics/systems/virtuoso.gmi
@@ -66,6 +66,20 @@ In particular, consider setting NumberOfBuffers and MaxDirtyBuffers as described
For a working configuration file, you can also look at /export/virtuoso/var/lib/virtuoso/db/virtuoso.ini in penguin2.
+### Running Queries using isql
+
+Assuming your "server-port" is 8891, you can access it inside isql by running:
+
+```
+guix shell virtuoso-ose -- isql 8891
+```
+
+Queries look like:
+
+```
+SQL> SPARQL SELECT * WHERE {?s ?p ?o};
+```
+
## Set passwords for virtuoso users
After running virtuoso, you will want to change the default password of the `dba` user. The default password of the `dba` user is `dba`. You can change passwords using the isql command-line client. See