query-45eef243963898abc2e5cc7f4d9da14b
Recipes with any recipe you might have for finding images of your interest. Here are some recipes: %0Replace the body of the query (P921)main subject equals its (P180)depicts Filter in images whose
Use at
- https://query.wikidata.org/sparql
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX p: <http://www.wikidata.org/prop/>
SELECT DISTINCT ?image {
?image p:P180 [ps:P180 ?a];
p:P921 [ps:P921 ?b].
FILTER(?a = ?b).
}
LIMIT 10
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?a")
v2("?b")
v3("?image"):::projected
a1((" "))
a2((" "))
f0[["?a = ?b"]]
f0 --> v1
f0 --> v2
a1 --"p:statement/P180"--> v1
v3 --"p:P180"--> a1
a2 --"p:statement/P921"--> v2
v3 --"p:P921"--> a2