Question: Which has less urban population, Rajasthan (whose inception time is 1949-03-30) or Assam (whose urban population is 4398542)?
Choices:
Assam
Rajasthan
Punjab
Maharashtra
Andhra Pradesh
Kerala
Haryana
Karnataka
Himachal Pradesh
Odisha
Program:
function: Find
inputs: Rajasthan
function: FilterDate
dependencies: 0
inputs: inception
1949-03-30
=
function: Find
inputs: Assam
function: FilterNum
dependencies: 2
inputs: urban population
4398542
=
function: SelectBetween
dependencies: 1
3
inputs: urban population
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Rajasthan" . ?e <inception> ?pv_1 . ?pv_1 <pred:date> "1949-03-30"^^xsd:date . } UNION { ?e <pred:name> "Assam" . ?e <urban_population> ?pv_2 . ?pv_2 <pred:unit> "1" . ?pv_2 <pred:value> "4398542"^^xsd:double . } ?e <urban_population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Assam