Advertisement
Guest User

Untitled

a guest
Jan 9th, 2017
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SPARQL 0.29 KB | None | 0 0
  1. SELECT (xsd:float(?population)/xsd:float(?area) AS ?density) ?countryLabel  WHERE {
  2.     ?country wdt:P31 wd:Q6256.
  3.     ?country wdt:P38 wd:Q4916;
  4.     wdt:P1082 ?population;
  5.     wdt:P2046 ?area.
  6.  
  7.    SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
  8.  
  9.  }
  10. ORDER BY DESC(?density)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement