query-7f561372bf78b4240c3376ba35d85426
Propertiesinstance of (P31)part of (P361)
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 ?x ?xLabel WHERE {
VALUES ?team {wd:Q1785271 wd:Q20639847 wd:Q20653563 wd:Q20638319 wd:Q6154783 wd:Q382927
wd:Q20653564 wd:Q1756006 wd:Q20653566 wd:Q20639848 wd:Q20652655}
?x wdt:P31 ?team.
FILTER NOT EXISTS {?x wdt:P361 ?g}
SERVICE wikibase:label {bd:serviceParam wikibase:language "de,en,fr,es,nl,ca"}
} ORDER BY DESC(?x)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?g")
v3("?team")
v1("?x"):::projected
c4(["bd:serviceParam"]):::iri
c6(["de,en,fr,es,nl,ca"]):::literal
f0[["not "]]
subgraph f0e0["Exists Clause"]
e0v1 --"wdt:P361"--> e0v2
e0v2("?g"):::projected
e0v1("?x"):::projected
end
f0--EXISTS--> f0e0
f0 --> v1
f0 --> c1
f0 --> v2
v1 --"wdt:P361"--> v2
bind1[/VALUES ?team/]
bind1-->v3
bind10(["wd:Q1785271"])
bind10 --> bind1
bind11(["wd:Q20639847"])
bind11 --> bind1
bind12(["wd:Q20653563"])
bind12 --> bind1
bind13(["wd:Q20638319"])
bind13 --> bind1
bind14(["wd:Q6154783"])
bind14 --> bind1
bind15(["wd:Q382927"])
bind15 --> bind1
bind16(["wd:Q20653564"])
bind16 --> bind1
bind17(["wd:Q1756006"])
bind17 --> bind1
bind18(["wd:Q20653566"])
bind18 --> bind1
bind19(["wd:Q20639848"])
bind19 --> bind1
bind110(["wd:Q20652655"])
bind110 --> bind1
v1 --"wdt:P31"--> v3
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c4 --"wikibase:language"--> c6
end