Question: Which area is smaller, Odisha (the one whose population is 36706920) or Punjab (the one whose official website is http://www.punjabgovt.gov.in/)?
Choices:
Punjab
Haryana
Karnataka
Gujarat
Odisha
West Bengal
Jharkhand
Andhra Pradesh
Kerala
Himachal Pradesh
Program:
function: Find
inputs: Odisha
function: FilterNum
dependencies: 0
inputs: population
36706920
=
function: Find
inputs: Punjab
function: FilterStr
dependencies: 2
inputs: official website
http://www.punjabgovt.gov.in/
function: SelectBetween
dependencies: 1
3
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Odisha" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "36706920"^^xsd:double . } UNION { ?e <pred:name> "Punjab" . ?e <official_website> ?pv_2 . ?pv_2 <pred:value> "http://www.punjabgovt.gov.in/" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Punjab