query-7bfb095d53d1a9b785444c3ef5fdc4a3
Propertieseducated at (P69)instance of (P31)
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT (COUNT(?alum) AS ?count)
WHERE {
{ ?alum wdt:P69 wd:Q34433 }
UNION { ?alum wdt:P69/wdt:P31 wd:Q2581649 }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?alum"):::projected
v2("?count")
a1((" "))
c2(["wd:Q34433"]):::iri
c4(["wd:Q2581649"]):::iri
subgraph union0[" Union "]
subgraph union0l[" "]
style union0l fill:#abf,stroke-dasharray: 3 3;
v1 --"wdt:P69"--> a1
a1 --"wdt:P31"--> c4
end
subgraph union0r[" "]
style union0r fill:#abf,stroke-dasharray: 3 3;
v1 --"wdt:P69"--> c2
end
union0r <== or ==> union0l
end
bind1[/"count(?alum)"/]
v1 --o bind1
bind1 --as--o v2