Skip to content

Instantly share code, notes, and snippets.

@taniki
Created August 29, 2016 14:34
Show Gist options
  • Select an option

  • Save taniki/d5a56c5d190f1927cd863458a0a90963 to your computer and use it in GitHub Desktop.

Select an option

Save taniki/d5a56c5d190f1927cd863458a0a90963 to your computer and use it in GitHub Desktop.

Revisions

  1. taniki created this gist Aug 29, 2016.
    10 changes: 10 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,10 @@
    SELECT ?city ?cityLabel ?population
    WHERE {
    ?city wdt:P1082 ?population FILTER(?population <= 1500).
    ?city wdt:P17 wd:Q142 .

    SERVICE wikibase:label {
    bd:serviceParam wikibase:language "fr" .
    }
    }
    ORDER BY DESC(?population)