query-7cde2b29bcd57f49ec3290d1d5001d73

rq turtle/ttl

Which variant of which gene predicts a positive prognosis in colorectal cancer SELECT ?geneLabel ?variantLabel WHERE {
values ?disease {wd:Q188874} ?variant wdt:P3358 ?disease ; # P3358 Positive prognostic predictor wdt:P3433 ?gene . # P3433 biological variant of SERVICE wikibase:label { bd:serviceParam wikibase:language "en" } }

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#>
#Which variant of which gene predicts a positive prognosis in colorectal cancer
SELECT ?geneLabel ?variantLabel WHERE {  
  values ?disease {wd:Q188874}
  ?variant wdt:P3358 ?disease ; # P3358 Positive prognostic predictor
           wdt:P3433 ?gene . # P3433 biological variant of
  SERVICE wikibase:label { bd:serviceParam wikibase:language "en" }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?disease") v3("?gene") v2("?variant") c4(["bd:serviceParam"]):::iri c6(["en"]):::literal bind0[/VALUES ?disease/] bind0-->v1 bind00(["wd:Q188874"]) bind00 --> bind0 v2 --"wdt:P3358"--> v1 v2 --"wdt:P3433"--> v3 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c4 --"wikibase:language"--> c6 end