query-f4fad9d56dc0c9b28bae166f1d48d23a
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 ?person ?schoolLabel WHERE {
?person wdt:P106/wdt:P279* wd:Q639669 ; wdt:P136/wdt:P279* wd:Q373342 ; wdt:P69 ?school .
?school wdt:P31/wdt:P279* wd:Q30892578 .
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?person"):::projected
v2("?school")
a1((" "))
a2((" "))
a3((" "))
c8(["wd:Q30892578"]):::iri
c10(["bd:serviceParam"]):::iri
c5(["wd:Q373342"]):::iri
c3(["wd:Q639669"]):::iri
c12(["#91;AUTO_LANGUAGE#93;,en"]):::literal
v1 --"wdt:P106"--> a1
a1 --"wdt:P279"--> c3
v1 --"wdt:P136"--> a2
a2 --"wdt:P279"--> c5
v1 --"wdt:P69"--> v2
v2 --"wdt:P31"--> a3
a3 --"wdt:P279"--> c8
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c10 --"wikibase:language"--> c12
end