SARS-CoV-2-Queries

virusProteinsAll.rq

Code examples: curl

SPARQL

SELECT ?virus ?virusLabel ?protein ?proteinLabel ?refseq ?uniprot 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
  }
  ?protein wdt:P703 ?virus ; wdt:P31 wd:Q8054 .
  OPTIONAL { ?protein wdt:P637 ?refseq }
  OPTIONAL { ?protein wdt:P352 ?uniprot }
  SERVICE wikibase:label { bd:serviceParam wikibase:language "en,en". }
} ORDER BY ?virus

run or edit

Output

virus protein refseq uniprot
Human coronavirus 229E (edit) Non-structural protein 4a (edit) NP_073552.1 P19739
Human coronavirus 229E (edit) Non-structural protein 4b (edit) NP_073553.1 P19740
Human coronavirus 229E (edit) Spike glycoprotein (edit) NP_073551.1 P15423
Human coronavirus 229E (edit) Membrane protein (edit) NP_073555.1 P15422
Human coronavirus 229E (edit) Nucleoprotein (edit) NP_073556.1 P15130
Human coronavirus 229E (edit) Envelope small membrane protein (edit) NP_073554.1 P19741
Human coronavirus 229E (edit) Replicase polyprotein 1a (edit) NP_073550.1 P0C6U2
Human coronavirus 229E (edit) Replicase polyprotein 1ab (edit) NP_073549.1 P0C6X1
Human coronavirus HKU1 (edit) Protein I (edit) YP_173243.1 Q5MQC5
Human coronavirus HKU1 (edit) Spike glycoprotein (edit) E0YJ44
Human coronavirus HKU1 (edit) Non-structural protein 4 (edit) YP_173239.1 Q5MQC9
Human coronavirus HKU1 (edit) Spike glycoprotein (edit) YP_173238.1 Q5MQD0
Human coronavirus HKU1 (edit) Envelope small membrane protein (edit) YP_173240.1 Q5MQC8
Human coronavirus HKU1 (edit) Nucleoprotein (edit) YP_173242.1 Q5MQC6
Human coronavirus HKU1 (edit) Replicase polyprotein 1ab (edit) YP_173236.1 P0C6X2
Human coronavirus HKU1 (edit) Hemagglutinin-esterase (edit) YP_173237.1 Q5MQD1
Human coronavirus HKU1 (edit) Membrane protein (edit) YP_173241.1 Q5MQC7
Human coronavirus OC43 (edit) envelope protein (edit) YP_009555243.1
Human coronavirus OC43 (edit) ns2 (edit) YP_009555239.1
Human coronavirus OC43 (edit) ns12.9 (edit) YP_009555242.1
Human coronavirus OC43 (edit) nucleocapsid protein (edit) YP_009555245.1
Human coronavirus OC43 (edit) spike surface glycoprotein (edit) YP_009555241.1
Human coronavirus OC43 (edit) Orf1ab (edit) YP_009555238.1
Human coronavirus OC43 (edit) membrane protein (edit) YP_009555244.1
Human coronavirus OC43 (edit) hemagglutinin-esterase (edit) YP_009555240.1
severe acute respiratory syndrome-related coronavirus (edit) Envelope small membrane protein [SARS-Cov] (edit) NP_828854.1 P59637
severe acute respiratory syndrome-related coronavirus (edit) Non-structural protein NS6 [SARS-Cov] (edit) NP_828856.1 P59634
severe acute respiratory syndrome-related coronavirus (edit) Protein 9b [SARS-Cov] (edit) NP_828859.1 P59636
severe acute respiratory syndrome-related coronavirus (edit) Protein non-structural 7b [SARS-Cov] (edit) NP_849175.1 Q7TFA1
severe acute respiratory syndrome-related coronavirus (edit) Protein 3a [SARS-Cov] (edit) NP_828852.2 P59632
severe acute respiratory syndrome-related coronavirus (edit) Membrane protein [SARS-Cov] (edit) NP_828855.1 P59596
severe acute respiratory syndrome-related coronavirus (edit) Non-structural protein 3b [SARS-Cov] (edit) NP_828853.1 P59633
severe acute respiratory syndrome-related coronavirus (edit) spike glycoprotein [SARS-Cov] (edit) NP_828851.1 P59594
severe acute respiratory syndrome-related coronavirus (edit) Replicase polyprotein 1a (edit) P0C6U8
severe acute respiratory syndrome-related coronavirus (edit) protein non-structural 8a [SARS-Cov] (edit) NP_849176.1 Q7TFA0
severe acute respiratory syndrome-related coronavirus (edit) protein non-structural 8b [SARS-Cov] (edit) NP_849177.1 Q80H93
Middle East respiratory syndrome coronavirus (edit) spike glycoprotein (edit) YP_009047204.1 K9N5Q8
Middle East respiratory syndrome coronavirus (edit) nucleoprotein (edit) YP_009047211.1 K9N4V7
Middle East respiratory syndrome coronavirus (edit) NS3 protein (edit) YP_009047205.1 K9N796
Middle East respiratory syndrome coronavirus (edit) NS4B protein (edit) YP_009047207.1 K9N643
Middle East respiratory syndrome coronavirus (edit) Envelope small membrane protein (edit) K9N5R3
Middle East respiratory syndrome coronavirus (edit) Replicase polyprotein 1ab (edit) K9N7C7
Middle East respiratory syndrome coronavirus (edit) Non-structural protein ORF5 (edit) K9N7D2
Middle East respiratory syndrome coronavirus (edit) Replicase polyprotein 1a (edit) K9N638
Middle East respiratory syndrome coronavirus (edit) Membrane protein (edit) K9N7A1
SARS-CoV-2 (edit) Non-structural protein 10 [SARS CoV-2] (edit)
SARS-CoV-2 (edit) non-structural protein 15 [SARS-CoV-2] (edit)
SARS-CoV-2 (edit) non-structural protein 16 [SARS-CoV-2] (edit)
SARS-CoV-2 (edit) Papain-like proteinase [SARS-CoV-2] (edit) YP_009725299.1
SARS-CoV-2 (edit) non-structural protein 5 [SARS-CoV-2] (edit) YP_009725301
SARS-CoV-2 (edit) nucleocapsid protein [SARS-CoV-2] (edit) YP_009724397.2 P0DTC9
SARS-CoV-2 (edit) spike glycoprotein (edit) YP_009724390.1 P0DTC2
SARS-CoV-2 (edit) orf1ab polyprotein [SARS-Cov 2] (edit) QHD43415 P0DTD1
SARS-CoV-2 (edit) Viroporin 3a [SARS-CoV-2] (edit) YP_009724391.1 P0DTC3
SARS-CoV-2 (edit) envelope protein [SARS-CoV-2] (edit) YP_009724392.1 P0DTC4
SARS-CoV-2 (edit) membrane protein [SARS-CoV-2] (edit) YP_009724393.1 P0DTC5
SARS-CoV-2 (edit) Non-structural protein 6 [SARS-CoV-2] (edit) P0DTC6
SARS-CoV-2 (edit) ORF1a polyprotein (edit) P0DTC1
SARS-CoV-2 (edit) Protein 7a [SARS-CoV-2] (edit) YP_009724395.1 P0DTC7
SARS-CoV-2 (edit) Protein non-structural 7b [SARS-CoV-2] (edit) YP_009725318.1 P0DTD8
SARS-CoV-2 (edit) Non-structural protein 8 [SARS-CoV-2] (edit) P0DTC8
SARS-CoV-2 (edit) Non-structural protein 2 [SARS CoV-2] (edit)
SARS-CoV-2 (edit) ORF8 protein (edit) YP_009724396.1
SARS-CoV-2 (edit) ORF6 protein (edit) YP_009724394.1
SARS-CoV-2 (edit) ORF10 protein [SARS-CoV-2] (edit) YP_009725255.1 A0A663DJA2
SARS-CoV-2 (edit) Protein 9b (edit) P0DTD2
SARS-CoV-2 (edit) Non-structural protein 9 [SARS-CoV-2] (edit)
SARS-CoV-2 (edit) Host translation inhibitor nsp1 [SARS-CoV-2] (edit)
SARS-CoV-2 (edit) Non-structural protein 4 [SARS-CoV-2] (edit)
SARS-CoV-2 (edit) Non-structural protein 7 [SARS-CoV-2] (edit)
SARS-CoV-2 (edit) Non-structural protein 14 [SARS-CoV-2] (edit)
SARS-CoV-2 (edit) Non-structural protein 12 [SARS CoV-2] (edit)
SARS-CoV-2 (edit) Non-structural protein 13 [SARS CoV-2] (edit)
SARS-CoV-2 (edit) Uncharacterized protein 14 (edit) P0DTD3
SARS-CoV-2 (edit) ORF7a protein (edit) YP_009724395.1
SARS-CoV-2 (edit) surface glycoprotein (edit) YP_009724390.1
SARS-CoV-2 (edit) ORF7b (edit) YP_009725318.1
SARS-CoV-2 (edit) envelope protein (edit) YP_009724392.1
SARS-CoV-2 (edit) nucleocapsid phosphoprotein (edit) YP_009724397.2
SARS-CoV-2 (edit) ORF10 protein (edit) YP_009725255.1
SARS-CoV-2 (edit) membrane glycoprotein (edit) YP_009724393.1
SARS-CoV-2 (edit) ORF6 protein (edit) YP_009724394.1
Human Coronavirus NL63 (edit) Spike glycoprotein (edit) YP_003767.1 Q6Q1S2
Human Coronavirus NL63 (edit) Non-structural protein 3 (edit) YP_003768.1 Q6Q1S1
Human Coronavirus NL63 (edit) Envelope small membrane protein (edit) YP_003769.1 Q6Q1S0
Human Coronavirus NL63 (edit) Nucleoprotein (edit) YP_003771.1 Q6Q1R8
Human Coronavirus NL63 (edit) Membrane protein (edit) YP_003770.1 Q6Q1R9
Human Coronavirus NL63 (edit) Replicase polyprotein 1ab (edit) YP_003766.2 P0C6X5

Code examples

curl

curl -o virusProteinsAll.rq https://raw.githubusercontent.com/egonw/SARS-CoV-2-Queries/master/sparql/virusProteinsAll.rq
curl -H "Accept: text/tab-separated-values" -G https://query.wikidata.org/bigdata/namespace/wdq/sparql --data-urlencode query@virusProteinsAll.rq

This SPARQL query is available under CCZero.