query-24f576ec0d4c58db17952773d5f04abb

rq turtle/ttl

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 10 LIMIT } ).?b = ?a(FILTER ].?b P921:ps[ P921:p ];?a P180:ps[ P180:p ?image { ?image DISTINCT SELECT (P921)main subject equals its (P180)depicts Filter out images whose

Use at

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