query-0535f734db538b0277e7d5e35819a02b
Schilderijen in een museum zonder afbeelding
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel ?creatorLabel ?dod
WHERE
{
?item wdt:P31 wd:Q3305213 . # Must be a painting
?item wdt:P195 wd:Q150066 . #in the pinacoteca di Brera
?item wdt:P170 ?creator .
OPTIONAL { ?creator wdt:P570 ?dod. }
FILTER ( NOT EXISTS { ?item wdt:P18 [] } )
SERVICE wikibase:label { bd:serviceParam wikibase:language "nl,en,it". } # Helps get the label in your language, if not, then en language
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?creator")
v3("?dod"):::projected
v1("?item"):::projected
a1((" "))
c3(["wd:Q3305213"]):::iri
c9(["bd:serviceParam"]):::iri
c11(["nl,en,it"]):::literal
c5(["wd:Q150066"]):::iri
f0[["not "]]
subgraph f0e0["Exists Clause"]
e0v1 --"wdt:P18"--> e0a1
e0v1("?item"):::projected
e0a1((" ")):::projected
end
f0--EXISTS--> f0e0
f0 --> v1
f0 --> c1
f0 --> a1
v1 --"wdt:P18"--> a1
v1 --"wdt:P31"--> c3
v1 --"wdt:P195"--> c5
v1 --"wdt:P170"--> v2
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P570".-> v3
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c9 --"wikibase:language"--> c11
end