aboutsummaryrefslogtreecommitdiff
path: root/scripts/db_enrichment/readme.md
diff options
context:
space:
mode:
authorPjotr Prins2020-11-06 12:48:00 +0000
committerPjotr Prins2020-11-06 12:48:00 +0000
commit7c74a20b90ca647ca387eff2ed830c22f5ba1282 (patch)
tree8583e915b945901a04907db4c9f924ee24be5bad /scripts/db_enrichment/readme.md
parent5fdfece97fb2d50a10eab5004a6467ec0097ece8 (diff)
downloadbh20-seq-resource-7c74a20b90ca647ca387eff2ed830c22f5ba1282.tar.gz
bh20-seq-resource-7c74a20b90ca647ca387eff2ed830c22f5ba1282.tar.lz
bh20-seq-resource-7c74a20b90ca647ca387eff2ed830c22f5ba1282.zip
Country trouble shooting
Diffstat (limited to 'scripts/db_enrichment/readme.md')
-rw-r--r--scripts/db_enrichment/readme.md12
1 files changed, 7 insertions, 5 deletions
diff --git a/scripts/db_enrichment/readme.md b/scripts/db_enrichment/readme.md
index 88e8be5..7539104 100644
--- a/scripts/db_enrichment/readme.md
+++ b/scripts/db_enrichment/readme.md
@@ -11,11 +11,13 @@ File containing information about the countries in our database. Additional info
This SPARQL query (http://sparql.genenetwork.org/sparql/) retrieves all countries (ids) from our database that do not have a label yet:
->SELECT DISTINCT ?geoLocation WHERE
->{
->?fasta ?x [ <<http://purl.obolibrary.org/obo/GAZ_00000448>> ?geoLocation] .
->FILTER NOT EXISTS {?geoLocation <<http://www.w3.org/2000/01/rdf-schema#label>> ?geoLocation_tmp_label}
->}
+```sparql
+SELECT DISTINCT ?geoLocation WHERE
+{
+ ?fasta ?x [ <http://purl.obolibrary.org/obo/GAZ_00000448> ?geoLocation] .
+ FILTER NOT EXISTS {?geoLocation <http://www.w3.org/2000/01/rdf-schema#label> ?geoLocation_tmp_label}
+}
+```
[Run query](http://sparql.genenetwork.org/sparql/?default-graph-uri=&query=%0D%0ASELECT+DISTINCT+%3FgeoLocation++WHERE%0D%0A%7B%0D%0A++%3Ffasta+%3Fx+%5B+%3Chttp%3A%2F%2Fpurl.obolibrary.org%2Fobo%2FGAZ_00000448%3E+%3FgeoLocation%5D+.%0D%0A++FILTER+NOT+EXISTS+%7B%3FgeoLocation+%3Chttp%3A%2F%2Fwww.w3.org%2F2000%2F01%2Frdf-schema%23label%3E+%3FgeoLocation_tmp_label%7D%0D%0A%7D&format=text%2Fhtml&timeout=0&debug=on&run=+Run+Query+)