Question: Which one has more male population between Goa (the one with the native label गोवा) and Manipur (the one with a male population is 1438586)?
Choices:
Punjab
Kerala
Odisha
Jharkhand
Manipur
Himachal Pradesh
Haryana
Goa
Karnataka
Andhra Pradesh
Answer: Manipur
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Goa" . ?e <native_label> ?pv_1 . ?pv_1 <pred:value> "गोवा" . } UNION { ?e <pred:name> "Manipur" . ?e <male_population> ?pv_2 . ?pv_2 <pred:unit> "1" . ?pv_2 <pred:value> "1438586"^^xsd:double . } ?e <male_population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Goa
function: FilterStr
dependencies: 0
inputs: native label
गोवा
function: Find
inputs: Manipur
function: FilterNum
dependencies: 2
inputs: male population
1438586
=
function: SelectBetween
dependencies: 1
3
inputs: male population
greater