Question: Which area has a larger female population, Uttar Pradesh (the one whose native label is उत्तर प्रदेश) or Jharkhand (the one whose male population is 16930315)?
Choices: Uttar Pradesh
Maharashtra
West Bengal
Jharkhand
Haryana
Kerala
Karnataka
Himachal Pradesh
Odisha
Andhra Pradesh
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Uttar Pradesh" . ?e <native_label> ?pv_1 . ?pv_1 <pred:value> "उत्तर प्रदेश" . } UNION { ?e <pred:name> "Jharkhand" . ?e <male_population> ?pv_2 . ?pv_2 <pred:unit> "1" . ?pv_2 <pred:value> "16930315"^^xsd:double . } ?e <female_population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Uttar Pradesh
function: FilterStr
dependencies: 0
inputs: native label
उत्तर प्रदेश
function: Find
inputs: Jharkhand
function: FilterNum
dependencies: 2
inputs: male population
16930315
=
function: SelectBetween
dependencies: 1
3
inputs: female population
greater
Answer: Uttar Pradesh