query-92399286938a04b9be7e269d1e378722

rq turtle/ttl

removing VALUES from result setThis must be a FAQ. Using VALUES to collect parts of the result is straightforward:

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 ?item ?itemLabel 
WHERE 
{
  ?item wdt:P31 wd:Q13442814.
  ?item wdt:P921 wd:Q164778.
  VALUES ?prot { wd:Q83133549 wd:Q24745872 wd:Q24770641 }
  ?item wdt:P921 ?prot.
  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; v1("?item"):::projected v2("?prot") c2(["wd:Q13442814"]):::iri c6(["bd:serviceParam"]):::iri c4(["wd:Q164778"]):::iri c8(["#91;AUTO_LANGUAGE#93;,en"]):::literal v1 --"wdt:P31"--> c2 v1 --"wdt:P921"--> c4 bind0[/VALUES ?prot/] bind0-->v2 bind00(["wd:Q83133549"]) bind00 --> bind0 bind01(["wd:Q24745872"]) bind01 --> bind0 bind02(["wd:Q24770641"]) bind02 --> bind0 v1 --"wdt:P921"--> v2 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c6 --"wikibase:language"--> c8 end