query-bbf155a02f6a316d8ecc647b05293e11
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#>
#defaultView:Graph
SELECT DISTINCT ?x ?xLabel ?y ?yLabel WHERE {
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE]". }
wd:Q37525 wdt:P279* ?x.
?x wdt:P279+ wd:Q133516.
?x wdt:P279 ?y
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?x"):::projected
v2("?y"):::projected
c7(["wd:Q133516"]):::iri
c2(["bd:serviceParam"]):::iri
c4(["#91;AUTO_LANGUAGE#93;"]):::literal
c5(["wd:Q37525"]):::iri
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c2 --"wikibase:language"--> c4
end
c5 --"wdt:P279"--> v1
v1 --"wdt:P279"--> c7
v1 --"wdt:P279"--> v2