query-cc16f21ed904cf8d4b02d9ac431129cf
Bollingen Prize Project1. Return a list of all winners of the Bollingen Prize } } . "en" language:wikibase serviceParam:bd { label:wikibase SERVICE . Q194944:wd P166:wdt ?person { WHERE ?personLabel SELECT 1b. } } . "en" language:wikibase serviceParam:bd { label:wikibase SERVICE ?image P18:wdt ?person . Q194944:wd P166:wdt ?person { WHERE ?image ?personLabel SELECT #defaultView:ImageGridlut 2. Return a list of all winners of the Bollingen Prize along with the geocoordinates of their birthplaces
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 psv: <http://www.wikidata.org/prop/statement/value/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?personLabel ?birthplaceLabel ?coord ?lat ?lon
WHERE {
?person wdt:P166 wd:Q194944 .
?person wdt:P19 ?birthplace
OPTIONAL {?birthplace wdt:P625 ?coord. }
OPTIONAL {
?birthplace p:P625 ?statement.
?statement psv:P625 ?node.
?node wikibase:geoLatitude ?lat.
?node wikibase:geoLongitude ?lon.
}
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;
v2("?birthplace")
v3("?coord"):::projected
v6("?lat"):::projected
v7("?lon"):::projected
v5("?node")
v1("?person")
v4("?statement")
c2(["wd:Q194944"]):::iri
c10(["bd:serviceParam"]):::iri
c12(["en"]):::literal
v1 --"p:direct/P166"--> c2
v1 --"p:direct/P19"--> v2
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v2 -."p:direct/P625".-> v3
end
subgraph optional1["(optional)"]
style optional1 fill:#bbf,stroke-dasharray: 5 5;
v2 -."p:P625".-> v4
v4 --"p:statement/value/P625"--> v5
v5 --"wikibase:geoLatitude"--> v6
v5 --"wikibase:geoLongitude"--> v7
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c10 --"wikibase:language"--> c12
end