Question: Is the elevation lower in Vermont or in California, where Indiana Jones and the Kingdom of the Crystal Skull was shot on film?
Choices:
California
Hawaii
New Mexico
New Jersey
Florida
Kansas
Vermont
Illinois
Massachusetts
Colorado
Program:
function: Find
inputs: Vermont
function: Find
inputs: Indiana Jones and the Kingdom of the Crystal Skull
function: Relate
dependencies: 1
inputs: filming location
forward
function: Find
inputs: California
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: elevation above sea level
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Vermont" .  } UNION { ?e <pred:name> "California" . ?e_1 <filming_location> ?e . ?e_1 <pred:name> "Indiana Jones and the Kingdom of the Crystal Skull" .   } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Vermont