query-aa26f7cc6dabe631b29ca4914b737dfc
Date in ISO format and without over-precision Wikidata:SPARQL_query_service/queries/examples#People_born_before_year_1880_with_no_death_dateTaken from
Use at
- https://query.wikidata.org/sparql
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?h ?date
WHERE
{
?h wdt:P31 wd:Q5 .
?h wdt:P569 ?date .
FILTER (?date < "1880-01-01T00:00:00Z"^^xsd:dateTime)
FILTER (!bound(?d))
}
LIMIT 100
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?d")
v2("?date"):::projected
v3("?h"):::projected
c3(["wd:Q5"]):::iri
f0[["not bound(?d)"]]
f0 --> v1
f1[["?date < '1880-01-01T00:00:00Z^^xsd:dateTime'"]]
f1 --> v2
v3 --"wdt:P31"--> c3
v3 --"wdt:P569"--> v2