query-4b1a156d1e87eee8f97ef7fb55b86e41
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
#defaultView:ImageGrid{"hide": "?image"}
SELECT DISTINCT ?item ?itemLabel ?image {
?item wdt:P27 wd:Q142 .
?item wdt:P19 [] .
FILTER NOT EXISTS {
?item wdt:P19 ?place .
?place wdt:P131* wd:Q142 .
}
?item wdt:P18 ?image .
?item wikibase:sitelinks ?sitelinks .
?item wikibase:statements ?statements .
SERVICE wikibase:label {bd:serviceParam wikibase:language "fr"}
} ORDER BY DESC(?sitelinks) DESC(?statements) LIMIT 1500
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v5("?image"):::projected
v3("?item"):::projected
v4("?place")
v1("?sitelinks")
v2("?statements")
a1((" "))
c9(["bd:serviceParam"]):::iri
c11(["fr"]):::literal
c3(["wd:Q142"]):::iri
f0[["not "]]
subgraph f0e0["Exists Clause"]
e0v1 --"wdt:P19"--> e0v2
e0v2 --"wdt:P131"--> e0c3
e0v1("?item"):::projected
e0v2("?place"):::projected
e0c3(["wd:Q142"]):::iri
end
f0--EXISTS--> f0e0
f0 --> v3
f0 --> c1
f0 --> v4
f0 --> c2
f0 --> c3
v3 --"wdt:P19"--> v4
v4 --"wdt:P131"--> c3
v3 --"wdt:P27"--> c3
v3 --"wdt:P19"--> a1
v3 --"wdt:P18"--> v5
v3 --"wikibase:sitelinks"--> v1
v3 --"wikibase:statements"--> v2
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c9 --"wikibase:language"--> c11
end