query-8d4fab5128a75470000d449e53f59955
TODO
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#>
# Women Archaeologists born in a city with a birth date
#defaultView:Map
SELECT DISTINCT ?person ?personLabel ?birthplaceLabel ?birth_year ?coordinates WHERE {
?person wdt:P101 wd:Q23498;
wdt:P21 wd:Q6581072;
wdt:P19 ?birthplace.
?birthplace wdt:P31 wd:Q515;
wdt:P625 ?coordinates.
?person p:P569/psv:P569 ?birth_date_node.
?birth_date_node wikibase:timeValue ?birth_dateyear.
BIND( YEAR(?birth_dateyear) AS ?birth_year)
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v4("?birth_date_node")
v5("?birth_dateyear")
v6("?birth_year"):::projected
v2("?birthplace")
v3("?coordinates"):::projected
v1("?person"):::projected
a1((" "))
c2(["wd:Q23498"]):::iri
c4(["wd:Q6581072"]):::iri
c13(["bd:serviceParam"]):::iri
c7(["wd:Q515"]):::iri
c15(["#91;AUTO_LANGUAGE#93;,en"]):::literal
v1 --"p:direct/P101"--> c2
v1 --"p:direct/P21"--> c4
v1 --"p:direct/P19"--> v2
v2 --"p:direct/P31"--> c7
v2 --"p:direct/P625"--> v3
v1 --"p:P569"--> a1
a1 --"p:statement/value/P569"--> v4
v4 --"wikibase:timeValue"--> v5
bind0[/"year-from-dateTime(?birth_dateyear)"/]
v5 --o bind0
bind0 --as--o v6
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c13 --"wikibase:language"--> c15
end