query-1991fbf86647677c2106c489a0299d43
items without images no images
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 ?date ?collectionLabel WHERE {
?item wdt:P170 wd:Q381238 .
?item wdt:P571 ?date .
optional{ ?item wdt:P195 ?collection . }
MINUS{ ?item wdt:P31 wd:Q3658341 .} # no literary characters
MINUS{ ?item wdt:P18 ?img . }
SERVICE wikibase:label { bd:serviceParam wikibase:language "pl,pl" }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?collection")
v2("?date"):::projected
v4("?img")
v1("?item"):::projected
c11(["pl,pl"]):::literal
c6(["wd:Q3658341"]):::iri
c2(["wd:Q381238"]):::iri
c9(["bd:serviceParam"]):::iri
v1 --"wdt:P170"--> c2
v1 --"wdt:P571"--> v2
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P195".-> v3
end
subgraph minus0["MINUS"]
style minus0 stroke-width:6px,fill:pink,stroke:red;
v1 --"wdt:P31"--> c6
end
subgraph minus1["MINUS"]
style minus1 stroke-width:6px,fill:pink,stroke:red;
v1 --"wdt:P18"--> v4
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c9 --"wikibase:language"--> c11
end