Advertisement
Guest User

Untitled

a guest
Feb 28th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SPARQL 0.30 KB | None | 0 0
  1. SELECT ?place ?placeLabel (COUNT(DISTINCT ?person) AS ?COUNT) WHERE {
  2.   ?person wdt:P19 ?place.
  3.   ?place wdt:P17 wd:Q36.
  4.   ?person wdt:P106 [wdt:P279 wd:Q901].
  5.   SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE]". }
  6. }
  7. GROUP BY ?place ?placeLabel
  8. ORDER BY DESC(?COUNT)
  9. LIMIT 10
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement