query-36711e540dd9e5ae09fc8dd797dfb29f
Propertiesinstance of (P31)employer (P108)image (P18)educated at (P69)
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 ?item ?itemLabel ?image ?school ?schoolLabel ("00FFFF" AS ?rgb) WHERE {
?item wdt:P31 wd:Q5.
?item wdt:P108 wd:Q750428.
OPTIONAL { ?item wdt:P18 ?image. }
?item wdt:P69 ?school.
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;
v2("?image"):::projected
v1("?item"):::projected
v4("?rgb")
v3("?school"):::projected
c8(["bd:serviceParam"]):::iri
c2(["wd:Q5"]):::iri
c10(["#91;AUTO_LANGUAGE#93;,en"]):::literal
c4(["wd:Q750428"]):::iri
v1 --"wdt:P31"--> c2
v1 --"wdt:P108"--> c4
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P18".-> v2
end
v1 --"wdt:P69"--> v3
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c8 --"wikibase:language"--> c10
end
bind0[/"'00FFFF'"/]
bind0 --as--o v4