Question: Which one is lower in relation to sea level, Knoxville or Medfold (the one in North America)?
Choices:
Compton
Lansing
Medford
Franklin
Boulder
Columbus
Oakland
Knoxville
Greenville
Waukegan
Answer: Knoxville
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Knoxville" .  } UNION { ?e <pred:name> "Medford" . ?e <continent> ?e_1 . ?e_1 <pred:name> "North America" .   } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Knoxville
function: Find
inputs: North America
function: Relate
dependencies: 1
inputs: continent
backward
function: Find
inputs: Medford
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: elevation above sea level
less