Question: What city is the capital of Uttarakhand whose male population is 5137773?
Choices:
Kingston
Dehradun
Abidjan
Santo Domingo
Stavanger
Chihuahua
Cork
Kilkenny
Bergen
Rostock
Program:
function: Find
inputs: Uttarakhand
function: FilterNum
dependencies: 0
inputs: male population
5137773
=
function: Relate
dependencies: 1
inputs: capital
forward
function: FilterConcept
dependencies: 2
inputs: city
function: What
dependencies: 3
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e_1 <capital> ?e . ?e_1 <pred:name> "Uttarakhand" . ?e_1 <male_population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "5137773"^^xsd:double .   }
Answer: Dehradun