Question: Among the state of India that shares border with Uttar Pradesh (the one whose population is 199812341), which one has the largest area ?
Choices: Rajasthan
Himachal Pradesh
Karnataka
Bihar
Andhra Pradesh
Uttarakhand
Kerala
Jharkhand
Chhattisgarh
Haryana
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "state of India" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "Uttar Pradesh" . ?e_1 <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "199812341"^^xsd:double . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Uttar Pradesh
function: FilterNum
dependencies: 0
inputs: population
199812341
=
function: Relate
dependencies: 1
inputs: shares border with
backward
function: FilterConcept
dependencies: 2
inputs: state of India
function: SelectAmong
dependencies: 3
inputs: area
largest
Answer: Rajasthan