# perl -I lib bin/ldf-client.pl http://fragments.dbpedia.org/2014/en sparql09.txt
PREFIX type: <http://dbpedia.org/class/yago/>
PREFIX prop: <http://dbpedia.org/property/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?country_name ?population
WHERE {
?country a type:LandlockedCountries ;
rdfs:label ?country_name ;
prop:populationEstimate ?population .
FILTER (?population > 15000000 &&
langMatches(lang(?country_name), "EN")) .
} ORDER BY DESC(?population)