Question: Which has a smaller female population Manipur (the one whose rural population is 2021640) or Haryana (the one whose Indian census area code (2001) is 06)?
Choices:
Jharkhand
Karnataka
Odisha
Haryana
Punjab
Manipur
Andhra Pradesh
Kerala
Maharashtra
Himachal Pradesh
Program:
function: Find
inputs: Manipur
function: FilterNum
dependencies: 0
inputs: rural population
2021640
=
function: Find
inputs: Haryana
function: FilterStr
dependencies: 2
inputs: Indian census area code (2001)
06
function: SelectBetween
dependencies: 1
3
inputs: female population
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Manipur" . ?e <rural_population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "2021640"^^xsd:double . } UNION { ?e <pred:name> "Haryana" . ?e <Indian_census_area_code_(2001)> ?pv_2 . ?pv_2 <pred:value> "06" . } ?e <female_population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Manipur