Question: Which occupies a smaller area, West Bengal (Indian census area code (1991) 19) or Punjab, story setting of Veer-Zaara?
Choices:
West Bengal
Odisha
Haryana
Maharashtra
Karnataka
Jharkhand
Andhra Pradesh
Gujarat
Kerala
Punjab
Program:
function: Find
inputs: West Bengal
function: FilterStr
dependencies: 0
inputs: Indian census area code (1991)
19
function: Find
inputs: Veer-Zaara
function: Relate
dependencies: 2
inputs: narrative location
forward
function: Find
inputs: Punjab
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "West Bengal" . ?e <Indian_census_area_code_(1991)> ?pv_1 . ?pv_1 <pred:value> "19" . } UNION { ?e <pred:name> "Punjab" . ?e_1 <narrative_location> ?e . ?e_1 <pred:name> "Veer-Zaara" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Punjab