From 649b4fd55a84180bcd4a00bd4d3cdbe14b6c64ba Mon Sep 17 00:00:00 2001 From: BonfaceKilz Date: Tue, 14 Jun 2022 20:59:16 +0300 Subject: 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. --- topics/systems/virtuoso.gmi | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'topics') 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 -- cgit v1.2.3