Question: Which has more rural people, Maharashtra (the one whose female population is 54131277) or Rajasthan (the one whose population is 68548437)?
Choices:
Haryana
Kerala
Punjab
Himachal Pradesh
Rajasthan
West Bengal
Odisha
Karnataka
Jharkhand
Maharashtra
Answer: Maharashtra
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Maharashtra" . ?e <female_population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "54131277"^^xsd:double . } UNION { ?e <pred:name> "Rajasthan" . ?e <population> ?pv_2 . ?pv_2 <pred:unit> "1" . ?pv_2 <pred:value> "68548437"^^xsd:double . } ?e <rural_population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Maharashtra
function: FilterNum
dependencies: 0
inputs: female population
54131277
=
function: Find
inputs: Rajasthan
function: FilterNum
dependencies: 2
inputs: population
68548437
=
function: SelectBetween
dependencies: 1
3
inputs: rural population
greater