Question: Which is larger in size, West Bengal (the one whose rural population is 57748946) or Chhattisgarh (the one whose urban population is 5937237)?
Choices:
Maharashtra
Andhra Pradesh
Himachal Pradesh
West Bengal
Chhattisgarh
Jharkhand
Punjab
Karnataka
Kerala
Haryana
Answer: Chhattisgarh
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "West Bengal" . ?e <rural_population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "57748946"^^xsd:double . } UNION { ?e <pred:name> "Chhattisgarh" . ?e <urban_population> ?pv_2 . ?pv_2 <pred:unit> "1" . ?pv_2 <pred:value> "5937237"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: West Bengal
function: FilterNum
dependencies: 0
inputs: rural population
57748946
=
function: Find
inputs: Chhattisgarh
function: FilterNum
dependencies: 2
inputs: urban population
5937237
=
function: SelectBetween
dependencies: 1
3
inputs: area
greater