Question: Which area has lower elevation above sea level, Texas (the one that is the narrative location of Apollo 13) or South Dakota?
Choices:
Colorado
Massachusetts
Texas
California
Hawaii
South Dakota
Florida
New Mexico
New Jersey
Illinois
Program:
function: Find
inputs: Apollo 13
function: Relate
dependencies: 0
inputs: narrative location
forward
function: Find
inputs: Texas
function: And
dependencies: 1
2
function: Find
inputs: South Dakota
function: SelectBetween
dependencies: 3
4
inputs: elevation above sea level
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Texas" . ?e_1 <narrative_location> ?e . ?e_1 <pred:name> "Apollo 13" .   } UNION { ?e <pred:name> "South Dakota" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Texas