query-85466568d597724c1ffd86f9ba2ab955
Map of birthplacesLots of overlaps due to common birthplaces. Some duplicates because of individuals having multiple EMLO IDs.
Use at
- https://query.wikidata.org/sparql
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("http://emlo.bodleian.ox.ac.uk/profile/person/", ?emlo)) AS ?emlolink)
WHERE {
?person wdt:P1802 ?emlo;
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 ?emlo ?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("?emlo"):::projected
v9("?emlolink")
v8("?image"):::projected
v1("?name"):::projected
v2("?person")
v4("?place")
f0[["?name = 'en'"]]
f0 --> v1
v2 --"wdt:P1802"--> 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('http://emlo.bodleian.ox.ac.uk/profile/person/',?emlo)"/]
v3 --o bind4
bind4 --as--o v9