Question: Does the lower elevation belong to Louisiana, home of Louisiana Tech University, or Arizona, where 2001: A Space Odyssey was filmed?
Choices:
New Jersey
California
Florida
Colorado
Louisiana
New Mexico
Massachusetts
Arizona
Illinois
Iowa
Program:
function: Find
inputs: Louisiana Tech University
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
forward
function: Find
inputs: Louisiana
function: And
dependencies: 1
2
function: Find
inputs: 2001: A Space Odyssey
function: Relate
dependencies: 4
inputs: filming location
forward
function: Find
inputs: Arizona
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: elevation above sea level
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Louisiana" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Louisiana Tech University" .   } UNION { ?e <pred:name> "Arizona" . ?e_2 <filming_location> ?e . ?e_2 <pred:name> "2001: A Space Odyssey" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Louisiana