aboutsummaryrefslogtreecommitdiff
path: root/load-rdf.scm
AgeCommit message (Collapse)Author
2023-10-17Index text when loading data.Munyoki Kilyungi
* load-rdf.scm (bulk-load-data): Remove "quit;". This will be done after indexing. (index-data): New function (main): Add index-data. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-09-28quit after bulk-loading triples.Munyoki Kilyungi
* load-rdf.scm (bulk-load-data): Add "quit;" to bulk-load-data command. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-08-24Remove match-case for RDF-FILEMunyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-08-24Add new methods for bulk-loading dataMunyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-08-24Delete http methods for adding dataMunyoki Kilyungi
* load-rdf.scm (random-cnonce, md5-digest-authorization, http-upload-file, put-graph, delete-graph): Delete (main): Remove call to put-graph. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-06-15Change the transaction log mode to 'autocommit' when deleting graphMunyoki Kilyungi
During typical server operations, deleting one or more graphs containing a large number of triples can consume available memory to the point where the operation cannot be completed, and thus the graph can't be deleted. Such large graphs can be cleared by changing the transaction log mode to autocommit. Read the following for more: https://vos.openlinksw.com/owiki/wiki/VOS/VirtTipsAndTricksGuideDeleteLargeGraphs Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-05-30Allow upleading all files in a directory to virtuosoMunyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-05-30Replace PUT with a POST when uploading data in virtuosoMunyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-05-26Allow load-rdf script to read in data from a dirMunyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-04-05Wrap the password in quotesMunyoki Kilyungi
The password can contain special characters. As such, wrap it in quotes. * load-rdf.scm (delete-graph): Replace "~a" with "~s". Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2022-11-04Revert "Put isql commands on a single line."Arun Isaac
This reverts commit 5aecbcd3e59119533658b792c6dafa0c6efd9d5b. Despite putting commands on a single line, isql still echoes and leaks the password.
2022-10-31Put isql commands on a single line.Arun Isaac
We put isql commands on a single line in the hope that they will not be echoed thus leaking the password. * load-rdf.scm (delete-graph): Put isql commands on a single line.
2022-10-21Authenticate when deleting graph from virtuoso.Arun Isaac
* load-rdf.scm (delete-graph): Accept password argument. (main): Call delete-graph with password.
2022-06-24Try uploading twice into virtuoso.Arun Isaac
* load-rdf.scm (put-graph): Accept retry? argument, and retry if it is #t. (main): Call put-graph with a #t retry? argument.
2022-05-04Add script to load RDF into virtuoso.Arun Isaac
* load-rdf.scm: New file. * manifest.scm: Import virtuoso-ose from (gnu packages databases). Add virtuoso-ose to manifest.