Code examples: curl
SELECT ?cpx ?complex ?complexLabel WHERE {
?complex wdt:P7718 ?cpx ;
wdt:P703 wd:Q82069695
SERVICE wikibase:label { bd:serviceParam wikibase:language "pt,en". }
}
curl -s https://raw.githubusercontent.com/egonw/SARS-CoV-2-Queries/master/sparql/complexes.rq | sed 's+<lang/>+pt+' > complexes.rq
curl -H "Accept: text/tab-separated-values" -G https://query.wikidata.org/bigdata/namespace/wdq/sparql --data-urlencode query@complexes.rq
This SPARQL query is available under CCZero.