Question: Which one of the Indian states, located on Asian continent (the one with Himalayas) has the largest female population?
Choices:
Himachal Pradesh
Chhattisgarh
Jharkhand
Odisha
Punjab
Rajasthan
Jammu and Kashmir
Tamil Nadu
Manipur
Kerala
Answer: Tamil Nadu
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 <female_population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
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: female population
largest