aboutsummaryrefslogtreecommitdiff
path: root/bh20simplewebuploader
diff options
context:
space:
mode:
authorPjotr Prins2020-11-16 11:15:33 +0000
committerPjotr Prins2020-11-16 11:15:33 +0000
commitee8ea88dd6b372143c6b08f56856666ce2d0b622 (patch)
tree208e9a377ca63f128a9849b6c3c10f21ff6a4178 /bh20simplewebuploader
parent15264306d255042b0880409f40d5c69a007d8193 (diff)
downloadbh20-seq-resource-ee8ea88dd6b372143c6b08f56856666ce2d0b622.tar.gz
bh20-seq-resource-ee8ea88dd6b372143c6b08f56856666ce2d0b622.tar.lz
bh20-seq-resource-ee8ea88dd6b372143c6b08f56856666ce2d0b622.zip
Demo: add comment
Diffstat (limited to 'bh20simplewebuploader')
-rw-r--r--bh20simplewebuploader/main.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bh20simplewebuploader/main.py b/bh20simplewebuploader/main.py
index 9e817fb..9823e11 100644
--- a/bh20simplewebuploader/main.py
+++ b/bh20simplewebuploader/main.py
@@ -1103,9 +1103,9 @@ PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>"""
?seq ?x [obo:GAZ_00000448 ?geoLocation] .
?geoLocation rdfs:label ?geoLocation_label
}
- GROUP BY ?geoLocation ?geoLocation_label
+ GROUP BY ?geoLocation ?geoLocation_label ORDER BY DESC (?seqCount)
"""
- description = "Get count of all sequences grouped by geoLocation and geoLocation_label (1-to-1 relationship)"
+ description = "Get count of all sequences grouped by geoLocation and geoLocation_label (1-to-1 relationship) - spot the champions of open data!"
payload = {'query': prefix+query, 'format': 'json'}
r = requests.get(sparqlURL, params=payload)
result = r.json()['results']['bindings']