diff options
author | Pjotr Prins | 2020-11-06 10:13:05 +0000 |
---|---|---|
committer | Pjotr Prins | 2020-11-06 10:13:05 +0000 |
commit | d75f1c74fbf86652b02520de6ed46c981cf27e50 (patch) | |
tree | 6c2744b7830453c20292b83d9aa0e9245abee4c2 /scripts/db_enrichment/readme.md | |
parent | 43d7264dda8061a024befbc9ca0a89d7159b1e40 (diff) | |
download | bh20-seq-resource-d75f1c74fbf86652b02520de6ed46c981cf27e50.tar.gz bh20-seq-resource-d75f1c74fbf86652b02520de6ed46c981cf27e50.tar.lz bh20-seq-resource-d75f1c74fbf86652b02520de6ed46c981cf27e50.zip |
Adding Tennessee items
Diffstat (limited to 'scripts/db_enrichment/readme.md')
-rw-r--r-- | scripts/db_enrichment/readme.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/db_enrichment/readme.md b/scripts/db_enrichment/readme.md index 55ec496..88e8be5 100644 --- a/scripts/db_enrichment/readme.md +++ b/scripts/db_enrichment/readme.md @@ -17,5 +17,7 @@ This SPARQL query (http://sparql.genenetwork.org/sparql/) retrieves all countrie >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+) + - Use the list of identifiers created with the query above as input for the update script *country_enrichment.py*. The script creates a temporary .ttl file in this folder - Merge the output of the script above manually into the file semantic_enrichment/countries.ttl (TODO: Improve script output so manual intervention no longer needed. Currently there are "double entries" for continents in the output) |