query-4cb8fbd96c6a59fe9858eb218356d1ce

rq turtle/ttl


Objekte ohne Bild, aber mit Commons-Kategorie

---------------------------------------------------------------------------------------

SELECT ?item ?itemLabel ?itemDescription WHERE { ?item wdt:P131+ wd:Q1731 . ?article schema:about ?item ; schema:isPartOf https://commons.wikimedia.org/ . filter not exists {?item wdt:P18 [] .} SERVICE wikibase:label { bd:serviceParam wikibase:language "de,en,[AUTO_LANGUAGE]". } } order by ?itemDescription ?itemLabel

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX schema: <http://schema.org/>
PREFIX bd: <http://www.bigdata.com/rdf#>
#---------------------------------------------------------------------------------------
# Objekte ohne Bild, aber mit Commons-Kategorie
#---------------------------------------------------------------------------------------
SELECT ?item ?itemLabel ?itemDescription
WHERE 
{
  ?item wdt:P131+ wd:Q1731 .
  ?article schema:about ?item ;
          schema:isPartOf <https://commons.wikimedia.org/> .
  filter not exists {?item wdt:P18 [] .}
  SERVICE wikibase:label { bd:serviceParam wikibase:language "de,en,[AUTO_LANGUAGE]". }
}
order by  ?itemDescription ?itemLabel

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v4("?article") v3("?item"):::projected v1("?itemDescription"):::projected v2("?itemLabel"):::projected a1((" ")) c8(["bd:serviceParam"]):::iri c6([https://commons.wikimedia.org/]):::iri c3(["wd:Q1731"]):::iri c10(["de,en,#91;AUTO_LANGUAGE#93;"]):::literal f0[["not "]] subgraph f0e0["Exists Clause"] e0v1 --"wdt:P18"--> e0a1 e0v1("?item"):::projected e0a1((" ")):::projected end f0--EXISTS--> f0e0 f0 --> v3 f0 --> c1 f0 --> a1 v3 --"wdt:P18"--> a1 v3 --"wdt:P131"--> c3 v4 --"schema:about"--> v3 v4 --"schema:isPartOf"--> c6 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c8 --"wikibase:language"--> c10 end