Question: Which state of India that shares a border with Uttarakhand (whose official name is Уттаранчал) has the smallest rural population?
Choices:
Himachal Pradesh
Andhra Pradesh
Odisha
Jharkhand
West Bengal
Haryana
Karnataka
Maharashtra
Kerala
Punjab
Program:
function: Find
inputs: Uttarakhand
function: FilterStr
dependencies: 0
inputs: official name
Уттаранчал
function: Relate
dependencies: 1
inputs: shares border with
backward
function: FilterConcept
dependencies: 2
inputs: state of India
function: SelectAmong
dependencies: 3
inputs: rural population
smallest
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> "Uttarakhand" . ?e_1 <official_name> ?pv_1 . ?pv_1 <pred:value> "Уттаранчал" . ?e <rural_population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Himachal Pradesh