query-b859dd04d572ddc3a442b27aafacc8f4
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 10 LIMIT } ).?b != ?a(FILTER ].?b P921:ps[ P921:p ];?a P180:ps[ P180:p ?image { ?image DISTINCT SELECT (for some reason, a lot of these images are shown) (Q735)art is (P921)main subject Filter out images whose 10 LIMIT } ).Q735:wd != ?b(FILTER ].?b P921:ps[ P921:p []; P180:p ?image { ?image DISTINCT SELECT is one of a given set of values (P921)main subject Filter out images whose
Use at
- https://query.wikidata.org/sparql
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX p: <http://www.wikidata.org/prop/>
SELECT DISTINCT ?image {
?image p:P180 [];
p:P921 [ps:P921 ?b].
FILTER(?b != wd:Q735
&& ?b != wd:Q58
&& ?b != wd:Q349
&& ?b != wd:Q506).
}
LIMIT 10