Question: Is Uttarakhand (official name) or Odisha (population 41974218) smaller by area?
Choices: West Bengal
Himachal Pradesh
Andhra Pradesh
Kerala
Maharashtra
Odisha
Karnataka
Jharkhand
Uttarakhand
Punjab
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Uttarakhand" . ?e <official_name> ?pv_1 . ?pv_1 <pred:value> "Uttarakhand" . } UNION { ?e <pred:name> "Odisha" . ?e <population> ?pv_2 . ?pv_2 <pred:unit> "1" . ?pv_2 <pred:value> "41974218"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Uttarakhand
function: FilterStr
dependencies: 0
inputs: official name
Uttarakhand
function: Find
inputs: Odisha
function: FilterNum
dependencies: 2
inputs: population
41974218
=
function: SelectBetween
dependencies: 1
3
inputs: area
less
Answer: Uttarakhand