query-1d2468f043c8e6254a7e83f221ff44a5

rq turtle/ttl

LIST OF THE CENTER'S HONORARIUM HONOREES SELECT ?honoree ?honoreeLabel ?honoreeDescription (YEAR(?pointInTime) AS ?year) ?awarded WHERE { OPTIONAL {?honoree wdt:P5008 wd:Q100202113 } . ?honoree p:P166 ?award . ?award ps:P166 wd:Q118919758 . ?award pq:P585 ?pointInTime . ?award pq:P1932 ?awarded . SERVICE wikibase:label { bd:serviceParam wikibase:language "en". } }ORDER BY ASC (?year)

Use at

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#>
# LIST OF THE CENTER'S HONORARIUM HONOREES
SELECT ?honoree ?honoreeLabel ?honoreeDescription (YEAR(?pointInTime) AS ?year) ?awarded
WHERE
{
OPTIONAL {?honoree wdt:P5008 wd:Q100202113 } .
?honoree p:P166 ?award .
?award ps:P166 wd:Q118919758 .
?award pq:P585 ?pointInTime .
?award pq:P1932 ?awarded .
SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
}ORDER BY ASC (?year)

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v3("?award") v5("?awarded"):::projected v2("?honoree"):::projected v4("?pointInTime"):::projected v6("?year") c9(["bd:serviceParam"]):::iri c5(["wd:Q118919758"]):::iri c11(["en"]):::literal c2(["wd:Q100202113"]):::iri subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v2 -."p:direct/P5008".-> c2 end v2 --"p:P166"--> v3 v3 --"p:statement/P166"--> c5 v3 --"p:qualifier/P585"--> v4 v3 --"p:qualifier/P1932"--> v5 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c9 --"wikibase:language"--> c11 end bind0[/"year-from-dateTime(?pointInTime)"/] v4 --o bind0 bind0 --as--o v6