PRA3006-SPARQL

wikidataProteins.rq

Database Wikidata
SPARQl endpoint https://query.wikidata.org/bigdata/namespace/wdq/sparql
License CCZero

Code examples: curl

SPARQL

PREFIX wdt: <http://www.wikidata.org/prop/direct/>

SELECT * WHERE {
  ?o wdt:P31 wd:Q8054.
  ?o rdfs:label ?l.
  FILTER(LANG(?l)='en')
} LIMIT 10

Run or Edit

Output

o l
http://www.wikidata.org/entity/Q409065 Uroporphyrinogen decarboxylase
http://www.wikidata.org/entity/Q409106 marker of proliferation Ki-67
http://www.wikidata.org/entity/Q409114 Sex determining region Y
http://www.wikidata.org/entity/Q409166 Coagulation factor II, thrombin
http://www.wikidata.org/entity/Q24190 Neurotrophin 3
http://www.wikidata.org/entity/Q30530 Histidine ammonia-lyase
http://www.wikidata.org/entity/Q58321 protein kinase
http://www.wikidata.org/entity/Q63398 Chromogranin B
http://www.wikidata.org/entity/Q74314 Titin
http://www.wikidata.org/entity/Q74581 Growth differentiation factor 15

Code examples

curl

curl -o wikidataProteins.rq https://raw.githubusercontent.com/BiGCAT-UM/PRA3006-SPARQL/master/sparql/wikidataProteins.rq
curl -H "Accept: text/tab-separated-values" -G https://query.wikidata.org/bigdata/namespace/wdq/sparql --data-urlencode query@wikidataProteins.rq

This SPARQL query is available under CCZero.