query-b2abd8f7d87ab7df4e9b094b642e066e
TODO
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 ?item ?dob
WHERE
{
?item wdt:P27 wd:Q20.
?item wdt:P569 ?dob .
filter not exists {?item wdt:P734 []. }
FILTER("1820-00-00"^^xsd:date <= ?dob && ?dob <= "1920-00-00"^^xsd:dat)
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?dob"):::projected
v2("?item"):::projected
a1((" "))
c5(["wd:Q20"]):::iri
f0[["'1820-00-00^^xsd:date' <= ?dob?dob <= s1920-00-00^^<http://www.w3.org/2001/XMLSchema#dat>'"]]
f0 --> v1
f1[["not "]]
subgraph f1e0["Exists Clause"]
e0v1 --"wdt:P734"--> e0a1
e0v1("?item"):::projected
e0a1((" ")):::projected
end
f1--EXISTS--> f1e0
f1 --> v2
f1 --> c3
f1 --> a1
v2 --"wdt:P734"--> a1
v2 --"wdt:P27"--> c5
v2 --"wdt:P569"--> v1