Question: Which has the smallest male population among the states of India that are in the continent of Asia (the continent which has Turkmenistan)?
Choices:
Manipur
Jharkhand
Himachal Pradesh
Uttarakhand
Punjab
Haryana
Goa
Odisha
Rajasthan
Tamil Nadu
Program:
function: Find
inputs: Turkmenistan
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
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> "Turkmenistan" .  ?e <male_population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Goa