Question: Which one has a smaller rural population Uttarakhand (the one whose area is 53,566 square kilometres) or Haryana (the one whose population is 25,351,462) ?
Choices:
Andhra Pradesh
Odisha
Punjab
Himachal Pradesh
West Bengal
Haryana
Maharashtra
Jharkhand
Uttarakhand
Kerala
Answer: Uttarakhand
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Uttarakhand" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> "square kilometre" . ?pv_1 <pred:value> "53566"^^xsd:double . } UNION { ?e <pred:name> "Haryana" . ?e <population> ?pv_2 . ?pv_2 <pred:unit> "1" . ?pv_2 <pred:value> "25351462"^^xsd:double . } ?e <rural_population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Uttarakhand
function: FilterNum
dependencies: 0
inputs: area
53566 square kilometre
=
function: Find
inputs: Haryana
function: FilterNum
dependencies: 2
inputs: population
25351462
=
function: SelectBetween
dependencies: 1
3
inputs: rural population
less