Code examples: curl
SELECT ?effect ?effectLabel WHERE {
wd:Q84263196 wdt:P1542 ?effect .
MINUS { ?effect wdt:P31 wd:Q12184 }
MINUS { ?effect wdt:P31 wd:Q3241045 }
SERVICE wikibase:label { bd:serviceParam wikibase:language "en,en". }
}
curl -s https://raw.githubusercontent.com/egonw/SARS-CoV-2-Queries/master/sparql/effects.rq | sed 's+<lang/>+en+' > effects.rq
curl -H "Accept: text/tab-separated-values" -G https://query.wikidata.org/bigdata/namespace/wdq/sparql --data-urlencode query@effects.rq
This SPARQL query is available under CCZero.