query-5736fb2a2f4175bf22b3eddaf738e4ff

rq turtle/ttl

Propertiespart of (P361)has part(s) (P527)UniProt protein ID (P352)encodes (P688)physically interacts with (P129)

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT DISTINCT  ?gene ?geneLabel ?protein ?proteinLabel ?compound ?compoundLabel WHERE {
  VALUES ?item {wd:Q37753018} 
  ?pwpart wdt:P361* ?item ;
          wdt:P527 ?protein .
  ?protein wdt:P352 ?uniprot .
  ?gene wdt:P688 ?protein .
  ?protein wdt:P129 ?compound .
   SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v6("?compound"):::projected v5("?gene"):::projected v1("?item") v3("?protein"):::projected v2("?pwpart") v4("?uniprot") c7(["bd:serviceParam"]):::iri c9(["#91;AUTO_LANGUAGE#93;,en"]):::literal bind0[/VALUES ?item/] bind0-->v1 bind00(["wd:Q37753018"]) bind00 --> bind0 v2 --"wdt:P361"--> v1 v2 --"wdt:P527"--> v3 v3 --"wdt:P352"--> v4 v5 --"wdt:P688"--> v3 v3 --"wdt:P129"--> v6 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c7 --"wikibase:language"--> c9 end