SARS-CoV-2-Queries

symptoms.rq

Code examples: curl

SPARQL

SELECT ?symptom ?symptomLabel WHERE {
  wd:Q84263196 wdt:P780 ?symptom .
  SERVICE wikibase:label { bd:serviceParam wikibase:language "pt,en". }
}

run or edit

Output

symptom
cefaleia (edit)
anemia (edit)
fadiga (edit)
tosse (edit)
febre (edit)
diarreia (edit)
hipóxia (edit)
delirium (edit)
conjuntivite (edit)
psicose (edit)
dor abdominal (edit)
disfunção erétil (edit)
náusea (edit)
dispneia (edit)
encefalite (edit)
anorexia (edit)
síndrome de burnout (edit)
anosmia (edit)
mialgia (edit)
linfocitopenia (edit)
enantema (edit)
ageusia (edit)
hemoptise (edit)
lesão cerebral (edit)
insuficiência respiratória (edit)
arrepio (edit)
pneumonia viral (edit)
congestão nasal (edit)

Code examples

curl

curl -s https://raw.githubusercontent.com/egonw/SARS-CoV-2-Queries/master/sparql/symptoms.rq | sed 's+<lang/>+pt+' > symptoms.rq

curl -H "Accept: text/tab-separated-values" -G https://query.wikidata.org/bigdata/namespace/wdq/sparql --data-urlencode query@symptoms.rq

This SPARQL query is available under CCZero.