Question: Which has less rural population, Haryana whose female population is 11856728 or Assam whose FIPS 10-4 (countries and regions) is IN03?
Choices:
Himachal Pradesh
Kerala
Assam
Karnataka
Odisha
Punjab
Maharashtra
Andhra Pradesh
Haryana
Jharkhand
Program:
function: Find
inputs: Haryana
function: FilterNum
dependencies: 0
inputs: female population
11856728
=
function: Find
inputs: Assam
function: FilterStr
dependencies: 2
inputs: FIPS 10-4 (countries and regions)
IN03
function: SelectBetween
dependencies: 1
3
inputs: rural population
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Haryana" . ?e <female_population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "11856728"^^xsd:double . } UNION { ?e <pred:name> "Assam" . ?e <FIPS_10-4_(countries_and_regions)> ?pv_2 . ?pv_2 <pred:value> "IN03" . } ?e <rural_population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Haryana