query-12aeca4cea885e8cd7811f20bb0af0f8
Here a reverse approachHi all, , here is another approach to capture people not depcting in painting but where we know that a painting probably exist (because representation before 1800 are mostly painting) Jane023Thanks to
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
#defaultView:ImageGrid
SELECT * WHERE {
?item wdt:P31 wd:Q5 ; wdt:P18 ?img .
?item wdt:P569 ?dob .
filter ( year( ?dob ) < 1800 )
minus { [] wdt:P180 ?item }
}
limit 100
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?dob"):::projected
v3("?img"):::projected
v2("?item"):::projected
a1((" "))
c3(["wd:Q5"]):::iri
f0[["year-from-dateTime(?dob) < '1800^^xsd:integer'"]]
f0 --> v1
v2 --"wdt:P31"--> c3
v2 --"wdt:P18"--> v3
v2 --"wdt:P569"--> v1
subgraph minus1["MINUS"]
style minus1 stroke-width:6px,fill:pink,stroke:red;
a1 --"wdt:P180"--> v2
end