aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorPjotr Prins2020-05-13 09:22:49 -0500
committerPjotr Prins2020-05-13 09:22:49 -0500
commit7988ed860ef5a5c08384dc438df4e8e7012de4d6 (patch)
treec29b8b65926c01d9040f1bdebb5bd809578842b8 /scripts
parent0db3674b14ee441851999cab091a487aa5286550 (diff)
downloadbh20-seq-resource-7988ed860ef5a5c08384dc438df4e8e7012de4d6.tar.gz
bh20-seq-resource-7988ed860ef5a5c08384dc438df4e8e7012de4d6.tar.lz
bh20-seq-resource-7988ed860ef5a5c08384dc438df4e8e7012de4d6.zip
Virtuoso: split named graphs
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/update_virtuoso/check_for_updates.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/update_virtuoso/check_for_updates.py b/scripts/update_virtuoso/check_for_updates.py
index 0f84fb1..fb69ff4 100755
--- a/scripts/update_virtuoso/check_for_updates.py
+++ b/scripts/update_virtuoso/check_for_updates.py
@@ -24,7 +24,7 @@ def upload(fn):
# cmd = ("curl --digest --user dba:%s --verbose --url -G http://sparql.genenetwork.org/sparql-graph-crud-auth --data-urlencode graph=http://covid-19.genenetwork.org/graph -X DELETE" % pwd).split(" ")
print("UPLOAD "+fn)
- cmd = ("curl -X PUT --digest -u dba:%s -H Content-Type:text/turtle -T %s -G http://sparql.genenetwork.org/sparql-graph-crud-auth --data-urlencode graph=http://covid-19.genenetwork.org/graph" % (pwd, fn) ).split(" ")
+ cmd = ("curl -X PUT --digest -u dba:%s -H Content-Type:text/turtle -T %s -G http://sparql.genenetwork.org/sparql-graph-crud-auth --data-urlencode graph=http://covid-19.genenetwork.org/graph/%s" % (pwd, fn, fn) ).split(" ")
print(cmd)
p = subprocess.Popen(cmd)
output = p.communicate()[0]