query-843fad4334a6813bbe38c869897a405f
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?item {
?item wdt:P171/wdt:P171?/wdt:P171?/wdt:P171?/wdt:P171?/
wdt:P171?/wdt:P171?/wdt:P171? wd:Q756.
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?item"):::projected
a1((" "))
a2((" "))
a3((" "))
a4((" "))
a5((" "))
a6((" "))
a7((" "))
c2(["wd:Q756"]):::iri
v1 --"wdt:P171"--> a1
subgraph union0[" Union "]
subgraph union0l[" "]
style union0l fill:#abf,stroke-dasharray: 3 3;
a1 --"wdt:P171"--> a2
end
subgraph union0r[" "]
style union0r fill:#abf,stroke-dasharray: 3 3;
end
union0r <== or ==> union0l
end
subgraph union1[" Union "]
subgraph union1l[" "]
style union1l fill:#abf,stroke-dasharray: 3 3;
a2 --"wdt:P171"--> a3
end
subgraph union1r[" "]
style union1r fill:#abf,stroke-dasharray: 3 3;
end
union1r <== or ==> union1l
end
subgraph union2[" Union "]
subgraph union2l[" "]
style union2l fill:#abf,stroke-dasharray: 3 3;
a3 --"wdt:P171"--> a4
end
subgraph union2r[" "]
style union2r fill:#abf,stroke-dasharray: 3 3;
end
union2r <== or ==> union2l
end
subgraph union3[" Union "]
subgraph union3l[" "]
style union3l fill:#abf,stroke-dasharray: 3 3;
a4 --"wdt:P171"--> a5
end
subgraph union3r[" "]
style union3r fill:#abf,stroke-dasharray: 3 3;
end
union3r <== or ==> union3l
end
subgraph union4[" Union "]
subgraph union4l[" "]
style union4l fill:#abf,stroke-dasharray: 3 3;
a5 --"wdt:P171"--> a6
end
subgraph union4r[" "]
style union4r fill:#abf,stroke-dasharray: 3 3;
end
union4r <== or ==> union4l
end
subgraph union5[" Union "]
subgraph union5l[" "]
style union5l fill:#abf,stroke-dasharray: 3 3;
a6 --"wdt:P171"--> a7
end
subgraph union5r[" "]
style union5r fill:#abf,stroke-dasharray: 3 3;
end
union5r <== or ==> union5l
end
subgraph union6[" Union "]
subgraph union6l[" "]
style union6l fill:#abf,stroke-dasharray: 3 3;
a7 --"wdt:P171"--> c2
end
subgraph union6r[" "]
style union6r fill:#abf,stroke-dasharray: 3 3;
end
union6r <== or ==> union6l
end