aboutsummaryrefslogtreecommitdiff
path: root/bh20simplewebuploader
diff options
context:
space:
mode:
authorPeter Amstutz2020-11-10 11:54:10 -0500
committerGitHub2020-11-10 11:54:10 -0500
commit992c52f490024ffa34ac6c37c2e9434d34349340 (patch)
tree39e06404e04f1ac4ea0db3d368c029c2c55ee357 /bh20simplewebuploader
parentd213801678926e16135299a2e3ca0392a821507b (diff)
parentc01188ec20936462357b317f81567aadc64c8f33 (diff)
downloadbh20-seq-resource-992c52f490024ffa34ac6c37c2e9434d34349340.tar.gz
bh20-seq-resource-992c52f490024ffa34ac6c37c2e9434d34349340.tar.lz
bh20-seq-resource-992c52f490024ffa34ac6c37c2e9434d34349340.zip
Merge pull request #116 from arvados/uuid-for-resource
Use arvados uuids for RDF subjects.
Diffstat (limited to 'bh20simplewebuploader')
-rw-r--r--bh20simplewebuploader/main.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/bh20simplewebuploader/main.py b/bh20simplewebuploader/main.py
index fc145e6..1d7154c 100644
--- a/bh20simplewebuploader/main.py
+++ b/bh20simplewebuploader/main.py
@@ -707,6 +707,11 @@ union
<http://covid19.genenetwork.org/resource/{id}> pubseq:sample ?sample .
?sequenceuri pubseq:sample ?sample .
}}
+union
+{{
+ ?sequenceuri <http://biohackathon.org/bh20-seq-schema/collection_pdh> "{id}" .
+ ?sequenceuri pubseq:sample ?sample .
+}}
?sample <http://purl.obolibrary.org/obo/GAZ_00000448> ?geo .
?geo rdfs:label ?geoname .