Question: Does Kerala (whose ISO 3166-2 code is IN-KL) or Odisha (whose population is 41974218) have the smaller city population?
Choices: Haryana
Jharkhand
Karnataka
Punjab
Odisha
Gujarat
Kerala
Himachal Pradesh
Maharashtra
West Bengal
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Kerala" . ?e <ISO_3166-2_code> ?pv_1 . ?pv_1 <pred:value> "IN-KL" . } UNION { ?e <pred:name> "Odisha" . ?e <population> ?pv_2 . ?pv_2 <pred:unit> "1" . ?pv_2 <pred:value> "41974218"^^xsd:double . } ?e <urban_population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Kerala
function: FilterStr
dependencies: 0
inputs: ISO 3166-2 code
IN-KL
function: Find
inputs: Odisha
function: FilterNum
dependencies: 2
inputs: population
41974218
=
function: SelectBetween
dependencies: 1
3
inputs: urban population
less
Answer: Odisha