Question: Which first-level administrative country subdivision has the largest population whose country calling code is +60?
Choices:
Minas Gerais
Melaka
Penang
Perak
Lublin Voivodeship
Chiapas
Podlaskie Voivodeship
Upper Austria
Selangor
England
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: country calling code
+60
function: FilterConcept
dependencies: 1
inputs: first-level administrative country subdivision
function: SelectAmong
dependencies: 2
inputs: population
largest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "first-level administrative country subdivision" . ?e <country_calling_code> ?pv_1 . ?pv_1 <pred:value> "+60" . ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Selangor