Question: Which first-level administrative country subdivision whose country is Pakistan has the smallest population?
Choices:
Greater Poland Voivodeship
Podlaskie Voivodeship
Balochistan
Khyber Pakhtunkhwa
Sindh
Upper Austria
Punjab
England
Minas Gerais
Lublin Voivodeship
Program:
function: Find
inputs: Pakistan
function: Relate
dependencies: 0
inputs: country
backward
function: FilterConcept
dependencies: 1
inputs: first-level administrative country subdivision
function: SelectAmong
dependencies: 2
inputs: population
smallest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "first-level administrative country subdivision" . ?e <country> ?e_1 . ?e_1 <pred:name> "Pakistan" .  ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Balochistan