diff options
author | Arun Isaac | 2023-04-04 15:01:27 +0100 |
---|---|---|
committer | Arun Isaac | 2023-04-04 15:01:27 +0100 |
commit | 983d0658c75e87e42e5bdf6427e5c06e056a8be8 (patch) | |
tree | 70123ccf8c01ebfc7c6a920952d8acc589640725 /topics/systems/virtuoso.gmi | |
parent | 67eb768186e3523a5a1ddc2c4732ac4881ea0398 (diff) | |
download | gn-gemtext-983d0658c75e87e42e5bdf6427e5c06e056a8be8.tar.gz |
Single quote virtuoso dba password.
Diffstat (limited to 'topics/systems/virtuoso.gmi')
-rw-r--r-- | topics/systems/virtuoso.gmi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/topics/systems/virtuoso.gmi b/topics/systems/virtuoso.gmi index e846094..953fc26 100644 --- a/topics/systems/virtuoso.gmi +++ b/topics/systems/virtuoso.gmi @@ -139,9 +139,9 @@ rapper: Parsing returned 652395 triples ``` Then, upload it to a virtuoso SPARQL endpoint running at port 8892 ``` -curl -v -X PUT --digest -u dba:password -T data.ttl -G http://localhost:8892/sparql-graph-crud-auth --data-urlencode graph=http://example.org +curl -v -X PUT --digest -u 'dba:password' -T data.ttl -G http://localhost:8892/sparql-graph-crud-auth --data-urlencode graph=http://example.org ``` -where http://example.org is the name of the graph. +where http://example.org is the name of the graph. Note that single quoting the password is good to do especially when you have special characters in the password. The PUT method deletes the existing data in the graph before loading the new one. So, there is no need to manually delete old data before loading new data. However, virtuoso is slow at deleting millions of triples, resulting in an apparent freeze-up. So, it is preferable to handle such deletes manually using a lower-level SQL statement issued via the isql client. ``` |