Question: Which one, Selangor or England (the one that is the narrative location of The Best Exotic Marigold Hotel), has a larger area?
Choices:
Podlaskie Voivodeship
Upper Austria
Greater Poland Voivodeship
New South Wales
Tasmania
England
Lublin Voivodeship
Minas Gerais
Selangor
Punjab
Answer: England
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Selangor" .  } UNION { ?e <pred:name> "England" . ?e_1 <narrative_location> ?e . ?e_1 <pred:name> "The Best Exotic Marigold Hotel" .   } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Selangor
function: Find
inputs: The Best Exotic Marigold Hotel
function: Relate
dependencies: 1
inputs: narrative location
forward
function: Find
inputs: England
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: area
greater