Question: Which state in India that is located on the continent of Asia (that is the continent where the Himalayas is located) has the smallest rural population?
Choices:
Manipur
Goa
Punjab
Jammu and Kashmir
Jharkhand
Haryana
Odisha
Tamil Nadu
Uttarakhand
Kerala
Program:
function: Find
inputs: Himalayas
function: Relate
dependencies: 0
inputs: continent
forward
function: Find
inputs: Asia
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: continent
backward
function: FilterConcept
dependencies: 4
inputs: state of India
function: SelectAmong
dependencies: 5
inputs: rural population
smallest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "state of India" . ?e <continent> ?e_1 . ?e_1 <pred:name> "Asia" . ?e_2 <continent> ?e_1 . ?e_2 <pred:name> "Himalayas" .  ?e <rural_population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Goa