SARS-CoV-2-Queries

complexes.rq

コード例: curl

SPARQL

SELECT ?cpx ?complex ?complexLabel WHERE {
  ?complex wdt:P7718 ?cpx ;
           wdt:P703 wd:Q82069695
  SERVICE wikibase:label { bd:serviceParam wikibase:language "ja,en". }
}

実行 もしくは 編集

結果

cpx complex
CPX-5687 SARS-CoV-2 NSP9 complex (edit)
CPX-5683 SARS-CoV-2 Spike - human ACE2 receptor complex (edit)
CPX-5684 SARS-CoV-2 Spike - human ACE2-SLC6A19 complex (edit)
CPX-5682 SARS-CoV-2 cleaved Spike protein complex (edit)
CPX-5685 SARS-CoV-2 main protease complex (edit)
CPX-5686 SARS-CoV-2 nucleocapsid complex (edit)
CPX-5688 SARS-CoV-2 NSP10-NSP16 2'-O-methyltransferase complex (edit)
CPX-5689 SARS-CoV-2 NSP15 complex (edit)
CPX-5690 SARS-CoV-2 primase complex (edit)
CPX-5691 SARS-CoV-2 NSP3-NSP4-NSP6 complex (edit)
CPX-5692 SARS-CoV-2 3'-5' exoribonuclease proof-reading complex (edit)
CPX-5742 SARS-CoV-2 polymerase complex (edit)
CPX-6098 SARS-CoV-2 3a complex (edit)
CPX-6100 SARS-CoV-2 9b complex (edit)
CPX-6147 SARS-CoV-2 ORF8 complex (edit)
CPX-6442 SARS-CoV-2 replication and transcription complex (edit)
CPX-6761 SARS-CoV-2 Spike - human CLEC4M lectin complex (edit)
CPX-7041 SARS-CoV-2 Cap(0)-replication and transcription complex (edit)
CPX-7042 SARS-CoV-2 uncleaved Spike protein complex (edit)
CPX-7043 SARS-CoV-2 post-fusion S2 Spike complex (edit)
CPX-7083 SARS-CoV-2 dimeric Cap(0)-replication and transcription complex (edit)

コード例

curl

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

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

本SPARQLクエリはCC0ライセンスで利用可能です。