query-2e7ac8ced9da943050eebc0e246998c8
Graph view not showing all images? 13:22, 15 June 2017 (UTC)) talk (Fuzheado is set, the images may not be showing up. Thanks. -- (P18)image Hi folks, when using the Graph mode for a query, is there a reason why not all the images are showing up? Cannot find in the documentation why if
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#>
#Show firearms cartridges and which they are based on
#defaultView:Graph
SELECT ?item ?itemLabel ?other ?otherLabel ?image
WHERE
{
?item wdt:P279+ wd:Q37144 . # cartridges
?item wdt:P144 ?other . # if the cartridge is based on another
?item wdt:P18 ?image . # grab images
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;
v3("?image"):::projected
v1("?item"):::projected
v2("?other"):::projected
c6(["bd:serviceParam"]):::iri
c2(["wd:Q37144"]):::iri
c8(["#91;AUTO_LANGUAGE#93;,en"]):::literal
v1 --"wdt:P279"--> c2
v1 --"wdt:P144"--> v2
v1 --"wdt:P18"--> v3
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c6 --"wikibase:language"--> c8
end