query-54c86cd61c7e3e499d9659a0504bc2d3
SPARQL examplesThe SPARQL service allows images to be embedded in its visualisation modes. Can you tell what each of these shows before (or after) running the query?
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
#defaultView:ImageGrid
SELECT ?item ?pic
WHERE
{
?item wdt:P31 wd:Q146 .
?item wdt:P18 ?pic .
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?item"):::projected
v2("?pic"):::projected
c2(["wd:Q146"]):::iri
v1 --"wdt:P31"--> c2
v1 --"wdt:P18"--> v2