query-e31716b516c4942f59ed1169b8bdaf23
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel ?dateOfDeath WHERE {
?item wdt:P31 wd:Q5;
wdt:P570 ?dateOfDeath.
FILTER("2020-12-31"^^xsd:date < ?dateOfDeath &&
?dateOfDeath < "2021-02-01"^^xsd:dat)
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
} order by ?dateOfDeath ?itemLabel
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?dateOfDeath"):::projected
v3("?item"):::projected
v2("?itemLabel"):::projected
c7(["bd:serviceParam"]):::iri
c4(["wd:Q5"]):::iri
c9(["#91;AUTO_LANGUAGE#93;,en"]):::literal
f0[["'2020-12-31^^xsd:date' < ?dateOfDeath?dateOfDeath < s2021-02-01^^<http://www.w3.org/2001/XMLSchema#dat>'"]]
f0 --> v1
v3 --"wdt:P31"--> c4
v3 --"wdt:P570"--> v1
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c7 --"wikibase:language"--> c9
end