query-b5fd4f615e056ea49574b8e0be1c0752
Propertiesinstance of (P31)image (P18)award received (P166)point in time (P585)
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 ps: <http://www.wikidata.org/prop/statement/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?person ?personLabel ?image ?year
WHERE {
?person wdt:P31 wd:Q5 ;
p:P166 [ps:P166 wd:Q8024208; pq:P585 ?year].
OPTIONAL {?person wdt:P18 ?image}.
SERVICE wikibase:label {
bd:serviceParam wikibase:language "en" .
}
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?image"):::projected
v1("?person"):::projected
v2("?year"):::projected
a1((" "))
c4(["wd:Q8024208"]):::iri
c9(["bd:serviceParam"]):::iri
c2(["wd:Q5"]):::iri
c11(["en"]):::literal
v1 --"p:direct/P31"--> c2
a1 --"p:statement/P166"--> c4
a1 --"p:qualifier/P585"--> v2
v1 --"p:P166"--> a1
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v1 -."p:direct/P18".-> v3
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c9 --"wikibase:language"--> c11
end