query-b6d06838fd61fea09e2cc99a341d39e3

rq turtle/ttl

Map of birthplacesLots of overlaps due to common birthplaces..

Use at

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
#defaultView:Map
SELECT ?name ?birthyear ?image (SAMPLE(?coord) AS ?coord) (URI(CONCAT("https://doi.org/10.13051/ee:bio/", ?ee)) AS ?eelink)
WHERE {
   ?person wdt:P3429 ?ee;
     wdt:P19 ?place;
     rdfs:label ?name filter (lang(?name) = "en").
   ?place wdt:P625 ?coord
   OPTIONAL { ?person wdt:P569 ?dob }
   BIND(CONCAT("Born ", STR(YEAR(?dob))) as ?birthyear)
   OPTIONAL {?person wdt:P18 ?image }
} GROUP BY ?name ?image ?ee ?birthyear

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v7("?birthyear"):::projected v9("?coord"):::projected v6("?dob") v3("?ee"):::projected v9("?eelink") v8("?image"):::projected v1("?name"):::projected v2("?person") v4("?place") f0[["?name = 'en'"]] f0 --> v1 v2 --"wdt:P3429"--> v3 v2 --"wdt:P19"--> v4 v2 --"rdfs:label"--> v1 v4 --"wdt:P625"--> v9 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v2 -."wdt:P569".-> v6 end bind1[/"concat('Born ',str(year-from-dateTime(?dob)))"/] v6 --o bind1 bind1 --as--o v7 subgraph optional1["(optional)"] style optional1 fill:#bbf,stroke-dasharray: 5 5; v2 -."wdt:P18".-> v8 end bind3[/"sample(?coord)"/] v9 --o bind3 bind3 --as--o v9 bind4[/"concat('https://doi.org/10.13051/ee:bio/',?ee)"/] v3 --o bind4 bind4 --as--o v9