Question: Is the rural population larger in Gujarat, which is 196024 square kilometres in size, or Jammu and Kashmir?
Choices:
Maharashtra
Jharkhand
Punjab
Gujarat
Jammu and Kashmir
Andhra Pradesh
Karnataka
Himachal Pradesh
Haryana
Kerala
Answer: Gujarat
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Gujarat" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> "square kilometre" . ?pv_1 <pred:value> "196024"^^xsd:double . } UNION { ?e <pred:name> "Jammu and Kashmir" . } ?e <rural_population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Gujarat
function: FilterNum
dependencies: 0
inputs: area
196024 square kilometre
=
function: Find
inputs: Jammu and Kashmir
function: SelectBetween
dependencies: 1
2
inputs: rural population
greater