Data table via SPARQL

Urban audit cities with lat/long

Data table via SPARQL Published 11 Sep 2012 Last modified 25 Jan 2023
Not all cities have population numbers in DBPedia

Download this dataset

Dataset preview

(Live Query)

cityname countryname latlong population

Received 0 rows in 0.028 seconds.

For system integrators

The following info can be used by a system developer / database administrator in order to retrieve this dataset programmatically over the web using a SPARQL client.

Are you new to Linked Data technology? visit

PREFIX skos: <>
PREFIX rdfs: <>
PREFIX p: <>
PREFIX wgs84: <>

SELECT sql:sample(?cityname) AS ?cityname
  sql:sample(?countryname) AS ?countryname
  concat(str(sql:sample(?lat)),',',str(sql:sample(?long))) AS ?latlong
  sql:sample(?population) AS ?population

  ?cityurl  skos:inScheme <>;
            a skos:Concept ;
            p:inCountry ?country;
            rdfs:label ?cityname.
  ?country rdfs:label ?countryname .
  ?cityurl skos:exactMatch ?dbpedia .
 ?dbpedia wgs84:lat ?lat;
          wgs84:long ?long;
          <> ?population
} GROUP BY ?cityurl ?countryname
 ORDER BY ?countryname


Document Actions