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