query-174945a0f6a7656be07cfc57b12bf34d

rq turtle/ttl

Everything with a BL thing number, image, and collection

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel ?groupLabel ?imageLabel ?collection ?collectionLabel WHERE {
  ?item wdt:P5199 ?group .
  ?item wdt:P18 ?image .
  ?item wdt:P195 ?collection .
    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; v4("?collection"):::projected v2("?group") v3("?image") v1("?item"):::projected c5(["bd:serviceParam"]):::iri c7(["#91;AUTO_LANGUAGE#93;,en"]):::literal v1 --"wdt:P5199"--> v2 v1 --"wdt:P18"--> v3 v1 --"wdt:P195"--> v4 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c5 --"wikibase:language"--> c7 end