Question: Which one has a lower elevation (above sea level), Miami (the one that is the narrative location of The Birdcage) or Plano?
Choices:
Boulder
Oakland
Lansing
Waukegan
Compton
Greenville
Columbus
Miami
Plano
New Haven
Answer: Miami
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Miami" . ?e_1 <narrative_location> ?e . ?e_1 <pred:name> "The Birdcage" .   } UNION { ?e <pred:name> "Plano" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: The Birdcage
function: Relate
dependencies: 0
inputs: narrative location
forward
function: Find
inputs: Miami
function: And
dependencies: 1
2
function: Find
inputs: Plano
function: SelectBetween
dependencies: 3
4
inputs: elevation above sea level
less