query-1688db3e05ba6342d54ffb6270303f12
Basic query building on Wikidata using paintings as the subject"Find all of one thing" So, "Find all paintings on Wikidata".
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?item #the labels for the things in the query
WHERE { ?item wdt:P31 wd:Q3305213 #instance of paintings, no labels.
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?item"):::projected
c2(["wd:Q3305213"]):::iri
v1 --"wdt:P31"--> c2