query-27ef0b4eabc65d75d9998bc0f572117a

rq turtle/ttl

PropertiesWikiPathways ID (P2410)has part(s) (P527)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 ?wpid ?gene ?geneLabel ?protein ?proteinLabel ?compound ?compoundLabel WHERE {
  wd:Q29883419 wdt:P2410 ?wpid;
    wdt:P527 ?gene.
  ?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; v4("?compound"):::projected v2("?gene"):::projected v3("?protein"):::projected v1("?wpid"):::projected c1(["wd:Q29883419"]):::iri c7(["bd:serviceParam"]):::iri c9(["#91;AUTO_LANGUAGE#93;,en"]):::literal c1 --"wdt:P2410"--> v1 c1 --"wdt:P527"--> v2 v2 --"wdt:P688"--> v3 v3 --"wdt:P129"--> v4 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c7 --"wikibase:language"--> c9 end