SARS-CoV-2-Queries

allBetacoronaViruses.rq

Ejemplos de código: curl

SPARQL

SELECT ?virus ?virusLabel ?ncbi WHERE {
  ?virus wdt:P171+ wd:Q16532287 .
  OPTIONAL { ?virus wdt:P685 ?ncbi }
  SERVICE wikibase:label { bd:serviceParam wikibase:language "es,en". }
} ORDER BY ?virusLabel

ejecutar o editar

Resultados

virus ncbi
BANAL-103 (edit)
BANAL-52 (edit)
16BO133 (edit)
BM48-31 (edit)
Bat Hp-betacoronavirus Zhejiang2013 (edit)
Bat SARS CoV Rf1/2004 (edit) 347537
Bat SARS CoV Rm1/2004 (edit) 347536
Bat SARS CoV Rp3/2004 (edit) 349344
Bat SARS coronavirus Rp1 (edit) 349342
Betacoronavirus 1 (edit) 694003
BtKY72 (edit)
China Rattus coronavirus HKU24 (edit) 2501960
Civet SARS-CoV (edit)
Coronavirus Neoromicia/PML-PHE1/RSA/2011 (edit) 1368314
Eidolon bat coronavirus C704 (edit)
Embecovirus (edit) 2509481
Erinaceus coronavirus (edit)
Erinaceus hedgehog coronavirus HKU31 (edit) 2664184
Hedgehog coronavirus 1 (edit) 1965093
Hibecovirus (edit) 2509486
Hp-BatCoV HKU25 (edit)
Human coronavirus HKU1 (edit) 290028
Human coronavirus HKU1 (edit) 443239
London1_novel CoV 2012 (edit)
MERS-CoV (edit) 1335626
Merbecovirus (edit) 2509494
Murine coronavirus (edit) 694005
Myodes coronavirus 2JL14 (edit)
Nobecovirus (edit) 2509502
Pipistrellus bat coronavirus HKU5 (edit) 694008
RaTG13 (edit) 2709072
Rabbit Coronavirus HKU14 (edit) 1160968
RacCS203 (edit)
Rc-o319 (edit)
RhGB01 (edit)
RmYN02 (edit)
Rousettus bat coronavirus GCCDC1 (edit) 2501962
Rousettus bat coronavirus HKU9 (edit) 694006
RpYN06 (edit)
SARS coronavirus (edit) 694009
SARS coronavirus (edit) 227859
SARS coronavirus B024 (edit) 305407
SARS-CoV (edit)
SARS-CoV-2 (edit) 2697049
SHC014-CoV (edit) 1415851
SL-CoV-WIV1 (edit) 1415852
Sarbecovirus (edit) 2509511
Tylonycteris bat coronavirus HKU4 (edit) 694007

Ejemplos de código

curl

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

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

Esta consulta SPARQL está disponible en CCZero.