Question: Which area is smaller, Punjab (the one whose population is 27743338) or Rajasthan (the one whose FIPS 10-4 (countries and regions) is IN24)?
Choices:
Odisha
Andhra Pradesh
Maharashtra
Rajasthan
Kerala
Himachal Pradesh
Jharkhand
West Bengal
Punjab
Haryana
Answer: Punjab
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Punjab" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "27743338"^^xsd:double . } UNION { ?e <pred:name> "Rajasthan" . ?e <FIPS_10-4_(countries_and_regions)> ?pv_2 . ?pv_2 <pred:value> "IN24" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Punjab
function: FilterNum
dependencies: 0
inputs: population
27743338
=
function: Find
inputs: Rajasthan
function: FilterStr
dependencies: 2
inputs: FIPS 10-4 (countries and regions)
IN24
function: SelectBetween
dependencies: 1
3
inputs: area
less