SARS-CoV-2-Queries

virusGenesAll.rq

Ejemplos de código: curl

SPARQL

SELECT ?virus ?virusLabel ?gene ?geneLabel ?ncbigene WHERE {
  VALUES ?virus {
    wd:Q82069695 # SARS-CoV-2
    wd:Q16983360 # HKU1
    wd:Q16991954 # OC43
    wd:Q8351095  # NL63 
    wd:Q16983356 # 229E
    wd:Q4902157  # MERS-CoV
    wd:Q278567   # SARS-CoV
  }
  ?gene wdt:P703 ?virus ; wdt:P31 wd:Q7187 .
  OPTIONAL { ?gene wdt:P351 ?ncbigene }
  SERVICE wikibase:label { bd:serviceParam wikibase:language "es,en". }
} ORDER BY ?virus ?ncbigene ?gene

ejecutar o editar

Resultados

virus gene ncbigene
Human coronavirus 229E (edit) Record to support submission of GeneRIFs for a gene not in Gene (Coronavirus 229E; Human coronavirus (STRAIN 229E); Human coronavirus serogroup 229E; Human coronavirus strain 229E). (edit) 2828637
Human coronavirus 229E (edit) surface glycoprotein (edit) 918758
Human coronavirus 229E (edit) 4a protein (edit) 918759
Human coronavirus 229E (edit) 4b protein (edit) 918760
Human coronavirus 229E (edit) envelope protein (edit) 918761
Human coronavirus 229E (edit) membrane protein (edit) 918762
Human coronavirus 229E (edit) nucleocapsid protein (edit) 918763
Human coronavirus 229E (edit) replicase polyprotein 1a;replicase polyprotein 1ab (edit) 918764
Human coronavirus HKU1 (edit) nucleocapsid phosphoprotein (edit) 3200423
Human coronavirus HKU1 (edit) ORF8 (edit) 3200424
Human coronavirus HKU1 (edit) hemagglutinin-esterase glycoprotein (edit) 3200425
Human coronavirus HKU1 (edit) spike glycoprotein (edit) 3200426
Human coronavirus HKU1 (edit) non-structural protein (edit) 3200427
Human coronavirus HKU1 (edit) membrane glycoprotein (edit) 3200428
Human coronavirus HKU1 (edit) ORF1a polyprotein;ORF1ab polyprotein (edit) 3200429
Human coronavirus HKU1 (edit) envelope protein (edit) 3200430
Human coronavirus HKU1 (edit) Record to support submission of GeneRIFs for a gene not in Gene (CoV-HKU1; Human CoV/HKU1). (edit) 3293713
Human coronavirus OC43 (edit) Record to support submission of GeneRIFs for a gene not in Gene (Human coronavirus (strain OC43); Human coronavirus strain OC43). (edit) 2829172
Human coronavirus OC43 (edit) ns2 (edit) 39105215
Human coronavirus OC43 (edit) hemagglutinin-esterase (edit) 39105216
Human coronavirus OC43 (edit) envelope protein (edit) 39105217
Human coronavirus OC43 (edit) spike surface glycoprotein (edit) 39105218
Human coronavirus OC43 (edit) ns12.9 (edit) 39105219
Human coronavirus OC43 (edit) membrane protein (edit) 39105220
Human coronavirus OC43 (edit) I protein;nucleocapsid protein (edit) 39105221
Human coronavirus OC43 (edit) ORF1a polyprotein;ORF1ab polyprotein (edit) 39105222
SARS coronavirus (edit) E2 glycoprotein precursor (edit) 1489668
SARS coronavirus (edit) hypothetical protein sars3a (edit) 1489669
SARS coronavirus (edit) hypothetical protein sars3b (edit) 1489670
SARS coronavirus (edit) protein E (edit) 1489671
SARS coronavirus (edit) matrix protein (edit) 1489672
SARS coronavirus (edit) hypothetical protein sars6 (edit) 1489673
SARS coronavirus (edit) hypothetical protein sars7a (edit) 1489674
SARS coronavirus (edit) hypothetical protein sars7b (edit) 1489675
SARS coronavirus (edit) hypothetical protein sars8a (edit) 1489676
SARS coronavirus (edit) hypothetical protein sars8b (edit) 1489677
SARS coronavirus (edit) nucleocapsid protein (edit) 1489678
SARS coronavirus (edit) hypothetical protein sars9b (edit) 1489679
SARS coronavirus (edit) orf1a polyprotein (pp1a);orf1ab polyprotein (pp1ab) (edit) 1489680
SARS coronavirus (edit) Record to support submission of GeneRIFs for a gene not in Gene (Human coronavirus (strain SARS); SARS-like coronavirus; SARS-related coronavirus). (edit) 8673700
MERS-CoV (edit) spike protein (edit) 14254594
MERS-CoV (edit) NS3 protein (edit) 14254595
MERS-CoV (edit) NS4A protein (edit) 14254596
MERS-CoV (edit) NS4B protein (edit) 14254597
MERS-CoV (edit) NS5 protein (edit) 14254598
MERS-CoV (edit) envelope protein (edit) 14254599
MERS-CoV (edit) membrane protein (edit) 14254600
MERS-CoV (edit) nucleocapsid protein (edit) 14254601
MERS-CoV (edit) 1A polyprotein;1AB polyprotein (edit) 14254602
MERS-CoV (edit) Record to support submission of GeneRIFs for a gene not in Gene (MERS coronavirus; MERS virus; Middle East Respiratory Syndrome Coronavirus (MERS-CoV); Middle East respiratory syndrome coronavirus). (edit) 18938949
MERS-CoV (edit) ORF8b protein (edit) 19910005
SARS-CoV-2 (edit) ORF3d (edit)
SARS-CoV-2 (edit) Record to support submission of GeneRIFs for a gene not in Gene (COVID-19 virus; HCoV-19; Human coronavirus 2019; SARS-2; SARS-CoV2; SARS2). (edit) 43562271
SARS-CoV-2 (edit) surface glycoprotein (edit) 43740568
SARS-CoV-2 (edit) ORF3a protein-encoding gene (edit) 43740569
SARS-CoV-2 (edit) envelope protein (edit) 43740570
SARS-CoV-2 (edit) membrane glycoprotein (edit) 43740571
SARS-CoV-2 (edit) ORF6 protein (edit) 43740572
SARS-CoV-2 (edit) ORF7a protein (edit) 43740573
SARS-CoV-2 (edit) ORF7b (edit) 43740574
SARS-CoV-2 (edit) nucleocapsid phosphoprotein (edit) 43740575
SARS-CoV-2 (edit) ORF10 protein (edit) 43740576
SARS-CoV-2 (edit) ORF8 protein (edit) 43740577
SARS-CoV-2 (edit) ORF1a polyprotein;ORF1ab polyprotein (edit) 43740578
Coronavirus Humana NL63 (edit) Gen coronavirus humano NL63 (edit) 2943499
Coronavirus Humana NL63 (edit) protein 3 (edit) 2943500
Coronavirus Humana NL63 (edit) ORF1a polyprotein;ORF1ab polyprotein (edit) 2943501
Coronavirus Humana NL63 (edit) envelope protein (edit) 2943502
Coronavirus Humana NL63 (edit) membrane protein (edit) 2943503
Coronavirus Humana NL63 (edit) nucleocapsid protein (edit) 2943504
Coronavirus Humana NL63 (edit) Record to support submission of GeneRIFs for a gene not in Gene (Coronavirus NL63; Human coronavirus NL). (edit) 3293659

Ejemplos de código

curl

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

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

Esta consulta SPARQL está disponible en CCZero.