Code examples: curl
SELECT ?genome WHERE {
wd:Q82069695 wdt:P527/wdt:P6800 ?genome .
SERVICE wikibase:label { bd:serviceParam wikibase:language "en,en". }
}
genome |
https://gisaid.org/CoV2020 |
https://www.ncbi.nlm.nih.gov/assembly/GCF_009858895.2 |
https://www.ncbi.nlm.nih.gov/genome/86693 |
https://www.ncbi.nlm.nih.gov/nuccore/1798174254 |
curl -s https://raw.githubusercontent.com/egonw/SARS-CoV-2-Queries/master/sparql/genomes.rq | sed 's+<lang/>+en+' > genomes.rq
curl -H "Accept: text/tab-separated-values" -G https://query.wikidata.org/bigdata/namespace/wdq/sparql --data-urlencode query@genomes.rq
This SPARQL query is available under CCZero.