query-d467f8c29bd861cda11afebc7cd05415

rq turtle/ttl

title: All cell lines associated with glioblastoma SELECT ?disease ?diseaseLabel ?cellLines ?cellLinesLabel ?cellosaurusId WHERE { VALUES ?diseaseRoot { wd:Q282142 } ?cellLines wdt:P3289 ?cellosaurusId ; wdt:P5166 ?disease . ?disease wdt:P279* ?diseaseRoot . 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#>
#title: All cell lines associated with glioblastoma 
SELECT ?disease ?diseaseLabel ?cellLines ?cellLinesLabel ?cellosaurusId WHERE {
  VALUES ?diseaseRoot {  wd:Q282142 }
  ?cellLines wdt:P3289 ?cellosaurusId ;
            wdt:P5166 ?disease .
   ?disease wdt:P279* ?diseaseRoot .
    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; v2("?cellLines"):::projected v3("?cellosaurusId"):::projected v4("?disease"):::projected v1("?diseaseRoot") c5(["bd:serviceParam"]):::iri c7(["en"]):::literal bind0[/VALUES ?diseaseRoot/] bind0-->v1 bind00(["wd:Q282142"]) bind00 --> bind0 v2 --"wdt:P3289"--> v3 v2 --"wdt:P5166"--> v4 v4 --"wdt:P279"--> v1 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c5 --"wikibase:language"--> c7 end