Question: Regarding first-level administrative country subdivisions, containing Pakistan, which one has the most people living there ?
Choices:
Upper Austria
Podlaskie Voivodeship
Greater Poland Voivodeship
England
Minas Gerais
Balochistan
New South Wales
Sindh
Chiapas
Lublin Voivodeship
Program:
function: Find
inputs: Pakistan
function: Relate
dependencies: 0
inputs: part of
backward
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 <part_of> ?e_1 . ?e_1 <pred:name> "Pakistan" .  ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Sindh