query-3e821860655c92c1c17fcb2636518573

rq turtle/ttl

). (P1257)depicts Iconclass notation on the value (not (P1256)Iconclass notation and display items that have (P180)depicts Another way could be to use Nothing for "71A1" either, but for "71A3":

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT 
  ?value 
  ?depicted ?depictedLabel 
  ?item ?itemLabel ?itemDescription
WHERE
{
  ?item wdt:P180 ?depicted . 
  ?depicted wdt:P1256 ?value .
  FILTER( strstarts(?value, "71A3") ) 
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],de,en" . }
}
ORDER BY ?value ?itemLabel

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v4("?depicted"):::projected v3("?item"):::projected v2("?itemLabel"):::projected v1("?value"):::projected c5(["bd:serviceParam"]):::iri c7(["#91;AUTO_LANGUAGE#93;,de,en"]):::literal f0[["starts-with(?value,'71A3')"]] f0 --> v1 v3 --"wdt:P180"--> v4 v4 --"wdt:P1256"--> v1 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c5 --"wikibase:language"--> c7 end