query-16b7f30bb4ce87892f6a165b71853eba
Propertiesmaintained by WikiProject (P6104)Commons category (P373)image (P18)
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
DISTINCT
?item ?itemLabel ?commonscat
WHERE {
?item wdt:P6104 wd:Q56241615 ;
wdt:P373 ?commonscat .
MINUS {?item wdt:P18 ?image}
?item wikibase:sitelinks ?sitelinks .
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
ORDER BY DESC(?sitelinks)
LIMIT 200
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?commonscat"):::projected
v4("?image")
v2("?item"):::projected
v1("?sitelinks")
c7(["bd:serviceParam"]):::iri
c2(["wd:Q56241615"]):::iri
c9(["#91;AUTO_LANGUAGE#93;,en"]):::literal
v2 --"wdt:P6104"--> c2
v2 --"wdt:P373"--> v3
subgraph minus0["MINUS"]
style minus0 stroke-width:6px,fill:pink,stroke:red;
v2 --"wdt:P18"--> v4
end
v2 --"wikibase:sitelinks"--> v1
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c7 --"wikibase:language"--> c9
end