Question: Which has the largest female population among the India states that border West Bengal whose male population is 46809027?
Choices:
Andhra Pradesh
Assam
Bihar
Maharashtra
Kerala
Jharkhand
Sikkim
Haryana
Karnataka
Odisha
Program:
function: Find
inputs: West Bengal
function: FilterNum
dependencies: 0
inputs: male population
46809027
=
function: Relate
dependencies: 1
inputs: shares border with
forward
function: FilterConcept
dependencies: 2
inputs: state of India
function: SelectAmong
dependencies: 3
inputs: female population
largest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "state of India" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "West Bengal" . ?e_1 <male_population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "46809027"^^xsd:double . ?e <female_population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Bihar