Question: Which area is smaller, Kerala (the one whose official name is കേരളം) or Assam (the one whose population is 31205576)?
Choices: Jharkhand
Punjab
Haryana
Assam
Karnataka
Kerala
Odisha
Himachal Pradesh
West Bengal
Andhra Pradesh
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Kerala" . ?e <official_name> ?pv_1 . ?pv_1 <pred:value> "കേരളം" . } UNION { ?e <pred:name> "Assam" . ?e <population> ?pv_2 . ?pv_2 <pred:unit> "1" . ?pv_2 <pred:value> "31205576"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Kerala
function: FilterStr
dependencies: 0
inputs: official name
കേരളം
function: Find
inputs: Assam
function: FilterNum
dependencies: 2
inputs: population
31205576
=
function: SelectBetween
dependencies: 1
3
inputs: area
less
Answer: Kerala