query-78a4b877db2b16748f8d17c757b6e59a
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT (COUNT(DISTINCT ?item) AS ?num) WHERE {
?item wdt:P577 ?dop .
FILTER (?dop < "1800-01-01T00:00:01"^^xsd:dateTime)
FILTER NOT EXISTS { ?item wdt:P6216 [] }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?dop")
v1("?item"):::projected
v3("?num")
a1((" "))
f0[["not "]]
subgraph f0e0["Exists Clause"]
e0v1 --"wdt:P6216"--> e0a1
e0v1("?item"):::projected
e0a1((" ")):::projected
end
f0--EXISTS--> f0e0
f0 --> v1
f0 --> c1
f0 --> a1
v1 --"wdt:P6216"--> a1
f1[["?dop < '1800-01-01T00:00:01^^xsd:dateTime'"]]
f1 --> v2
v1 --"wdt:P577"--> v2
bind3[/"count(?item)"/]
v1 --o bind3
bind3 --as--o v3