query-258c8f3bfc2d9cef1e4248699df28ae2
TODO
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 ?category WHERE {
{
SELECT ?item ?category WHERE {
?item wdt:P373 ?category.
?item wdt:P17 wd:Q145 .
?item wdt:P1435 wd:Q15700834 .
MINUS { ?item wdt:P18 ?image. }
}
}
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?category"):::projected
v3("?image")
v1("?item"):::projected
c8(["bd:serviceParam"]):::iri
c5(["wd:Q15700834"]):::iri
c10(["#91;AUTO_LANGUAGE#93;,en"]):::literal
c3(["wd:Q145"]):::iri
v1 --"wdt:P373"--> v2
v1 --"wdt:P17"--> c3
v1 --"wdt:P1435"--> c5
subgraph minus0["MINUS"]
style minus0 stroke-width:6px,fill:pink,stroke:red;
v1 --"wdt:P18"--> v3
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c8 --"wikibase:language"--> c10
end