query-6fe805e070bc774f94d819afbe61d636
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 (count(?item) as ?num) where {
?item wdt:P31 wd:Q571 . # book
?item wdt:P577 ?dop .
FILTER(?dop < "1800"^^xsd:dateTime).
MINUS { ?item wdt:P6216 [] } .
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?dop")
v2("?item"):::projected
v3("?num")
a1((" "))
c3(["wd:Q571"]):::iri
f0[["?dop < '1800^^xsd:dateTime'"]]
f0 --> v1
v2 --"wdt:P31"--> c3
v2 --"wdt:P577"--> v1
subgraph minus1["MINUS"]
style minus1 stroke-width:6px,fill:pink,stroke:red;
v2 --"wdt:P6216"--> a1
end
bind3[/"count(?item)"/]
v2 --o bind3
bind3 --as--o v3