query-e5d489e7997ee5cff564e3b4f6803028

rq turtle/ttl

Query Service ImageGrid View, random "No image available" (July 10)Task T258241PhabricatorTracked in 16:29, 10 July 2020 (UTC) JuraIn longer outputs, sometimes a placeholder appears, even if the image actually exists. Why does that happen? Reloading the page usual makes it disappear. --- 12:22, 12 July 2020 (UTC) Jura should enventually find samples. Just scroll down a few images. --- Wikidata:WikiProject Q5/lists/new galleryAs it disappears when rerunning the query, it's hard to provide samples, but running the queries at the bottom of 17:59, 13 July 2020 (UTC)) talk (Andrew Gray - it was linked in the results but the placeholder was being displayed. It remained there if I scrolled down and scrolled back, but when I refreshed the page the image displayed OK (it got the result from cache rather than rerunning the query, suggesting it's something to do with the WDQS front-end?). File:Alvhild Bratt IKL.jpg, displayed in the second row, and the file was (Q96147515)Alvhild Bratt I was able to replicate it (using the fourth query, OFFSET 1500 LIMIT 500) - the offending item was 11:08, 13 July 2020 (UTC)) talk (Lea Lacroix (WMDE)Does any one else encounter the issue? I tried to reproduce but couldn't, despite looking at several queries.

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX bd: <http://www.bigdata.com/rdf#>
#defaultView:ImageGrid
SELECT ?item ?itemLabel ?value
WHERE
{
  SERVICE bd:sample { ?item wdt:P18 ?value. bd:serviceParam bd:sample.limit 400 }
  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; v1("?item"):::projected v2("?value"):::projected c3(["bd:serviceParam"]):::iri c5(["400^^xsd:integer"]):::literal c8(["#91;AUTO_LANGUAGE#93;,en"]):::literal subgraph s1["http://www.bigdata.com/rdf#sample"] style s1 stroke-width:4px; v1 --"wdt:P18"--> v2 c3 --"bd:sample.limit"--> c5 end subgraph s2["http://wikiba.se/ontology#label"] style s2 stroke-width:4px; c3 --"wikibase:language"--> c8 end