query-1ed68f7039c3ae94d6623f1ec7f7e52c

rq turtle/ttl

TODO

Use at

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#>
SELECT $municipality $municipalityLabel (COUNT($population) AS $count) 
  {
  $municipality wdt:P31 wd:Q262166;
                wdt:P1082 $population.

  SERVICE wikibase:label {bd:serviceParam wikibase:language "de,en"}
  }
GROUP BY $municipality $municipalityLabel
HAVING ($count > 1)
ORDER BY $count $municipalityLabel

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v5("?count") v3("?municipality"):::projected v2("?municipalityLabel"):::projected v4("?population"):::projected c6(["bd:serviceParam"]):::iri c3(["wd:Q262166"]):::iri c8(["de,en"]):::literal f0[["?count > '1^^xsd:integer'"]] f0 --> v5 v3 --"wdt:P31"--> c3 v3 --"wdt:P1082"--> v4 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c6 --"wikibase:language"--> c8 end bind2[/"count(?population)"/] v4 --o bind2 bind2 --as--o v5