query-f9f1e008c38714776c64bd9960dc1a67
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 {
VALUES ?things {wd:Q571 wd:Q1002697 wd:Q18536349} #stuff I chose at random
?item wdt:P31 ?things . # 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")
v3("?item"):::projected
v4("?num")
v2("?things")
a1((" "))
f0[["?dop < '1800^^xsd:dateTime'"]]
f0 --> v1
bind1[/VALUES ?things/]
bind1-->v2
bind10(["wd:Q571"])
bind10 --> bind1
bind11(["wd:Q1002697"])
bind11 --> bind1
bind12(["wd:Q18536349"])
bind12 --> bind1
v3 --"wdt:P31"--> v2
v3 --"wdt:P577"--> v1
subgraph minus2["MINUS"]
style minus2 stroke-width:6px,fill:pink,stroke:red;
v3 --"wdt:P6216"--> a1
end
bind4[/"count(?item)"/]
v3 --o bind4
bind4 --as--o v4