Question: Are there fewer urban dwellers in Manipur, population 2855794, or in Andhra Pradesh, with ISO 3166-2 code IN-AP?
Choices:
Andhra Pradesh
Himachal Pradesh
Maharashtra
Jharkhand
Manipur
Kerala
Haryana
Punjab
Odisha
West Bengal
Answer: Manipur
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Manipur" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "2855794"^^xsd:double . } UNION { ?e <pred:name> "Andhra Pradesh" . ?e <ISO_3166-2_code> ?pv_2 . ?pv_2 <pred:value> "IN-AP" . } ?e <urban_population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Manipur
function: FilterNum
dependencies: 0
inputs: population
2855794
=
function: Find
inputs: Andhra Pradesh
function: FilterStr
dependencies: 2
inputs: ISO 3166-2 code
IN-AP
function: SelectBetween
dependencies: 1
3
inputs: urban population
less