Question: Which of Indian states, located in Asian continent (where Bahrain also exists) counts the lowest male population ?
Choices:
Chhattisgarh
Goa
Kerala
Himachal Pradesh
Tamil Nadu
Manipur
Odisha
Punjab
Rajasthan
Jammu and Kashmir
Answer: Goa
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> "Bahrain" .  ?e <male_population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Bahrain
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: male population
smallest