query-d2844e95a4970379e80e11af2c67a03c
TODO
Use at
- https://query.wikidata.org/sparql
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
{
VALUES ?P31 { wd:Q607241 wd:Q17051104}
?item wdt:P31 ?P31 .
?item wdt:P17 wd:Q20 .
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],no,nn,en". }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?P31")
v2("?item"):::projected
c5(["bd:serviceParam"]):::iri
c7(["#91;AUTO_LANGUAGE#93;,no,nn,en"]):::literal
c3(["wd:Q20"]):::iri
bind0[/VALUES ?P31/]
bind0-->v1
bind00(["wd:Q607241"])
bind00 --> bind0
bind01(["wd:Q17051104"])
bind01 --> bind0
v2 --"wdt:P31"--> v1
v2 --"wdt:P17"--> c3
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c5 --"wikibase:language"--> c7
end