query-d057a9ff40ddb5da39254039cc5f24d6
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 ps: <http://www.wikidata.org/prop/statement/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel (count(?stat) as ?count ) WHERE {
?item wdt:P31 wd:Q1362233.
SERVICE wikibase:label { bd:serviceParam wikibase:language "de,cs,en" . }
?item p:P18 ?stat.
?stat ps:P18 ?img.
} group by ?item ?itemLabel having (?count>1) order by desc(?count)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v5("?count")
v4("?img")
v2("?item"):::projected
v3("?stat"):::projected
c7(["de,cs,en"]):::literal
c5(["bd:serviceParam"]):::iri
c3(["wd:Q1362233"]):::iri
f0[["?count > '1^^xsd:integer'"]]
f0 --> v5
v2 --"p:direct/P31"--> c3
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c5 --"wikibase:language"--> c7
end
v2 --"p:P18"--> v3
v3 --"p:statement/P18"--> v4
bind2[/"count(?stat)"/]
v3 --o bind2
bind2 --as--o v5