Question: Is the number of urban inhabitants lower for, Manipur (male population 1438586) or Rajasthan (male population 35550997)?
Choices:
Maharashtra
Manipur
Rajasthan
Karnataka
Punjab
Andhra Pradesh
Jharkhand
Haryana
Odisha
Kerala
Program:
function: Find
inputs: Manipur
function: FilterNum
dependencies: 0
inputs: male population
1438586
=
function: Find
inputs: Rajasthan
function: FilterNum
dependencies: 2
inputs: male population
35550997
=
function: SelectBetween
dependencies: 1
3
inputs: urban population
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Manipur" . ?e <male_population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "1438586"^^xsd:double . } UNION { ?e <pred:name> "Rajasthan" . ?e <male_population> ?pv_2 . ?pv_2 <pred:unit> "1" . ?pv_2 <pred:value> "35550997"^^xsd:double . } ?e <urban_population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Manipur