Question: Among the states of India, bordering Maharashtra (which covers 307,713 square km), which one has the smallest number regarding male population ?
Choices:
Kerala
Himachal Pradesh
Andhra Pradesh
Haryana
Odisha
Karnataka
Goa
Maharashtra
Jharkhand
Gujarat
Program:
function: Find
inputs: Maharashtra
function: FilterNum
dependencies: 0
inputs: area
307713 square kilometre
=
function: Relate
dependencies: 1
inputs: shares border with
backward
function: FilterConcept
dependencies: 2
inputs: state of India
function: SelectAmong
dependencies: 3
inputs: male population
smallest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "state of India" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "Maharashtra" . ?e_1 <area> ?pv_1 . ?pv_1 <pred:unit> "square kilometre" . ?pv_1 <pred:value> "307713"^^xsd:double . ?e <male_population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Goa