Question: Does Eureka (whose country is the United States of America) or Vallejo have the higher elevation above sea level?
Choices: Franklin
Oakland
Eureka
Waukegan
Vallejo
Boulder
Compton
Greenville
Columbus
Lansing
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Eureka" . ?e <country> ?e_1 . ?e_1 <pred:name> "United States of America" .   } UNION { ?e <pred:name> "Vallejo" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: country
backward
function: Find
inputs: Eureka
function: And
dependencies: 1
2
function: Find
inputs: Vallejo
function: SelectBetween
dependencies: 3
4
inputs: elevation above sea level
greater
Answer: Vallejo